@return a non-zero number if codec is a decoder, zero otherwise
@return a non-zero number if codec is an encoder, zero otherwise
Iterate over all registered codecs.
Find a registered decoder with a matching codec ID.
Find a registered decoder with the specified name.
Find a registered encoder with a matching codec ID.
Find a registered encoder with the specified name.
Retrieve supported hardware configurations for a codec.
Decoder is not a preferred choice for probing. This indicates that the decoder is not a good choice for probing. It could for example be an expensive to spin up hardware decoder, or it could simply not provide a lot of useful information about the stream. A decoder marked with this flag should only be used as last resort choice for probing.
Codec should fill in channel configuration and samplerate instead of container
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and correct output.
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators. If not set, it might not use get_buffer() or get_encode_buffer() at all, or use operations that assume the buffer was allocated by avcodec_default_get_buffer2 or avcodec_default_get_encode_buffer.
Decoder can use draw_horiz_band callback.
This encoder can be flushed using avcodec_flush_buffers(). If this flag is not set, the encoder must be closed and reopened to ensure that no frames remain pending.
This codec takes the reordered_opaque field from input AVFrames and returns it in the corresponding field in AVCodecContext after encoding.
Codec is experimental and is thus avoided in favor of non experimental encoders
Codec supports frame-level multithreading.
Codec is backed by a hardware implementation. Typically used to identify a non-hwaccel hardware decoder. For information about hwaccels, use avcodec_get_hw_config() instead.
Codec is potentially backed by a hardware implementation, but not necessarily. This is used instead of AV_CODEC_CAP_HARDWARE, if the implementation provides some sort of internal fallback.
Deprecated and unused. Use AVCodecDescriptor.props instead
Deprecated and unused. Use AVCodecDescriptor.props instead
Codec supports multithreading through a method other than slice- or frame-level multithreading. Typically this marks wrappers around multithreading-capable external libraries.
Codec supports changed parameters at any point.
Codec supports slice-based (or partition-based) multithreading.
Codec can be fed a final frame with a smaller size. This can be used to prevent truncation of the last audio samples.
Codec can output multiple frames per AVPacket Normally demuxers return one frame at a time, demuxers which do not do are connected to a parser to split what they return into proper frames. This flag is reserved to the very rare category of codecs which have a bitstream that cannot be split into frames without timeconsuming operations like full decoding. Demuxers carrying such bitstreams thus may return multiple frames in a packet. This has many disadvantages like prohibiting stream copy in many cases thus it should only be considered as a last resort.
Audio encoder supports receiving a different number of samples in each call.
AVCodec.
AVProfile.