[Libav-user] AVCHD m2ts magic number?
cyril apan
cyrilapan at yahoo.fr
Sat May 27 00:55:47 EEST 2017
As said before, m2ts files are raw mp4 streams. In your case, the stream has probably been started to be dumped in the middle of the related broadcast and the 4 first bytes are the end of a frame, then the 5th byte takes the typical value of a sync byte (0x47), which gets repeated further down the stream.
You can't really use the simple magical number method to recognise those streams...
Cheers,
Cyril APAN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170526/c16927eb/attachment.html>
More information about the Libav-user
mailing list