[FFmpeg-user] RGB uncompressed: Which format to use?

Peter B. pb at das-werkstatt.com
Wed Feb 13 00:56:33 CET 2013


Hello,

I'm trying to convert the SGI image sequences from SVT (from VQEG's FTP
[1]) to video files and convert them to different bits-per-pixel RGB
pix_fmts (Source is rgb48be).

Is there any uncompressed codec and container capable of containing the
following pix_fmts?
PIX_FMTS_RGB8="rgb0 rgb24 bgr0 bgr24"
PIX_FMTS_RGB16="bgr48le bgr48be rgb48le rgb48be"

I've tried using vcodec=rawvideo and AVI as container (*), but with
rgb48be trying to ffplay the resulting file displays the following error
message:

//------------------------------
$ ffplay_git test.avi
//------------------------------
ffplay version N-49843-g1ecce26 Copyright (c) 2003-2013 the FFmpeg
developers
  built on Feb 12 2013 20:44:43 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      52. 17.101 / 52. 17.101
  libavcodec     54. 91.103 / 54. 91.103
  libavformat    54. 63.100 / 54. 63.100
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 37.101 /  3. 37.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[rawvideo @ 0x1b74b20] Pixel format was not specified and cannot be detected
    Last message repeated 1 times
Input #0, avi, from 'test.avi':
  Metadata:
    encoder         : Lavf54.63.100
  Duration: 00:00:20.00, start: 0.000000, bitrate: 1105926 kb/s
    Stream #0:0: Video: rawvideo, 1280x720, 25 tbr, 25 tbn, 25 tbc
[rawvideo @ 0x1b74b20] Pixel format was not specified and cannot be detected
test.avi: could not open codecs
-9223372036854774784.00 A-V:  0.000 fd=   0 aq=    0KB vq=    0KB sq=   
0B f=0/0
//------------------------------

(*) The file was encoded using the following commandline:
$ ffmpeg_git -f image2 -start_number 7111 -i
1_CrowdRun_720p50_CgrLevels_SINC_FILTER_SVTdec05_/%05d.sgi -an -vcodec
rawvideo -f avi test.avi


Thanks for any hints,
Pb


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


More information about the ffmpeg-user mailing list