Class VideoStream
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
FrameDuration
Time interval between two frames.
public TimeSpan FrameDuration { get; }
Property Value
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
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
Width
The width of a frame in the video, in pixels.
public int Width { get; }