[FFmpeg-devel] [PATCH] ffprobe: Stash and use width and height before opening the codec

Michael Niedermayer michaelni at gmx.at
Thu Mar 7 02:34:50 CET 2013

On Fri, Mar 01, 2013 at 10:41:34AM -0500, Derek Buitenhuis wrote:
> Some codecs, such as VP6, will only have their correct width and
> height set if a few frames have been decoded. This is accomplished
> when we call avformat_find_stream_info(). However, we call
> avcodec_open2() after this, which can possibly reset the width
> and height in the decoder's context to an erroneous value.

Do you have a sample file the shows this behavior ?

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130307/31373752/attachment.asc>

More information about the ffmpeg-devel mailing list