Skip to content

[Request]: FFmpeg h264_amf add high_quality preset #598

@he6ot

Description

@he6ot

Is your feature request related to a problem? Please describe.
I'm frustrated that the h264_amf encoder in the latest FFmpeg does not expose the high_quality preset (also referred to as quality), even though the corresponding constant AMF_VIDEO_ENCODER_QUALITY_PRESET_HIGH_QUALITY has been available in the AMD AMF SDK since version 1.4.36.

Describe the solution you'd like
Add support for the high_quality preset in h264_amf (and ideally hevc_amf as well) by mapping it to AMF_VIDEO_ENCODER_QUALITY_PRESET_HIGH_QUALITY.

Additional context
The AMF_VIDEO_ENCODER_QUALITY_PRESET_HIGH_QUALITY value has existed in AMF since 1.4.36, but FFmpeg’s AMF encoder implementation still only exposes the older preset options (speed, balanced, quality). This limits users who want the best possible quality from AMF encoders. And Please update AMF_Video_Encode_API.md (AMF_VIDEO_ENCODER_QUALITY_PRESET_ENUM). Thanks !

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions