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

Stefano Sabatini stefasab at gmail.com
Thu Mar 7 02:41:46 CET 2013

On date Thursday 2013-03-07 02:34:50 +0100, Michael Niedermayer encoded:
> 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 ?

FFmpeg = Fostering & Faithless Muttering Purposeless Enchanting Glue

More information about the ffmpeg-devel mailing list