Values.VideoPropertiesSourceDetails about the media file's video track.
type nonrec t = {bitDepth : int option;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 : Awso.Import.Int64.t option;The bit rate of the video track, in bits per second.
*)codecMetadata : CodecMetadata.t option;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 : ColorPrimaries.t option;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.
*)frameRate : FrameRate.t option;The frame rate of the video or audio track, expressed as a fraction with numerator and denominator values.
*)height : int option;The height of the video track, in pixels.
*)matrixCoefficients : MatrixCoefficients.t option;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.
*)transferCharacteristics : TransferCharacteristics.t option;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.
*)width : int option;The width of the video track, in pixels.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of int
| `Long of Awso.Import.Int64.t
| `Structure of
(string
* [> `Enum of string
| `Integer of int
| `String of string
| `Structure of (string * [> `Integer of int ]) list ])
list ])
list ]