avcpp 3.1.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Loading...
Searching...
No Matches
codec.h File Reference

Codec descriptors and lookup by name or id.

#include <list>
#include <deque>
#include <memory>
#include "ffmpeg.h"
#include "rational.h"
#include "format.h"
#include "pixelformat.h"
#include "sampleformat.h"
#include "channellayout.h"
#include "avutils.h"

Go to the source code of this file.

Classes

class  av::Codec
 Codec descriptor. More...

Namespaces

namespace  av
 Root namespace of the library.

Functions

Codec av::findEncodingCodec (AVCodecID id)
 Find an encoder by codec identifier.
Codec av::findEncodingCodec (const std::string &name)
 Find an encoder by name.
Codec av::findDecodingCodec (AVCodecID id)
 Find a decoder by codec identifier.
Codec av::findDecodingCodec (const std::string &name)
 Find a decoder by name.
Codec av::findEncodingCodec (const OutputFormat &format, bool isVideo=true)
 Find the encoder a muxer uses when the caller does not choose one.
Codec av::guessEncodingCodec (OutputFormat format, const char *name, const char *url, const char *mime, AVMediaType mediaType)
 Guess the encoder for an output from its hints.