Skip to content

/AWS1/CL_MDCCODECMETADATA

Codec-specific parameters parsed from the video essence headers. This information provides detailed technical specifications about how the video was encoded, including profile settings, resolution details, and color space information that can help you understand the source video characteristics and make informed encoding decisions.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_bitdepth TYPE /AWS1/MDC__INTEGER /AWS1/MDC__INTEGER

The number of bits used per color component in the video essence such as 8, 10, or 12 bits. Standard range (SDR) video typically uses 8-bit, while 10-bit is common for high dynamic range (HDR).

iv_chromasubsampling TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

The chroma subsampling format used in the video encoding, such as "4:2:0" or "4:4:4". This describes how color information is sampled relative to brightness information. Different subsampling ratios affect video quality and file size, with "4:4:4" providing the highest color fidelity and "4:2:0" being most common for standard video.

io_codedframerate TYPE REF TO /AWS1/CL_MDCFRAMERATE /AWS1/CL_MDCFRAMERATE

The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.

iv_colorprimaries TYPE /AWS1/MDCCOLORPRIMARIES /AWS1/MDCCOLORPRIMARIES

The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video. This information helps ensure accurate color reproduction during playback and transcoding.

iv_height TYPE /AWS1/MDC__INTEGER /AWS1/MDC__INTEGER

The height in pixels as coded by the codec. This represents the actual encoded video height as specified in the video stream headers.

iv_level TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

The codec level or tier that specifies the maximum processing requirements and capabilities. Levels define constraints such as maximum bit rate, frame rate, and resolution.

iv_matrixcoefficients TYPE /AWS1/MDCMATRIXCOEFFICIENTS /AWS1/MDCMATRIXCOEFFICIENTS

The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space. This affects color accuracy during encoding and decoding processes.

iv_profile TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

The codec profile used to encode the video. Profiles define specific feature sets and capabilities within a codec standard. For example, H.264 profiles include Baseline, Main, and High, each supporting different encoding features and complexity levels.

iv_scantype TYPE /AWS1/MDC__STRING /AWS1/MDC__STRING

The scanning method specified in the video essence, indicating whether the video uses progressive or interlaced scanning.

iv_transfercharacteristics TYPE /AWS1/MDCXFERCHARACTERISTICS /AWS1/MDCXFERCHARACTERISTICS

The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values. This affects brightness and contrast reproduction.

iv_width TYPE /AWS1/MDC__INTEGER /AWS1/MDC__INTEGER

The width in pixels as coded by the codec. This represents the actual encoded video width as specified in the video stream headers.


Queryable Attributes

BitDepth

The number of bits used per color component in the video essence such as 8, 10, or 12 bits. Standard range (SDR) video typically uses 8-bit, while 10-bit is common for high dynamic range (HDR).

Accessible with the following methods

Method Description
GET_BITDEPTH() Getter for BITDEPTH, with configurable default
ASK_BITDEPTH() Getter for BITDEPTH w/ exceptions if field has no value
HAS_BITDEPTH() Determine if BITDEPTH has a value

ChromaSubsampling

The chroma subsampling format used in the video encoding, such as "4:2:0" or "4:4:4". This describes how color information is sampled relative to brightness information. Different subsampling ratios affect video quality and file size, with "4:4:4" providing the highest color fidelity and "4:2:0" being most common for standard video.

Accessible with the following methods

Method Description
GET_CHROMASUBSAMPLING() Getter for CHROMASUBSAMPLING, with configurable default
ASK_CHROMASUBSAMPLING() Getter for CHROMASUBSAMPLING w/ exceptions if field has no v
HAS_CHROMASUBSAMPLING() Determine if CHROMASUBSAMPLING has a value

CodedFrameRate

The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.

Accessible with the following methods

Method Description
GET_CODEDFRAMERATE() Getter for CODEDFRAMERATE

ColorPrimaries

The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video. This information helps ensure accurate color reproduction during playback and transcoding.

Accessible with the following methods

Method Description
GET_COLORPRIMARIES() Getter for COLORPRIMARIES, with configurable default
ASK_COLORPRIMARIES() Getter for COLORPRIMARIES w/ exceptions if field has no valu
HAS_COLORPRIMARIES() Determine if COLORPRIMARIES has a value

Height

The height in pixels as coded by the codec. This represents the actual encoded video height as specified in the video stream headers.

Accessible with the following methods

Method Description
GET_HEIGHT() Getter for HEIGHT, with configurable default
ASK_HEIGHT() Getter for HEIGHT w/ exceptions if field has no value
HAS_HEIGHT() Determine if HEIGHT has a value

Level

The codec level or tier that specifies the maximum processing requirements and capabilities. Levels define constraints such as maximum bit rate, frame rate, and resolution.

Accessible with the following methods

Method Description
GET_LEVEL() Getter for LEVEL, with configurable default
ASK_LEVEL() Getter for LEVEL w/ exceptions if field has no value
HAS_LEVEL() Determine if LEVEL has a value

MatrixCoefficients

The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space. This affects color accuracy during encoding and decoding processes.

Accessible with the following methods

Method Description
GET_MATRIXCOEFFICIENTS() Getter for MATRIXCOEFFICIENTS, with configurable default
ASK_MATRIXCOEFFICIENTS() Getter for MATRIXCOEFFICIENTS w/ exceptions if field has no
HAS_MATRIXCOEFFICIENTS() Determine if MATRIXCOEFFICIENTS has a value

Profile

The codec profile used to encode the video. Profiles define specific feature sets and capabilities within a codec standard. For example, H.264 profiles include Baseline, Main, and High, each supporting different encoding features and complexity levels.

Accessible with the following methods

Method Description
GET_PROFILE() Getter for PROFILE, with configurable default
ASK_PROFILE() Getter for PROFILE w/ exceptions if field has no value
HAS_PROFILE() Determine if PROFILE has a value

ScanType

The scanning method specified in the video essence, indicating whether the video uses progressive or interlaced scanning.

Accessible with the following methods

Method Description
GET_SCANTYPE() Getter for SCANTYPE, with configurable default
ASK_SCANTYPE() Getter for SCANTYPE w/ exceptions if field has no value
HAS_SCANTYPE() Determine if SCANTYPE has a value

TransferCharacteristics

The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values. This affects brightness and contrast reproduction.

Accessible with the following methods

Method Description
GET_TRANSFERCHARACTERISTICS() Getter for TRANSFERCHARACTERISTICS, with configurable defaul
ASK_TRANSFERCHARACTERISTICS() Getter for TRANSFERCHARACTERISTICS w/ exceptions if field ha
HAS_TRANSFERCHARACTERISTICS() Determine if TRANSFERCHARACTERISTICS has a value

Width

The width in pixels as coded by the codec. This represents the actual encoded video width as specified in the video stream headers.

Accessible with the following methods

Method Description
GET_WIDTH() Getter for WIDTH, with configurable default
ASK_WIDTH() Getter for WIDTH w/ exceptions if field has no value
HAS_WIDTH() Determine if WIDTH has a value