avcpp
2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
|
Go to the documentation of this file.
14 typename std::remove_pointer<
15 decltype(AVFormatContext::iformat)
17 >::value,
const T, T>::type;
22 bool codec_supported(
const AVCodecTag *
const *codecTag, AVCodecID codec_id);
30 const char*
name() const noexcept {
35 return RAW_GET(long_name,
nullptr);
38 int32_t
flags() const noexcept {
95 const std::string& url = std::string(),
96 const std::string& mime = std::string()) noexcept;
99 const std::string& url = std::string(),
100 const std::string& mime = std::string()) noexcept;
108 const std::string& url = std::string(),
109 const std::string& mime = std::string());
class Codec FmtCodec
Definition: format.h:19
typename std::conditional< std::is_const< typename std::remove_pointer< decltype(AVFormatContext::iformat) >::type >::value, const T, T >::type avcpp_format_const
Definition: format.h:17
bool codec_supported(const AVCodecTag *const *codecTag, const FmtCodec &codec)
Definition: format.cpp:8
#define RAW_GET(field, def)
Definition: ffmpeg.h:94
OutputFormat guessOutputFormat(const std::string &name, const std::string &url, const std::string &mime)
Definition: format.cpp:69
Definition: audioresampler.cpp:8
T * m_raw
Definition: ffmpeg.h:91
void reset(T *raw=nullptr)
Definition: ffmpeg.h:76