[Matroska-devel] Question, avc units don't start with 0x000001 in matroska

Steve Lhomme slhomme at matroska.org
Sun Oct 16 14:59:22 CEST 2011


The codec used is not AVC/H264. It's either Theora or "DivX".

On Fri, Oct 14, 2011 at 8:31 PM, Makoto Oshita <12makoto28 at gmail.com> wrote:
> Hi,
>
> I'm trying to decode test5.mkv in the test suite (
> http://www.matroska.org/downloads/test_w1.html ).
> However, the decoder which I'm using doesn't decode any pictures,
> without any error, even how many samples I input into it.
> I took a look into the file and realized its each sample starts with
> something like 0x00 0x00 0x51 0xd0, my guess was each AVC sample
> should start with 0x00 0x00 0x00 0x01.
> I compared other files, .mkv and .mp4, both files comes from the same
> content, I used a software called superC to make them, and checked
> couple samples and confirmed those has the same samples except for
> 4byte at the beggining of each sample as I mentioned above.
> Those .mkvs don't have header stripping I believe.
>
> Am I missing something on leading bytes of avc samples? What does
> those bytes mean more than delimiters?
>
> I'd appreciate if you could give some time for me, thanks!
>
> Makoto
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
> Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
>



-- 
Steve Lhomme
Matroska association Chairman



More information about the Matroska-devel mailing list