Interface VideoProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VideoProperties.Builder,
,VideoProperties> SdkBuilder<VideoProperties.Builder,
,VideoProperties> SdkPojo
- Enclosing class:
VideoProperties
@Mutable
@NotThreadSafe
public static interface VideoProperties.Builder
extends SdkPojo, CopyableBuilder<VideoProperties.Builder,VideoProperties>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of bits used per color component such as 8, 10, or 12 bits.The bit rate of the video track, in bits per second.default VideoProperties.Builder
codecMetadata
(Consumer<CodecMetadata.Builder> codecMetadata) Codec-specific parameters parsed from the video essence headers.codecMetadata
(CodecMetadata codecMetadata) Codec-specific parameters parsed from the video essence headers.colorPrimaries
(String colorPrimaries) The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video.colorPrimaries
(ColorPrimaries colorPrimaries) The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video.default VideoProperties.Builder
frameRate
(Consumer<FrameRate.Builder> frameRate) The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.The height of the video track, in pixels.matrixCoefficients
(String matrixCoefficients) The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space.matrixCoefficients
(MatrixCoefficients matrixCoefficients) The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space.transferCharacteristics
(String transferCharacteristics) The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values.transferCharacteristics
(TransferCharacteristics transferCharacteristics) The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values.The width of the video track, in pixels.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bitDepth
The number of bits used per color component 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).- Parameters:
bitDepth
- The number of bits used per color component 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:
- Returns a reference to this object so that method calls can be chained together.
-
bitRate
The bit rate of the video track, in bits per second.- Parameters:
bitRate
- The bit rate of the video track, in bits per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codecMetadata
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.- Parameters:
codecMetadata
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codecMetadata
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. This is a convenience method that creates an instance of theCodecMetadata.Builder
avoiding the need to create one manually viaCodecMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodecMetadata(CodecMetadata)
.- Parameters:
codecMetadata
- a consumer that will call methods onCodecMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
frameRate
The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.- Parameters:
frameRate
- The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frameRate
The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values. This is a convenience method that creates an instance of theFrameRate.Builder
avoiding the need to create one manually viaFrameRate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toframeRate(FrameRate)
.- Parameters:
frameRate
- a consumer that will call methods onFrameRate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
height
The height of the video track, in pixels.- Parameters:
height
- The height of the video track, in pixels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
width
The width of the video track, in pixels.- Parameters:
width
- The width of the video track, in pixels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-