Table of Contents

Class FFmpegCodec

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

Represents a codec.

public sealed class FFmpegCodec : IDisposable
Inheritance
object
FFmpegCodec
Implements
Extension Methods

Constructors

FFmpegCodec(GraphicsDevice, AVCodecContext*)

Initializes a new instance of the FFmpegCodec class.

public FFmpegCodec(GraphicsDevice graphcsDevice, AVCodecContext* originalContext)

Parameters

graphcsDevice GraphicsDevice
originalContext AVCodecContext*

Fields

Logger

public static Logger Logger

Field Value

Logger

Properties

DecoderOutputTexture

public Texture DecoderOutputTexture { get; }

Property Value

Texture

HardwarePixelFormat

public AVPixelFormat HardwarePixelFormat { get; }

Property Value

AVPixelFormat

IsHardwareAccelerated

public bool IsHardwareAccelerated { get; }

Property Value

bool

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Flush(AVFrame*)

public void Flush(AVFrame* pFrame)

Parameters

pFrame AVFrame*

See Also

AVCodec
AVCodecContext