1 #ifndef _AV_TRANSCODER_FILE_OUTPUT_FILE_HPP_
2 #define _AV_TRANSCODER_FILE_OUTPUT_FILE_HPP_
33 OutputFile(
const std::string& filename,
const std::string& formatName =
"",
const std::string& mimeType =
"");
60 void addMetadata(
const std::string& key,
const std::string& value);
64 std::string getFilename()
const;
69 std::string getFormatName()
const;
74 std::string getFormatLongName()
const;
79 std::string getFormatMimeType()
const;
98 void setupRemainingWrappingOptions();
double _previousProcessedStreamDuration
To manage process streams order.
FormatContext & getFormatContext()
FormatContext _formatContext
std::vector< std::pair< std::string, std::string > > PropertyVector
PropertyVector is a vector of pair, because the order of properties matters to us.
Outputfile is the default implentation of wrapper which uses LibAV/FFMpeg.
IOutputfile is the interface to wrap and write medias. It can be overloaded to integrate custom wrapp...
EWrappingStatus
define wrapping result status
std::map< std::string, std::string > Profile
ProfileLoader::Profile _profile
To setup specific wrapping options.
Wrapper of an AVFormatContext.
std::vector< size_t > _frameCount
Number of wrapped frames.
This class describes coded data.
std::vector< OutputStream * > _outputStreams
Has ownership.