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:

discriminantvariantdescription
0AudioInformation specific to audio tracks.
1VideoInformation specific to video tracks.

Audio

nfieldtypeoptionaldescription
1channelsUnsignedIntegerfalseNumber of audio channels.
2sample_rateUnsignedIntegerfalseSample rate in Hertz.

Video

nfieldtypeoptionaldescription
1bit_depthUnsignedIntegerfalseBits per color channel.
2chroma_subsamplingChromaSubsamplingtrueChroma subsampling, for formats that support it.
3dimensionsDimensionsfalseDimensions in pixels.
4framesUnsignedIntegerfalseTotal number of video frames.
5orientationOrientationfalseOrientation to apply when displaying.