[FFmpeg-user] Does FFmpeg support AVC-Intra (and/or x264) with 10bit bitdepth? (yuv422p10le)
Christoph Gerstbauer
christophgerstbauer at gmail.com
Tue Jun 16 16:06:18 CEST 2015
Hello
I have problems to generate AVC Intra files with full 10bit encoding.
It shrinks automatically to yuv422p: Incompatible pixel format
'yuv422p10le' for codec 'libx264', auto-selecting format 'yuv422p'
See complete command line here:
C:\Users\gersti>ffmpegnew -i I:\AVC-INTRA\00000_ffvhuff.avi -vcodec
libx264 -g 1 -pix_fmt yuv422p10le -vb 100M -x264opts avcintra-class=100
-x264opts colorprim=bt709 -x264opts transfer=bt709 -x264opts
colormatrix=bt709 -threads 8 -vf "setfield=1" I:\AVC-INTRA\00000_ffvhuff.mxf
ffmpeg version N-72734-g5cf84e5 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnu
tls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme
--enab
le-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx
--enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libo
penjpeg --enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-
libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --en
able-libx265 --enable-libxavs --enable-libxvid --enable-lzma
--enable-decklink --enable-zlib
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 35.101 / 56. 35.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, avi, from 'I:\AVC-INTRA\00000_ffvhuff.avi':
Metadata:
encoder : Lavf55.48.101
Duration: 00:00:10.00, start: 0.000000, bitrate: 874120 kb/s
Stream #0:0: Video: ffvhuff (FFVH / 0x48564646), yuv422p10le,
1920x1080, 877619 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
File 'I:\AVC-INTRA\00000_ffvhuff.mxf' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuv422p10le' for codec 'libx264',
auto-selecting format 'yuv422p'
[libx264 @ 0000000004c95400] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2
[libx264 @ 0000000004c95400] profile High 4:2:2 Intra, level 4.1, 4:2:2
8-bit
Output #0, mxf, to 'I:\AVC-INTRA\00000_ffvhuff.mxf':
Metadata:
encoder : Lavf56.35.101
Stream #0:0: Video: h264 (libx264), yuv422p, 1920x1080, q=-1--1,
100000 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc56.41.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (ffvhuff (native) -> h264 (libx264))
Press [q] to stop, [?] for help
frame= 250 fps=9.6 q=-1.0 Lsize= 129227kB time=00:00:10.00
bitrate=105862.4kbits/s
video:129022kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.158273%
[libx264 @ 0000000004c95400] frame I:250 Avg QP:24.96 size:528476
[libx264 @ 0000000004c95400] mb I I16..4: 6.4% 65.4% 28.3%
[libx264 @ 0000000004c95400] final ratefactor: 15.30
[libx264 @ 0000000004c95400] 8x8 transform intra:65.4%
[libx264 @ 0000000004c95400] coded y,uvDC,uvAC intra: 96.2% 98.9% 91.6%
[libx264 @ 0000000004c95400] i16 v,h,dc,p: 7% 33% 24% 37%
[libx264 @ 0000000004c95400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 11% 17% 19%
6% 7% 7% 9% 7% 16%
[libx264 @ 0000000004c95400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 19% 14%
7% 8% 7% 10% 8% 13%
[libx264 @ 0000000004c95400] i8c dc,h,v,p: 54% 12% 19% 15%
[libx264 @ 0000000004c95400] kb/s:105695.11
Best Regards
Christoph
More information about the ffmpeg-user
mailing list