News for hackers. Stuff that matters.
Re:Writing an MP4 Muxer for Fun and Profit by der_rod on Thursday July 18, 2024 @09:28PM (#41001351)
The mdat box does not have a defined structure, and the specification actually states that attempting to define a structure is almost certainly a mistake. In order to find the data the player is looking for it has to read the moov box, which contains the byte offsets and sizes of "chunks" of data. Since there is no requirement for chunks to be contiguous, or even in the same file, we can simply skip over the fragmentation-related boxes within the data box.

There are no comments on this comment yet.