[FFmpeg-trac] #3409(undetermined:new): Impossible to transcode full range RGB videos with libx264, and keep full range + proper colors
FFmpeg
trac at avcodec.org
Sat Feb 22 16:17:31 CET 2014
#3409: Impossible to transcode full range RGB videos with libx264, and keep full
range + proper colors
-------------------------------------+-------------------------------------
Reporter: mzso | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by mzso):
Something like this? (Didn't think it shows anything useful)
E:\Videó Felvételek>ffmpeg -i "E:\Videó Felvételek\input.avi" -acodec
copy -vcodec libx264 -preset ultrafast -crf 20 -color_range 2 -pix_fmt
yuv444p out.mkv
ffmpeg version N-60813-g44b22bb Copyright (c) 2000-2014 the FFmpeg
developers
built on Feb 22 2014 03:11:45 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-
libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger --enable-
libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-
libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-zlib
libavutil 52. 65.100 / 52. 65.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
Input #0, avi, from 'E:\Vide├│ Felv├ętelek\input.avi':
Duration: 00:00:27.27, start: 0.000000, bitrate: 405890 kb/s
Stream #0:0: Video: utvideo (ULRG / 0x47524C55), rgb24, 1920x1200, 30
fps, 30 tbr, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 7.1,
s16, 5644 kb/s
[libx264 @ 029370e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
SlowShuffle
[libx264 @ 029370e0] profile High 4:4:4 Predictive, level 5.0, 4:4:4 8-bit
[libx264 @ 029370e0] 264 - core 142 r2389 956c8d8 - H.264/MPEG-4 AVC codec
- Copyleft 2003-2014 - http://www.videolan.org/x264.html - options:
cabac=0 ref=1 deb
lock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0
me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_
offset=6 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0
keyint=250 keyint_m
in=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=20.0 qcomp=0.60
qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, matroska, to 'out.mkv':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv444p(pc),
1920x1200, q=-1--1, 1k tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, 7.1,
5644 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (utvideo -> libx264)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 533 fps= 13 q=-1.0 Lsize= 84544kB time=00:00:27.26
bitrate=25400.1kbits/s
video:65784kB audio:18742kB subtitle:0 data:0 global headers:0kB muxing
overhead 0.020164%
[libx264 @ 029370e0] frame I:3 Avg QP:17.00 size:430087
[libx264 @ 029370e0] frame P:530 Avg QP:19.47 size:124665
[libx264 @ 029370e0] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 029370e0] mb P I16..4: 16.0% 0.0% 0.0% P16..4: 47.2% 0.0%
0.0% 0.0% 0.0% skip:36.8%
[libx264 @ 029370e0] coded y,u,v intra: 45.4% 3.6% 4.0% inter: 35.0% 3.6%
3.4%
[libx264 @ 029370e0] i16 v,h,dc,p: 34% 31% 24% 11%
[libx264 @ 029370e0] kb/s:19739.97
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3409#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list