[FFmpeg-devel] MXF D10 regression tests

Baptiste Coudurier baptiste.coudurier
Mon Mar 16 18:17:02 CET 2009


On 3/16/2009 7:42 AM, Michael Niedermayer wrote:
> On Mon, Mar 16, 2009 at 12:50:33PM +0100, Reimar D?ffinger wrote:
>> Hello,
>> As some of you may have noticed, regression tests are broken on PPC,
>> PPC64 and ARM, curiously in the same way on all of these, e.g.:
>> --- /misc/fate/beagle/source/tests/libav.regression.ref	2009-03-15 00:19:14.593308713 +0000
>> +++ tests/data/lavf.regression	2009-03-16 10:32:47.398450178 +0000
>> @@ -12,9 +12,9 @@
>>  259a87c8d22aab76665047ecdbfa9267 *./tests/data/b-libav.mxf
>>  535097 ./tests/data/b-libav.mxf
>>  ./tests/data/b-libav.mxf CRC=0xd7ff387d
>> -0a7cc51de3da754ce36dffeeda290c45 *./tests/data/b-libav.mxf_d10
>> +e3f2a399f03916512c92792ff58fc83b *./tests/data/b-libav.mxf_d10
>>  5330989 ./tests/data/b-libav.mxf_d10
>> -./tests/data/b-libav.mxf_d10 CRC=0xd241c8b6
>> +./tests/data/b-libav.mxf_d10 CRC=0x9664b562
>>  c0cc2ae4df6a8b3df84986929a393116 *./tests/data/b-libav.ts
>>  471316 ./tests/data/b-libav.ts
>>  ./tests/data/b-libav.ts CRC=0xcc4948e1
>>
>> For some reason the MPEG-2 encoder encodes differently on those
>> platforms (or it gets different data).
>> --disable-mmx did not change the x86 result, I even set ARCH_X86 etc.
>> all to 0 to get a pure C version, nor could I see a change when using
>> --disable-altivec on PPC, nor did valgrind show any issues.
>> Keep in mind though that I often mess something up when doing that kind
>> of testing.
>> Since all that is a complete mystery to me I leave it to someone else to
>> fix it, and give you what I have so far.
>>
>> The file is generated by this command:
>> ./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
>> +accurate_rnd+bitexact -t 1 -qscale 10 -f image2 -vcodec pgmyuv -i
>> ./tests/vsynth1/%02d.pgm -f s16le -i ./tests/asynth1.sw -ar 48000 -ac 2
>> -r 25 -s 720x576 -padtop 32 -vcodec mpeg2video -intra -flags
>> +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -qscale 1 -ps 1 -qmin
>> 1 -rc_max_vbv_use 1 -rc_min_vbv_use 1 -pix_fmt yuv422p -minrate 30000k
>> -maxrate 30000k -b 30000k -bufsize 1200000 -top 1 -rc_init_occupancy
>> 1200000 -qmax 12 -f mxf_d10 ././tests/data/b-libav.mxf_d10
> 
> thats a scary mix of flags
> low_delay + interlacing

This is intended.

> qscale 10 and then qscale 1

This is not really intended, qscale 1 should have precedence, qscale 10
is from default params in regression tests.

[...]

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
checking for life_signs in -lkenny... no
FFmpeg maintainer                                  http://www.ffmpeg.org




More information about the ffmpeg-devel mailing list