codec specific data ( similar to ESDS atom in MPEG4 ) for WebM / Matroska

592 views
Skip to first unread message

nimesh.c...@accenture.com

unread,
Jul 19, 2010, 10:39:57 AM7/19/10
to webm-d...@webmproject.org

I’m trying to integrate Matroska / WebM support in Android Froyo. I need to initialize “decoder specific information”,  similar to the one found in ESDS atom in mpeg4 file format . Where do I get that chunk of data in in an MKV file ? is it in

CodecPrivate

3

[63][A2]

-

-

-

-

b

*

*

*

Private data only known to the codec.

?

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

Philip Jägenstedt

unread,
Jul 19, 2010, 10:43:27 AM7/19/10
to webm-d...@webmproject.org

VP8 has no private data, everything you need to set up the encoder is in
the first keyframe, at least that's the answer I got when I asked the same
question some time ago.

--
Philip Jägenstedt
Core Developer
Opera Software

nimesh.c...@accenture.com

unread,
Jul 19, 2010, 10:49:00 AM7/19/10
to webm-d...@webmproject.org
Thanks Philip... this email might look out of place but I'm trying to integrate Matroska support ( and hence WebM also ) in Android FroYo , which may contain an m4v elementary stream... any idea?

--
You received this message because you are subscribed to the Google Groups "WebM Discussion" group.
To post to this group, send email to webm-d...@webmproject.org.
To unsubscribe from this group, send email to webm-discuss...@webmproject.org.
For more options, visit this group at http://groups.google.com/a/webmproject.org/group/webm-discuss/?hl=en.

Steve Lhomme

unread,
Jul 19, 2010, 11:03:30 AM7/19/10
to webm-d...@webmproject.org
In fact Vorbis has a huge CodecPrivate that is needed for the decoder initialization. So you indeed need to use these data from CodecPrivate for Vorbis.

You can find more information on codecs here [1] and especially in Haali's PDF [2]

nimesh.c...@accenture.com

unread,
Jul 21, 2010, 8:56:04 AM7/21/10
to webm-d...@webmproject.org

So does CodecPrivate contain the ES_Descriptor as mentioned in ISO/IEC 14496-1 ?

 


Steve Lhomme

unread,
Jul 21, 2010, 11:34:50 AM7/21/10
to webm-d...@webmproject.org
I don't have that ISO document, so I can't tell you. I doubt Vorbis is covered in any ISO specs though.

nimesh.c...@accenture.com

unread,
Jul 22, 2010, 10:19:07 AM7/22/10
to webm-d...@webmproject.org

Yup ur right… there’s a bug in Android multimedia Framework which assumes presence of an Elementary stream descriptor while initializing the m4v decoder… I’ll report that bug..

Reply all
Reply to author
Forward
0 new messages