[FFmpeg-devel] make test failure

Frans de Boer frans
Thu Jun 4 22:25:49 CEST 2009



make test |grep a-dv.dv
./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
+accurate_rnd+bitexact -dct int -f image2 -vcodec pgmyuv
-i ./tests/vsynth1/%02d.pgm -s pal -an ././tests/data/a-dv.dv
./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
+accurate_rnd+bitexact -i ././tests/data/a-dv.dv -f rawvideo -s
cif ././tests/data/dv.vsynth.out.yuv
./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
+accurate_rnd+bitexact -dct int -f image2 -vcodec pgmyuv
-i ./tests/vsynth2/%02d.pgm -s pal -an ././tests/data/a-dv.dv
./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
+accurate_rnd+bitexact -i ././tests/data/a-dv.dv -f rawvideo -s
cif ././tests/data/dv.rotozoom.out.yuv
 9bfab037b2779eef4b95773788bbe369 *./tests/data/a-dv.dv
make: *** [codectest] Error 1

The first line generates the md5sum as expected. There is, however, a
second generation of the file 'a-dv.dv' which produces - of course - a
different md5sum.

---First generation ------------
 ./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
+accurate_rnd+bitexact -dct int -f image2 -vcodec pgmyuv
-i ./tests/vsynth1/%02d.pgm -s pal -an ././tests/data/a-dv.dv
FFmpeg version git-ca3dbac, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--enable-static --enable-shared --enable-gpl --enable-postproc
--enable-avfilter --enable-avfilter-lavf --enable-pthreads
--enable-x11grab --enable-libdc1394 --enable-libfaad --enable-libmp3lame
--enable-libschroedinger --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-libspeex --cpu=athlon64
--disable-ipv6 --enable-gray --disable-debug
--extra-cflags='-march=native -mtune=native -fPIC'
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.30. 2 / 52.30. 1
  libavformat   52.34. 0 / 52.34. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jun  4 2009 21:52:55, gcc: 4.3.1 20080507 (prerelease)
[gcc-4_3-branch revision 135036]
[NULL @ 0x61c4b0]Unknown option 'sws_flags'
Input #0, image2, from './tests/vsynth1/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: pgmyuv, yuv420p, 352x288, 25 tbr, 25 tbn, 25 tbc
Output #0, dv, to '././tests/data/a-dv.dv':
    Stream #0.0: Video: dvvideo, yuv420p, 720x576, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   50 fps= 49 q=0.0 Lsize=    7031kB time=2.00
bitrate=28800.0kbits/s
video:7031kB audio:0kB global headers:0kB muxing overhead 0.000000%

md5sum ./tests/data/a-dv.dv
9bfab037b2779eef4b95773788bbe369  ./tests/data/a-dv.dv <------------as
noted in the ref file.

---second generation-----------
./ffmpeg_g -y -flags +bitexact -dct fastint -idct simple -sws_flags
+accurate_rnd+bitexact -dct int -f image2 -vcodec pgmyuv
-i ./tests/vsynth2/%02d.pgm -s pal -an ././tests/data/a-dv.dv
FFmpeg version git-ca3dbac, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--enable-static --enable-shared --enable-gpl --enable-postproc
--enable-avfilter --enable-avfilter-lavf --enable-pthreads
--enable-x11grab --enable-libdc1394 --enable-libfaad --enable-libmp3lame
--enable-libschroedinger --enable-libtheora --enable-libvorbis
--enable-libx264 --enable-libxvid --enable-libspeex --cpu=athlon64
--disable-ipv6 --enable-gray --disable-debug
--extra-cflags='-march=native -mtune=native -fPIC'
  libavutil     50. 3. 0 / 50. 3. 0
  libavcodec    52.30. 2 / 52.30. 1
  libavformat   52.34. 0 / 52.34. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    0. 5. 0 /  0. 5. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Jun  4 2009 21:52:55, gcc: 4.3.1 20080507 (prerelease)
[gcc-4_3-branch revision 135036]
[NULL @ 0x61c4b0]Unknown option 'sws_flags'
Input #0, image2, from './tests/vsynth2/%02d.pgm':
  Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: pgmyuv, yuv420p, 352x288, 25 tbr, 25 tbn, 25 tbc
Output #0, dv, to '././tests/data/a-dv.dv':
    Stream #0.0: Video: dvvideo, yuv420p, 720x576, q=2-31, 200 kb/s, 90k
tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame=   50 fps=  0 q=0.0 Lsize=    7031kB time=2.00
bitrate=28800.0kbits/s
video:7031kB audio:0kB global headers:0kB muxing overhead 0.000000%

md5sum ./tests/data/a-dv.dv
02c85b9bebb23f147ef598da7bcbf736  ./tests/data/a-dv.dv <------- file
used in the test produces wrong md5 sum

It seems that after the second generation the file 'vsynth.regression'
is not updated.

Ok, this is the info so far, I hope someone can make the dots connected.

Regards, Frans.





More information about the ffmpeg-devel mailing list