[Libav-user] AVCHD m2ts magic number?
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...
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user