[FFmpeg-devel] FFv1.3: Problem with SGI rgb48e -> FFv1 rgb0

Peter B. pb at das-werkstatt.com
Tue Oct 16 22:14:05 CEST 2012


I'm running FFv1.3 tests on the SGI image files (RGB48) from the SVT
collection [1], and as FFv1 doesn't support rgb48be at the moment, I've
tried converting it to e.g. rgb0.

When converting the SGI image sequence from SVT to FFv1.3, only the left
half of the image is actually displayed when watching the video using
ffplay. The size of the shown video depends on how many slices are used.

When encoding the SGI image sequence to FFv1.1, the resulting video is fine.

The broken FFv1.3 file was created as follows:

//----------------------------
$ ffmpeg -f image2 -start_number 03556 -i
1_CrowdRun_576i25_CgrLevels_SINC_FILTER_SVTdec05_/%05d.sgi -an -vcodec
ffv1 -strict experimental -level 3 -slices 6 -slicecrc 1 -pix_fmt bgr0
output-ffv1.avi
//----------------------------
ffmpeg version N-45602-g24d6af0 Copyright (c) 2000-2012 the FFmpeg
developers
  built on Oct 16 2012 21:47:46 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, image2, from
'1_CrowdRun_576i25_CgrLevels_SINC_FILTER_SVTdec05_/%05d.sgi':
  Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: sgi, rgb48be, 720x576, 25 fps, 25 tbr, 25 tbn,
25 tbc
Output #0, avi, to 'output-ffv1.avi':
  Metadata:
    ISFT            : Lavf54.32.101
    Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), bgr0, 720x576, q=2-31,
200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (sgi -> ffv1)
Press [q] to stop, [?] for help
frame=  250 fps= 52 q=0.0 Lsize=  139034kB time=00:00:10.00
bitrate=113896.4kbits/s   
video:139022kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.008297%
//----------------------------

I've also created framemd5 files for the SGI sequence (converted to
bgr0) and the resulting FFv1.3 file. They mismatch too, so I think it's
not ffplay's fault.

Regards,
Pb

== References:
[1]
ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_MultiFormat/576i25_CgrLevels_SINC_FILTER_SVTdec05_/1_CrowdRun_576i25_CgrLevels_SINC_FILTER_SVTdec05_/


More information about the ffmpeg-devel mailing list