Table of Contents

Class FFmpegCodec

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

Represents a codec.

public sealed class FFmpegCodec : IDisposable
Inheritance
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*
See Also
AVCodec
AVCodecContext

Fields

Logger

public static Logger Logger

Field Value

Logger
See Also
AVCodec
AVCodecContext

Properties

DecoderOutputTexture

public Texture DecoderOutputTexture { get; }

Property Value

Texture
See Also
AVCodec
AVCodecContext

HardwarePixelFormat

public AVPixelFormat HardwarePixelFormat { get; }

Property Value

AVPixelFormat
See Also
AVCodec
AVCodecContext

IsHardwareAccelerated

public bool IsHardwareAccelerated { get; }

Property Value

bool
See Also
AVCodec
AVCodecContext

Methods

Dispose()

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

public void Dispose()
See Also
AVCodec
AVCodecContext

Flush(AVFrame*)

public void Flush(AVFrame* pFrame)

Parameters

pFrame AVFrame*
See Also
AVCodec
AVCodecContext

See Also

AVCodec
AVCodecContext