Namespace FFmpeg.Codecs
Classes
CodecContext
Represents a codec context used for encoding or decoding video and audio streams using FFmpeg.
This class wraps the FFmpeg.AutoGen._AVCodecContext structure from the FFmpeg library, providing an interface for configuring and interacting with codec parameters for both encoding and decoding operations.
CodecParameters
A managed wrapper around the unmanaged FFmpeg _AVCodecParameters structure, providing safe access to codec parameters.
Structs
Codec
Represents an FFmpeg codec descriptor. This structure provides managed access to the underlying native FFmpeg.AutoGen._AVCodec structure, exposing codec information, capabilities, and supported encoding/decoding configurations.
CodecDescription
Represents a codec descriptor with various properties.
This struct is a readonly wrapper around an FFmpeg.AutoGen._AVCodecDescriptor pointer, providing a way to access codec descriptor properties in a safe manner.
CodecParameters_ref
A managed wrapper around the unmanaged FFmpeg _AVCodecParameters structure, providing safe access to codec parameters.
CodecTag
Represents a codec tag, combining a codec ID and a FourCC (Four Character Code) tag.
Profile
Represents a profile in FFmpeg, providing information about the profile ID and its associated name.
Interfaces
IAudioDecoder
Represents an audio decoder providing access to various properties of the audio stream being decoded.
IAudioEncoder
Represents an interface for audio encoders, providing properties specific to audio encoding such as sample rate, format, and channel layout. Inherits from IEncoderContext for general encoding options.
ICodecParameters
Defines an interface for accessing and modifying codec parameters, including audio, video, and general stream properties.
IDecoderContext
Defines the common functionality exposed by decoder contexts.
IEncoderContext
Represents the context for encoding operations, including codec information and encoding settings. This interface manages encoding state and allows querying and setting options for the encoder.
IVideoDecoder
Defines the interface for a video decoder, which is responsible for decoding video streams.
IVideoEncoder
Represents an interface for video encoders, providing properties specific to video encoding such as frame rate, resolution, and pixel format. Inherits from IEncoderContext for general encoding options.
Enums
CodecCapabilities
Flags representing the capabilities of codecs in FFmpeg. These capabilities describe various features or behaviors that a codec can support, such as multi-threading, handling frame sizes, and experimental features.
CodecFlags
Represents various codec flags used to control the behavior of codecs in FFmpeg.
CodecID
Identify the syntax and semantics of the bitstream. The principle is roughly: Two decoders with the same ID can decode the same streams. Two encoders with the same ID can encode compatible streams. There may be slight deviations from the principle due to implementation details.
CodecProperties
Enum representing codec properties (a combination of flags).
DecodeErrorFlags
Flags representing various decode errors.