[FFmpeg-user] Problem specifying libx265 profile with ffmpeg

Peter Rabbitson rabbit+list at rabbit.us
Fri Jan 23 10:05:28 CET 2015


I seem to be unable to set a specific profile with either of the 
commands as shown below:


rabbit at Ahasver:~$ ffmpeg -hide_banner -y -filter_complex 'color=red' -t 
1 -c:v libx265 -strict experimental -profile:v main444-10 -f mp4 /dev/null
[libx265 @ 0x161e240] [Eval @ 0x7fff58510210] Undefined constant or 
missing '(' in 'main444-10'
[libx265 @ 0x161e240] Unable to parse option value "main444-10"
[libx265 @ 0x161e240] Error setting option profile to value main444-10.
Output #0, mp4, to '/dev/null':
     Stream #0:0: Video: hevc, none, q=2-31, 128 kb/s, SAR 1:1 DAR 0:0, 
25 fps (default)
     Metadata:
       encoder         : Lavc56.13.100 libx265
Stream mapping:
   color -> Stream #0:0 (libx265)
Error while opening encoder for output stream #0:0 - maybe incorrect 
parameters such as bit_rate, rate, width or height


rabbit at Ahasver:~$ ffmpeg -hide_banner -y -filter_complex 'color=red' -t 
1 -c:v libx265 -strict experimental -x265-params profile=main444-10 -f 
mp4 /dev/null
[libx265 @ 0x1ff9480] Unknown option: profile. 
<------------- error
x265 [info]: HEVC encoder version 1.4
x265 [info]: build info [Linux][GCC 4.9.2][64 bit] 8bpp
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [info]: Main profile, Level-2 (Main tier)
x265 [info]: WPP streams / frame threads / pool  : 4 / 2 / 4
x265 [info]: CTU size / RQT depth inter / intra  : 64 / 1 / 1
x265 [info]: ME / range / subpel / merge         : hex / 57 / 2 / 2
x265 [info]: Keyframe min / max / scenecut       : 25 / 250 / 40
x265 [info]: Lookahead / bframes / badapt        : 20 / 4 / 2
x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 0 / 3
x265 [info]: Rate Control / AQ-Strength / CUTree : CRF-28.0 / 1.0 / 1
x265 [info]: tools: rd=3 lft sao signhide tmvp
Output #0, mp4, to '/dev/null':
   Metadata:
     encoder         : Lavf56.15.102
     Stream #0:0: Video: hevc (libx265) ([35][0][0][0] / 0x0023), 
yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 25 fps, 12800 tbn, 25 tbc 
(default)
     Metadata:
       encoder         : Lavc56.13.100 libx265
Stream mapping:
   color -> Stream #0:0 (libx265)
Press [q] to stop, [?] for help
frame=   25 fps=0.0 q=0.0 Lsize=       3kB time=00:00:00.92 bitrate= 
23.1kbits/s
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB 
muxing overhead: 290.602051%
x265 [info]: frame I:      1, Avg QP:26.67  kb/s: 10.20
x265 [info]: frame P:      5, Avg QP:27.47  kb/s: 5.04
x265 [info]: frame B:     19, Avg QP:32.40  kb/s: 4.16
x265 [info]: global :     25, Avg QP:31.18  kb/s: 4.58
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 16.7% 0.0% 0.0% 16.7% 66.7%


What am I doing wrong?


More information about the ffmpeg-user mailing list