[FFmpeg-devel] [PATCH] avcodec/nvenc: Fix profile parameter handling

Hendrik Leppkes h.leppkes at gmail.com
Thu Apr 2 00:17:15 CEST 2015


On Thu, Apr 2, 2015 at 12:08 AM, James Almer <jamrial at gmail.com> wrote:
> On 01/04/15 7:04 PM, Timo Rothenpieler wrote:
>> It was not possible to set a profile before, the builtin profile
>> parameter does not seem to work propperly.
>> To be compatible with libx264, this overlays it with a local parameter
>> that expects a string, instead of an int, that takes the well known values
>> "high", "main" or "baseline".
>
> Did you try to adding the FF_PROFILE_H264* and FF_PROFILE_HEVC* values to options_table.h?
> Currently it only has entries for aac, dts, mpeg2 and mpeg4.

Since profile names may overlap between codecs (ie. "main" is both
valid for H264 and HEVC), its probably better to do this
codec-specific, otherwise you run into trouble, or would have to
prefix them with the codec name.

- Hendrik


More information about the ffmpeg-devel mailing list