[FFmpeg-trac] #658(avcodec:open): auto-select yuv420p for RGB inputs with libx264
FFmpeg
trac at avcodec.org
Tue Nov 15 22:33:20 CET 2011
#658: auto-select yuv420p for RGB inputs with libx264
-------------------------------------+-----------------------------------
Reporter: llogan | Owner:
Type: enhancement | Status: open
Priority: important | Component: avcodec
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by llogan):
Does a private option make more sense than just setting an appropriate
pix_fmt to preserve RGB? With x264 I believe "--output-csp rgb" keeps RGB:
{{{
$ x264 rgb24.png --output-csp rgb -o output.h264
Using network protocols without global network initialization. Please use
avformat_network_init(), this will become mandatory later.
Using network protocols without global network initialization. Please use
avformat_network_init(), this will become mandatory later.
lavf [info]: 1000x1000p 0:1 @ 25/1 fps (vfr)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle
SSE4.2
x264 [info]: profile High 4:4:4 Predictive, level 3.2, 4:4:4 8-bit
x264 [info]: frame I:1 Avg QP:26.66 size: 11440
x264 [info]: mb I I16..4: 84.3% 10.3% 5.4%
x264 [info]: 8x8 transform intra:10.3%
x264 [info]: coded y,u,v intra: 2.8% 2.8% 4.1%
x264 [info]: i16 v,h,dc,p: 80% 20% 0% 0%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 5% 5% 90% 0% 0% 0% 0%
0% 0%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 44% 26% 19% 1% 2% 2% 2%
2% 2%
x264 [info]: kb/s:2288.00
encoded 1 frames, 20.00 fps, 2288.00 kb/s
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/658#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list