Interface IVideoDecoder
Defines the interface for a video decoder, which is responsible for decoding video streams.
Inherited Members
Namespace: FFmpeg.Codecs
Assembly: FFmpeg.dll
Syntax
public interface IVideoDecoder : IDecoderContext, IDisposable, IOptionQueryable
Properties
View SourceFrameRate
Gets the frame rate of the video stream, expressed as a Rational value.
Declaration
Rational FrameRate { get; }
Property Value
| Type | Description |
|---|---|
| Rational | The frame rate of the video stream (frames per second), as a Rational struct representing the frame rate as a ratio. |
Height
Gets or sets the height of the video frames in pixels.
Declaration
int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The height of the video frames in pixels. |
PixelFormat
Gets or sets the pixel format used by the video decoder.
Declaration
PixelFormat PixelFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| PixelFormat | The PixelFormat value representing the format of the pixels in the video frames. |
Width
Gets or sets the width of the video frames in pixels.
Declaration
int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The width of the video frames in pixels. |