[Ffmpeg-devel] [PATCH] fix mid-stream resolution changes

Heikki Lindholm holindho
Sun Apr 1 11:59:12 CEST 2007

Diego Biurrun kirjoitti:
> On Sun, Apr 01, 2007 at 11:34:20AM +0300, Heikki Lindholm wrote:
>>Michael Niedermayer kirjoitti:
>>>you will have to provide a sample video and precisse and complete 
>>>instructions on how to reproduce the original problem ...
>>I don't have a suitable web space for that
> ftp://upload.mplayerhq.hu/MPlayer/incoming/
> Just tell us the filename.

Ok, I've uploaded three files:
reschange-704720.m2v, the test stream;
avcodec_testcase.cpp, my test case program;
avcodec_testcase.out, output I get with the test case program.

I configured the latest SVN ffmpeg with
   ./configure --prefix=/tmp/FFM --enable-shared
and built the test case with
   g++ -I/tmp/FFM/include/ffmpeg -L/tmp/FFM/lib -D__STDC_CONSTANT_MACROS 
-o avcodec_testcase avcodec_testcase.cpp -lavformat -lavcodec
and ran the test case
   ./avcodec_testcase reschange-704720.m2v

The sample clip and the test case can also be used to observe the 
persisting pan&scan problem I reported.

The test case presents the way I use ffmpeg, so, if it has problems that 
actually cause the behaviour, I'd be happy to be corrected.

-- Heikki Lindholm

More information about the ffmpeg-devel mailing list