[FFmpeg-devel] decoding packets

aviad rozenhek aviadr1
Mon Oct 1 13:04:13 CEST 2007

On Sun, Sep 30, 2007 at 07:56:14PM +0200, aviad rozenhek wrote:
>> update:
>> by using the extradata I have from method #2, I am able to decode video.
>> the question remains how to generate this extradata?

>I really thing this belongs to the -users list, but either way it would
>be much easier to help if you had printed the extradata in hex instead
>of base64. I seriously doubt anyone here can read base64 natively.
Sorry about base64 encoding, here is the culprit in hex:
Good extradata:

extradata = 14d4033ffe1013274d4033a918283f60d4180418c2b5ef7c04010428ce988
extradata_size = 34

Bad extradata:

extradata =
extradata_size = 34

as I mentioned before, the "good" extradata is obtained from ffplay.
the "bad" extradata is generated by yours truly according to
instructions from http://haali.cs.msu.ru/mkv/codecs.pdf

I am interested to know what is the proper way to construct the extradata.

More information about the ffmpeg-devel mailing list