Table of Contents

Class TSCodecDetails

Namespace
VisioForge.Core.Types.X.Special
Assembly
VisioForge.Core.dll

Parsed codec details for an elementary stream, extracted from the in-band sequence/parameter-set headers (H.264/HEVC SPS, MPEG-2 sequence header).

public class TSCodecDetails

Inheritance

Inherited Members

Properties

AspectRatio

Gets or sets the display aspect ratio (for example "16:9"), or null when unknown. Currently extracted from the MPEG-1/MPEG-2 sequence header's aspect_ratio_information field.

public string AspectRatio { get; set; }

Property Value

string

ChromaFormat

Gets or sets the chroma format (for example "4:2:0"), or null when unknown.

public string ChromaFormat { get; set; }

Property Value

string

FrameRateDen

Gets or sets the denominator of the frame rate, or 0 when unknown. See VisioForge.Core.Types.X.Special.TSCodecDetails.FrameRateNum for which codecs report a frame rate.

public int FrameRateDen { get; set; }

Property Value

int

FrameRateNum

Gets or sets the numerator of the frame rate, or 0 when unknown. Frame rate is extracted only for MPEG-1/MPEG-2 video (from the sequence header's frame_rate_code). For H.264/AVC and HEVC the frame rate lives in the optional VUI timing information, which is not parsed, so these fields remain 0 for those codecs.

public int FrameRateNum { get; set; }

Property Value

int

Height

Gets or sets the coded picture height in pixels, or 0 when unknown.

public int Height { get; set; }

Property Value

int

Level

Gets or sets the codec level name (for example "4.0"), or null when unknown.

public string Level { get; set; }

Property Value

string

Profile

Gets or sets the codec profile name (for example "High"), or null when unknown.

public string Profile { get; set; }

Property Value

string

Width

Gets or sets the coded picture width in pixels, or 0 when unknown.

public int Width { get; set; }

Property Value

int