Table of Contents

Class VideoStream

Namespace
Stride.Video.FFmpeg
Assembly
Stride.Video.dll

Represents a video stream from a FFmpeg media.

public sealed class VideoStream : FFmpegStream
Inheritance
VideoStream
Inherited Members

Constructors

VideoStream(AVStream*, FFmpegMedia)

public VideoStream(AVStream* pStream, FFmpegMedia media)

Parameters

pStream AVStream*
media FFmpegMedia

Properties

FPS

Video frames per second.

public double FPS { get; }

Property Value

double

FrameDuration

Time interval between two frames.

public TimeSpan FrameDuration { get; }

Property Value

TimeSpan

Remarks

Is it equal to the inverse of FPS.

Height

The height of a frame in the video, in pixels.

public int Height { get; }

Property Value

int

PixelFormat

The pixel format of the encoded video.

public AVPixelFormat PixelFormat { get; }

Property Value

AVPixelFormat

Type

The type of this stream.

public override FFMpegStreamType Type { get; }

Property Value

FFMpegStreamType

Width

The width of a frame in the video, in pixels.

public int Width { get; }

Property Value

int