[FFmpeg-user] how to encode 10bit

George Nistor georgenistor at live.com
Thu Dec 7 23:30:03 EET 2017


and here is the log when I have selected YUV420p10le

see
Incompatible pixel format 'yuv420p10le' for codec 'libx265', 
auto-selecting format 'yuv420p'
[libx265 @ 00000175d59c4220] Unknown option: profile.

-----------------------------------------------------------------------------------------------

"C:\Users\georg\AppData\Roaming\myFFmpeg\ffmpeg.exe"  -probesize 50M 
-analyzeduration 100M -i 
"E:\iso\m2ts\Risen\Video\RISEN\RISEN.theatrical.m2ts" -map 0:0 -map 0:1 
-c:a copy -async 1 -c:v libx265 -b:v 4500k -minrate 4500k -maxrate 4500k 
-bufsize 1125k -r 24000/1001 -s 1920x1080 -aspect 16:9 -pix_fmt 
yuv420p10le -preset ultrafast -tune fastdecode -x265-params 
profile=main10:me=umh:qcomp=0.5:scenecut=40:bframes=3:rc-lookahead=40:b-adapt=1:min-keyint=24:keyint=240 
-sws_flags fast_bilinear -qmin 3 -qmax 51 -metadata creation_time=now 
-sn -y "G:\in____work\RISEN.theatrical.mp4"

ffmpeg version N-89395-g71421f382f Copyright (c) 2000-2017 the FFmpeg 
developers
   built with gcc 7.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-sdl2 
--enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv 
--enable-libass --enable-libbluray --enable-libfreetype 
--enable-libmp3lame --enable-libopenjpeg --enable-libopus 
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora 
--enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg 
--enable-lzma --enable-zlib --enable-gmp --enable-libvidstab 
--enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va 
--enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
   libavutil      56.  5.100 / 56.  5.100
   libavcodec     58.  6.102 / 58.  6.102
   libavformat    58.  2.103 / 58.  2.103
   libavdevice    58.  0.100 / 58.  0.100
   libavfilter     7.  6.100 /  7.  6.100
   libswscale      5.  0.101 /  5.  0.101
   libswresample   3.  0.101 /  3.  0.101
   libpostproc    55.  0.100 / 55.  0.100
Input #0, mpegts, from 
'E:\iso\m2ts\Risen\Video\RISEN\RISEN.theatrical.m2ts':
   Duration: 01:47:38.29, start: 11.650667, bitrate: 28588 kb/s
   Program 1
     Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), 
yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 
tbr, 90k tbn, 47.95 tbc
     Stream #0:1[0x1100](eng): Audio: dts (DTS-HD MA) ([134][0][0][0] / 
0x0086), 48000 Hz, 5.1(side), s16p
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
   Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Incompatible pixel format 'yuv420p10le' for codec 'libx265', 
auto-selecting format 'yuv420p'
[libx265 @ 00000175d59c4220] Unknown option: profile.
x265 [info]: HEVC encoder version 2.6+5-b1dfa312234e
x265 [info]: build info [Windows][GCC 7.2.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 
AVX FMA3 BMI2 AVX2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : umh / 57 / 0 / 2
x265 [info]: Keyframe min / max / scenecut / bias: 24 / 240 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt        : 40 / 3 / 1
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : ABR-4500 kbps / 0.50
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6
[mp4 @ 00000175d77e08a0] track 1: codec frame size is not set
Output #0, mp4, to 'G:\in____work\RISEN.theatrical.mp4':
   Metadata:
     creation_time   : now
     encoder         : Lavf58.2.103
     Stream #0:0: Video: hevc (libx265) (hev1 / 0x31766568), yuv420p, 
1920x1080 [SAR 1:1 DAR 16:9], q=3-51, 4500 kb/s, 23.98 fps, 24k tbn, 
23.98 tbc
     Metadata:
       encoder         : Lavc58.6.102 libx265
     Stream #0:1(eng): Audio: dts (DTS-HD MA) (mp4a / 0x6134706D), 48000 
Hz, 5.1(side), s16p
frame=   30 fps=0.0 q=0.0 size=       0kB time=00:00:00.74 bitrate=   
0.0kbits/s speed=1.49x
frame=   46 fps= 14 q=0.0 size=       0kB time=00:00:01.40 bitrate=   
0.0kbits/s speed=0.43x
frame=   51 fps= 10 q=-0.0 size=       0kB time=00:00:01.62 bitrate=   
0.2kbits/s speed=0.328x
frame=   55 fps=9.7 q=-0.0 size=       0kB time=00:00:01.79 bitrate=   
0.2kbits/s speed=0.315x
frame=   57 fps=8.7 q=-0.0 size=       0kB time=00:00:01.86 bitrate=   
0.2kbits/s speed=0.284x


On 12/7/2017 23:17, Lou Logan wrote:
> On Thu, Dec 7, 2017, at 12:13 PM, George Nistor wrote:
>> I am using x265,
>> here is my log:
>> [Inline image]
>> + onhefpdkecjhpigp.png
>>    442k (image/png)
> For future reference please copy and paste the text of your command and
> the console output instead of making an image of the text.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list