[FFmpeg-devel] [PATCH] avcodec/libx265.c - Add named option to set profile

Gyan Doshi gyandoshi at gmail.com
Tue Dec 5 16:05:51 EET 2017

On 12/5/2017 7:21 PM, Derek Buitenhuis wrote:

> This is inconsistent with the way libx264.c does it. It calls the profile
> function before the param parsing.

 From http://x265.readthedocs.io/en/default/cli.html#profile-level-tier

"API users must call x265_param_apply_profile() after configuring their 
param structure. Any changes made to the param structure after this call 
might make the encode non-compliant."


"Also note that x265 determines the decoder requirement profile and 
level in three steps. First, the user configures an x265_param structure 
with their suggested encoder options and then optionally calls 
x265_param_apply_profile() to enforce a specific profile (main, main10, 
etc). "

Will drop 2nd log line.


More information about the ffmpeg-devel mailing list