VideoProperties

Details about the media file's video track.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

The bit rate of the video track, in bits per second.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard
val height: Int?

The height of the video track, in pixels.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard
val width: Int?

The width of the video track, in pixels.

Functions

Link copied to clipboard
inline fun copy(block: VideoProperties.Builder.() -> Unit = {}): VideoProperties
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String