Class: Aws::MediaConvert::Types::CodecMetadata

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mediaconvert/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bit_depthInteger

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).

Returns:

  • (Integer)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#chroma_subsamplingString

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.

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#coded_frame_rateTypes::FrameRate

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

Returns:



3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#color_primariesString

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.

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#content_light_levelTypes::ContentLightLevel

Content light level information (CTA-861.3). Describes the light level characteristics of the content.



3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#heightInteger

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

Returns:

  • (Integer)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#levelString

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.

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#matrix_coefficientsString

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.

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#profileString

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.

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#rotationInteger

The clockwise rotation angle of the video, in degrees, as specified in the codec bitstream via a Display Orientation SEI message (payload type 47 for both H.264 and H.265). This field is null when the video essence does not contain a Display Orientation SEI message or when the rotation is 0 degrees.

Returns:

  • (Integer)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#scan_typeString

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

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#transfer_characteristicsString

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.

Returns:

  • (String)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end

#widthInteger

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

Returns:

  • (Integer)


3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
# File 'lib/aws-sdk-mediaconvert/types.rb', line 3285

class CodecMetadata < Struct.new(
  :bit_depth,
  :chroma_subsampling,
  :coded_frame_rate,
  :color_primaries,
  :content_light_level,
  :height,
  :level,
  :matrix_coefficients,
  :profile,
  :rotation,
  :scan_type,
  :transfer_characteristics,
  :width)
  SENSITIVE = []
  include Aws::Structure
end