[Libav-user] AVCHD m2ts magic number?

cyril apan cyrilapan at yahoo.fr
Sat May 27 00:14:41 EEST 2017


There isn't any real magic number for m2ts files. Those files are raw MP4 Part 12 streams without headers. As such streams usually start with a sync byte (value of a sync byte is always 0x47),  you can consider this to be the magic number you were after.
Cheers,
Cyril APAN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170526/92d52513/attachment.html>


More information about the Libav-user mailing list