VideoTrackInfo
class VideoTrackInfo(val codedSize: Size, val displaySize: Size, val rotationDegrees: Int, val pixelAspectRatio: Float, val frameRate: Float?, val codec: TrackCodec, val bitDepth: Int?, val colorSpace: ColorSpace, val hdrTransfer: HdrTransfer?, val bitrate: Bitrate?)(source)
The video track of a source.
Constructors
Link copied to clipboard
constructor(codedSize: Size, displaySize: Size, rotationDegrees: Int, pixelAspectRatio: Float, frameRate: Float?, codec: TrackCodec, bitDepth: Int?, colorSpace: ColorSpace, hdrTransfer: HdrTransfer?, bitrate: Bitrate?)
Properties
Link copied to clipboard
What the track is encoded with.
Link copied to clipboard
The track's color space, or ColorSpace.Unknown for untagged media.
Link copied to clipboard
How the frame should look on screen, with rotationDegrees and pixelAspectRatio applied. Size a target from this, not from codedSize.
Link copied to clipboard
The HDR transfer function, or null for SDR.
Link copied to clipboard
Width of a stored pixel over its height, 1f for square pixels.
Link copied to clipboard
Rotation the container asks a player to apply: 0, 90, 180 or 270.