Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::ffmpeg::OutputContext Class Reference

RAII wrapper around an AVFormatContext used for muxing, that is writing video files. More...

#include <inviwo/ffmpeg/wrap/outputcontext.h>

+ Inheritance diagram for inviwo::ffmpeg::OutputContext:

Public Member Functions

AVStream * newStream () const
 
void open ()
 
OutputContextoperator= (const OutputContext &)=delete
 
OutputContextoperator= (OutputContext &&)=delete
 
 OutputContext (const OutputContext &)=delete
 
 OutputContext (OutputContext &&)=delete
 
 OutputContext (OutputFormat outputFormat, std::filesystem::path aFilename)
 
 OutputContext (std::filesystem::path aFilename)
 
OutputFormat outputFormat () const
 
int queryCodec (CodecID codecId, std::optional< int > stdCompliance=std::nullopt) const
 
void writeFrame (const Packet &pkt) const
 
void writeHeader (AVDictionary **options) const
 
void writeTrailer () const
 

Public Attributes

AVFormatContext * ctx
 
std::filesystem::path filename
 

Detailed Description

RAII wrapper around an AVFormatContext used for muxing, that is writing video files.

See also
InputContext for the demuxing counterpart

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