[Matroska-devel] AVC/H.264 bitstream issue

Moritz Bunkus moritz at bunkus.org
Tue Dec 3 13:31:56 CET 2013


Hey,

you're probably trying to read a file that uses header removal
compression/header stripping. If that is the case then the track
headers contain a number of bytes that you have to prepend those bytes
to each and every frame BEFORE you start decoding it.

See the structure around ContentEncodings around
http://www.matroska.org/technical/specs/index.html

Kind regards,
mosu


More information about the Matroska-devel mailing list