[Libav-user] AVCHD m2ts magic number?

Gonzalo Garramuño ggarra13 at gmail.com
Sat May 27 00:32:37 EEST 2017


> El 26/05/17 a las 18:14, cyril apan escribió:
>> 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.

Thanks, however the file from another thread (ffmpeg-user) does not 
follow that sync byte.

https://drive.google.com/file/d/0BxP5-S1t9VEEcUtGa1d2U3VuZjQ/view?usp=sharing

-- 
Gonzalo Garramuño

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170526/deba87e7/attachment.html>


More information about the Libav-user mailing list