Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TrackInfo

Track-type specific information.

An enum with 2 variants, distinguished by the type field:

typedescription
audioInformation specific to audio tracks.
videoInformation specific to video tracks.

audio

fieldtypeoptionaldescription
channelsUnsignedIntegerfalseNumber of audio channels.
sample_rateUnsignedIntegerfalseSample rate in Hertz.

video

fieldtypeoptionaldescription
bit_depthUnsignedIntegerfalseBits per color channel.
chroma_subsamplingChromaSubsamplingtrueChroma subsampling, for formats that support it.
dimensionsDimensionsfalseDimensions in pixels.
framesUnsignedIntegerfalseTotal number of video frames.
orientationOrientationfalseOrientation to apply when displaying.