avcpp  2.0
Wrapper for the FFmpeg that simplify usage from C++ projects.
Public Member Functions | List of all members
av::OutputFormat Class Reference

#include <format.h>

Inheritance diagram for av::OutputFormat:
Inheritance graph
[legend]
Collaboration diagram for av::OutputFormat:
Collaboration graph
[legend]

Public Member Functions

 OutputFormat ()=default
 
 OutputFormat (const std::string &name, const std::string &url=std::string(), const std::string &mime=std::string()) noexcept
 
bool setFormat (const std::string &name, const std::string &url=std::string(), const std::string &mime=std::string()) noexcept
 
AVCodecID defaultVideoCodecId () const noexcept
 
AVCodecID defaultAudioCodecId () const noexcept
 
- Public Member Functions inherited from av::Format< avcpp_format_const< AVOutputFormat > >
const char * name () const noexcept
 
const char * longName () const noexcept
 
int32_t flags () const noexcept
 
bool isFlags (int32_t flags) const noexcept
 
void setFormat (avcpp_format_const< AVOutputFormat > *format) noexcept
 
bool codecSupported (const class Codec &codec) const noexcept
 
bool codecSupported (AVCodecID codec_id) const noexcept
 
- Public Member Functions inherited from FFWrapperPtr< avcpp_format_const< AVOutputFormat > >
 FFWrapperPtr ()=default
 
 FFWrapperPtr (avcpp_format_const< AVOutputFormat > *raw)
 
const avcpp_format_const< AVOutputFormat > * raw () const
 
avcpp_format_const< AVOutputFormat > * raw ()
 
void reset (avcpp_format_const< AVOutputFormat > *raw=nullptr)
 
bool isNull () const
 
void _log (int level, const char *fmt) const
 
void _log (int level, const char *fmt, const Args &... args) const
 

Additional Inherited Members

- Protected Attributes inherited from FFWrapperPtr< avcpp_format_const< AVOutputFormat > >
avcpp_format_const< AVOutputFormat > * m_raw
 

Constructor & Destructor Documentation

◆ OutputFormat() [1/2]

av::OutputFormat::OutputFormat ( )
default

◆ OutputFormat() [2/2]

av::OutputFormat::OutputFormat ( const std::string &  name,
const std::string &  url = std::string(),
const std::string &  mime = std::string() 
)
noexcept

Member Function Documentation

◆ defaultAudioCodecId()

AVCodecID av::OutputFormat::defaultAudioCodecId ( ) const
noexcept

◆ defaultVideoCodecId()

AVCodecID av::OutputFormat::defaultVideoCodecId ( ) const
noexcept

◆ setFormat()

bool av::OutputFormat::setFormat ( const std::string &  name,
const std::string &  url = std::string(),
const std::string &  mime = std::string() 
)
noexcept

The documentation for this class was generated from the following files: