Https://github.com/332065255/flv2fmp4
code Base
Soft coded FLV to MP4 container (i)
Soft coded FLV to MP4 container (ii) FLV tag Dismantling
Soft coded FLV to MP4 container (iii) FLV METADATA tag parsing
Soft coded FLV to MP4 container (iv) Fmp4 Overview and basic explanation
Soft coded FLV to MP4 container (v) Fmp4 Ftyp box and Moov>mvhd Box detailed
Soft coded FLV to MP4 container (vi) Fmp4 MOOV>TRAK>TKHD box and MOOV>TRAK>MDIA>MDHD box explain
Soft coded FLV to MP4 container (vii) Fmp4 MDIA>HDLR box and mdia>minf> smhd and Dinf box explain
Soft coded FLV to MP4 container (eight) Fmp4 mdia>stbl>stsd box explain
Soft coded FLV to MP4 container (ix) fmp4 stts stsc stsz Stco Box explain
Soft coded FLV to MP4 container (10) Fmp4 Mvex Box explain
Soft coded FLV to MP4 container (11) Fmp4 moof Box detailed
Soft coded FLV to MP4 container (12) Fmp4 Mdat Box detailed
Soft coded FLV to MP4 container (13) Fmp4 The FLV data necessary to generate Ftyp and Moov
-Ftyp-
moov
-mvhd
-Trak
-TKHD-
Mdia-MDHD-
hdlr
-minf
-SMHD
-dinf
-dref
-url
-stbl
- stsd
-mp4a (AVC1)
-Esds (AvcC)
-
Stts-STSC- Stsz
-Stco
-Mvex
-trex
-moof
-MFHD
-Traf
-tfhd
--TFDT-SDTP- Trun
-Mdat
First corresponds to the position of the title box in the Fmp4 container mdat box
Box Type: ' Mdat '
Container:file
Mandatory:no
Quantity:any number
Defined
Aligned (8) class Mediadatabox extends Box (' Mdat ') {bit (8) data[];
Data is the contained media data