[FFmpeg-devel] FFv1.3: framemd5 checksum mismatch on pix_fmt "gray"

Peter B. pb at das-werkstatt.com
Sat Oct 20 12:16:57 CEST 2012


I've ran the "SD-and-below" tests again, and now the files with "gray"
pix_fmt fail the framemd5 checksum tests on all "*_mono.y4m" input files
from Derf's collection.

For example, using "foreman_qcif_mono.y4m" [1] as input.
Here is the commandline and uncut console output:

//==============================
$ ffmpeg -i
"/media/verbatim_vf/DVA-Profession/Testvideos/xiph-derf/bis_SD/foreman_qcif_mono.y4m"
-an -vcodec ffv1 -level 3 -context 1 -coder 1 -g 1 -threads 8 -strict
experimental -slices 4 -slicecrc 0
"/home/pb/Videos/ffv1-avconv-SD/video/foreman_qcif_mono/foreman_qcif_mono-3l_1cn_1c_001g_08t_04s_0crc.avi"
//-----------------------------
ffmpeg version N-45612-g4e2e3d9 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Oct 17 2012 04:56:02 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 66.100 / 54. 66.100
  libavformat    54. 32.101 / 54. 32.101
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[yuv4mpegpipe @ 0x1aa7240] max_analyze_duration 5000000 reached at 5005000
[yuv4mpegpipe @ 0x1aa7240] Estimating duration from bitrate, this may be
inaccurate
Input #0, yuv4mpegpipe, from
'/media/verbatim_vf/DVA-Profession/Testvideos/xiph-derf/bis_SD/foreman_qcif_mono.y4m':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 176x144, SAR
128:117 DAR 1408:1053, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Output #0, avi, to
'/home/pb/Videos/ffv1-avconv-SD/video/foreman_qcif_mono/foreman_qcif_mono-3l_1cn_1c_001g_08t_04s_0crc.avi':
  Metadata:
    ISFT            : Lavf54.32.101
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), gray, 176x144 [SAR
128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> ffv1)
Press [q] to stop, [?] for help
frame=  300 fps=0.0 q=0.0 Lsize=    4266kB time=00:00:10.01
bitrate=3491.6kbits/s    ^M
video:4253kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.301026%
Execution return value: 0
//-----------------------------


Checksums were created like this:

*) ORIGINAL y4m:
//==============================
./ffmpeg -i
"/media/verbatim_vf/DVA-Profession/Testvideos/xiph-derf/bis_SD/foreman_qcif_mono.y4m"
-an -f framemd5
/home/pb/Videos/ffv1-avconv-SD/checksum/foreman_qcif_mono.y4m.framemd5
//-----------------------------

ffmpeg version N-45612-g4e2e3d9 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Oct 17 2012 04:56:02 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 66.100 / 54. 66.100
  libavformat    54. 32.101 / 54. 32.101
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
[yuv4mpegpipe @ 0x2c2a240] max_analyze_duration 5000000 reached at 5005000
[yuv4mpegpipe @ 0x2c2a240] Estimating duration from bitrate, this may be
inaccurate
Input #0, yuv4mpegpipe, from
'/media/verbatim_vf/DVA-Profession/Testvideos/xiph-derf/bis_SD/foreman_qcif_mono.y4m':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 176x144, SAR
128:117 DAR 1408:1053, 29.97 fps, 29.97 tbr, 29.97 tbn, 29.97 tbc
Output #0, framemd5, to
'/home/pb/Videos/ffv1-avconv-SD/checksum/foreman_qcif_mono.y4m.framemd5':
  Metadata:
    encoder         : Lavf54.32.101
    Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 176x144 [SAR
128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo -> rawvideo)
Press [q] to stop, [?] for help
frame=  300 fps=0.0 q=0.0 Lsize=      23kB time=00:00:10.01 bitrate= 
19.2kbits/s    ^M
video:7425kB audio:0kB subtitle:0 global header
//-----------------------------

*) Transcoded FFV1.3:
//==============================
./ffmpeg -i
"/home/pb/Videos/ffv1-avconv-SD/video/foreman_qcif_mono/foreman_qcif_mono-3l_1cn_1c_001g_08t_04s_0crc.avi"
-an -f framemd5
/home/pb/Videos/ffv1-avconv-SD/video/foreman_qcif_mono/foreman_qcif_mono-3l_1cn_1c_001g_08t_04s_0crc.avi.framemd5
//-----------------------------
ffmpeg version N-45612-g4e2e3d9 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Oct 17 2012 04:56:02 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
  configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
  libavutil      51. 76.100 / 51. 76.100
  libavcodec     54. 66.100 / 54. 66.100
  libavformat    54. 32.101 / 54. 32.101
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 19.103 /  3. 19.103
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 16.100 /  0. 16.100
  libpostproc    52.  1.100 / 52.  1.100
Input #0, avi, from
'/home/pb/Videos/ffv1-avconv-SD/video/foreman_qcif_mono/foreman_qcif_mono-3l_1cn_1c_001g_08t_04s_0crc.avi':
  Metadata:
    encoder         : Lavf54.32.101
  Duration: 00:00:10.01, start: 0.000000, bitrate: 3491 kb/s
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), gray, 176x144, SAR
128:117 DAR 1408:1053, 29.97 tbr, 29.97 tbn, 29.97 tbc
Output #0, framemd5, to
'/home/pb/Videos/ffv1-avconv-SD/video/foreman_qcif_mono/foreman_qcif_mono-3l_1cn_1c_001g_08t_04s_0crc.avi.framemd5':
  Metadata:
    encoder         : Lavf54.32.101
    Stream #0:0: Video: rawvideo (Y800 / 0x30303859), gray, 176x144 [SAR
128:117 DAR 1408:1053], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (ffv1 -> rawvideo)
Press [q] to stop, [?] for help
frame=  300 fps=0.0 q=0.0 Lsize=      23kB time=00:00:10.01 bitrate= 
19.2kbits/s    ^M
video:7425kB audio:0kB subtitle:0 global headers:0kB muxing overhead
-99.684107%
Execution return value: 0
//-----------------------------


Regards,
Pb


== References:
[1] http://media.xiph.org/video/derf/y4m/foreman_qcif_mono.y4m


More information about the ffmpeg-devel mailing list