[FFmpeg-trac] #4882(avcodec:new): support rgb48le in ffv1

FFmpeg trac at avcodec.org
Sat Sep 26 16:17:30 CEST 2015


#4882: support rgb48le in ffv1
---------------------------------------+---------------------------------
               Reporter:  dericed      |                  Owner:
                   Type:  enhancement  |                 Status:  new
               Priority:  wish         |              Component:  avcodec
                Version:  git-master   |               Keywords:  ffv1
             Blocked By:               |               Blocking:
Reproduced by developer:  0            |  Analyzed by developer:  0
---------------------------------------+---------------------------------
 Summary of the bug:

 As ffv1 is used for some rgb content from film scans and other high
 resolution images I propose adding support for rgb48le. Current
 yuv444p16le is selected.

 How to reproduce:
 {{{
 ffmpeg -f lavfi -i testsrc -pix_fmt rgb48le -vframes 1 -c:v ffv1 -level 3
 rgb_test.mkv
 ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
   built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
 3.6.0svn)
   configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8 --enable-shared
 --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
 opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc
 --enable-libxvid --enable-libfreetype --enable-libfaac --enable-libass
 --enable-ffplay --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-
 cflags='-I/usr/local/Cellar/openjpeg/1.5.2_1/include/openjpeg-1.5 '
 --enable-nonfree --enable-vda
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 40.101 /  5. 40.101
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, lavfi, from 'testsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 Incompatible pixel format 'rgb48le' for codec 'ffv1', auto-selecting
 format 'yuv444p16le'
 [ffv1 @ 0x7fa082000600] bits_per_raw_sample > 8, forcing coder 1
 Output #0, matroska, to 'rgb_test.mkv':
   Metadata:
     encoder         : Lavf56.40.101
     Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv444p16le, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.60.100 ffv1
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
 Press [q] to stop, [?] for help
 frame=    1 fps=0.0 q=-0.0 Lsize=       7kB time=00:00:00.04
 bitrate=1386.4kbits/s
 video:6kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 15.919732%
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4882>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list