Class VideoProperties
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VideoProperties.Builder,
VideoProperties>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
bitDepth()
The number of bits used per color component such as 8, 10, or 12 bits.final Long
bitRate()
The bit rate of the video track, in bits per second.static VideoProperties.Builder
builder()
final CodecMetadata
Codec-specific parameters parsed from the video essence headers.final ColorPrimaries
The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video.final String
The color space primaries of the video track, defining the red, green, and blue color coordinates used for the video.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FrameRate
The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Integer
height()
The height of the video track, in pixels.final MatrixCoefficients
The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space.final String
The color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space.static Class
<? extends VideoProperties.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final TransferCharacteristics
The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values.final String
The color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values.final Integer
width()
The width of the video track, in pixels.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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).- Returns:
- 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).
-
bitRate
The bit rate of the video track, in bits per second.- Returns:
- The bit rate of the video track, in bits per second.
-
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:
- 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.
-
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.If the service returns an enum value that is not available in the current SDK version,
colorPrimaries
will returnColorPrimaries.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcolorPrimariesAsString()
.- Returns:
- 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.
- See Also:
-
colorPrimariesAsString
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.If the service returns an enum value that is not available in the current SDK version,
colorPrimaries
will returnColorPrimaries.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromcolorPrimariesAsString()
.- Returns:
- 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.
- See Also:
-
frameRate
The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.- Returns:
- The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.
-
height
The height of the video track, in pixels.- Returns:
- The height of the video track, in pixels.
-
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.If the service returns an enum value that is not available in the current SDK version,
matrixCoefficients
will returnMatrixCoefficients.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommatrixCoefficientsAsString()
.- Returns:
- 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.
- See Also:
-
matrixCoefficientsAsString
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.If the service returns an enum value that is not available in the current SDK version,
matrixCoefficients
will returnMatrixCoefficients.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommatrixCoefficientsAsString()
.- Returns:
- 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.
- 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.If the service returns an enum value that is not available in the current SDK version,
transferCharacteristics
will returnTransferCharacteristics.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtransferCharacteristicsAsString()
.- Returns:
- 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.
- See Also:
-
transferCharacteristicsAsString
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.If the service returns an enum value that is not available in the current SDK version,
transferCharacteristics
will returnTransferCharacteristics.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtransferCharacteristicsAsString()
.- Returns:
- 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.
- See Also:
-
width
The width of the video track, in pixels.- Returns:
- The width of the video track, in pixels.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<VideoProperties.Builder,
VideoProperties> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-