mux.js
mux.js copied to clipboard
fix: added support for 64 bit atom sizes
Some MP4 files use a 64 bit length which and the current implementation takes the 64 bit sentinel (size=1) to mean "maximum size". It seems that some devices (I think this includes iPhone) place an mdat with a 64 bit length (even though not needed) head of the moov. This change allows the parser to find the moov.