Class VideoProperties
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VideoProperties.Builder,VideoProperties>
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal IntegerbitDepth()The number of bits used per color component such as 8, 10, or 12 bits.final LongbitRate()The bit rate of the video track, in bits per second.static VideoProperties.Builderbuilder()final CodecMetadataCodec-specific parameters parsed from the video essence headers.final ColorPrimariesThe color space primaries of the video track, defining the red, green, and blue color coordinates used for the video.final StringThe color space primaries of the video track, defining the red, green, and blue color coordinates used for the video.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final FrameRateThe 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 inthashCode()final Integerheight()The height of the video track, in pixels.final MatrixCoefficientsThe color space matrix coefficients of the video track, defining how RGB color values are converted to and from YUV color space.final StringThe 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 StringtoString()Returns a string representation of this object.final TransferCharacteristicsThe color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values.final StringThe color space transfer characteristics of the video track, defining the relationship between linear light values and the encoded signal values.final Integerwidth()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,
colorPrimarieswill 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,
colorPrimarieswill 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,
matrixCoefficientswill 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,
matrixCoefficientswill 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,
transferCharacteristicswill 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,
transferCharacteristicswill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<VideoProperties.Builder,VideoProperties> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-