public readonly record struct VideoTrackInfoEverything a codec needs to know before it sees a packet.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
A record rather than the container's own track type, so that a codec never references a demuxer. That is not tidiness: it is what lets an MP4 reader arrive later and reuse every codec anybody has written against this.
Fields and properties (8)
public string CodecIdWhat the container called it — V_VP9, V_UNCOMPRESSED. Matroska's spelling is used even by a container that spells it differently, because a registry has to agree on one.
public int WidthThe coded width in samples.
public int HeightThe coded height in samples.
public ReadOnlyMemory<byte> CodecPrivateThe codec's own header, or empty if it needs none.
public string FourCcThe sample format of an uncompressed track, or empty.
public VideoRational FrameRateThe nominal rate, or unknown.
public VideoColourRange RangeWhat range the container said the samples use.
public VideoColourMatrix MatrixWhat coefficients it said they were made with.
Methods (1)
public VideoTrackInfo(string CodecId, int Width, int Height, ReadOnlyMemory<byte> CodecPrivate = default(ReadOnlyMemory<byte>), string FourCc = "", VideoRational FrameRate = default(VideoRational), VideoColourRange Range = Limited, VideoColourMatrix Matrix = Bt709)Everything a codec needs to know before it sees a packet.
Used by (7)
- CountingFactoryVixen.Video.Tests
- IVideoCodecFactoryVixen.Video
- UncompressedVideoCodecVixen.Video
- UncompressedVideoCodecFactoryVixen.Video
- VideoCodecRegistryVixen.Video
- VideoPlaybackVixen.Video
- WebMVideoStreamDecoderVixen.Video