Skip to content

Questions regarding HDR encoding and color conversion #268

Open
@nyanmisaka

Description

@nyanmisaka

Hello!
Seeing that “HDR color conversion in the encoder” is list in the release note of AMF 1.4.21. I have some questions as follows.

  1. If I want to encode HDR video using HEVC encoder. In addition to setting P010 surface and 10-bit property, which fields I need to fill?
    use _INPUT_ or _OUTPUT_? And what is the difference between these two?
AMF_VIDEO_ENCODER_HEVC_INPUT_COLOR_PROFILE
AMF_VIDEO_ENCODER_HEVC_INPUT_TRANSFER_CHARACTERISTIC
AMF_VIDEO_ENCODER_HEVC_INPUT_COLOR_PRIMARIES
AMF_VIDEO_ENCODER_HEVC_INPUT_HDR_METADATA
  1. Are these fields above just to set VUI header into the video?
    Or doing some color conversion inside the encoder using this capability. AMF_VIDEO_ENCODER_HEVC_CAP_COLOR_CONVERSION

  2. Does the Converter accept P010 surface when using tonemapping options on HDR input? As we know most of the HDR films are encoded in 10-bit. So can I use this option to map HDR(smpte2084) into SDR(bt709) without clipping too much color details?
    AMF_VIDEO_CONVERTER_TONEMAPPING_AMD

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions