34 using StreamsList = std::vector<std::unique_ptr<AVStreamWrapper>>;
69 virtual
int GetCtxFlags() const noexcept = 0;
71 virtual
unsigned int GetStreamsCount() const noexcept = 0;
76 virtual const
char* GetFilename() const noexcept = 0;
77 virtual
void SetFilename(const
char* filename) noexcept = 0;
79 virtual int64_t GetStartTime() const noexcept = 0;
81 virtual int64_t GetDuration() const noexcept = 0;
83 virtual
int GetBitRate() const noexcept = 0;
84 virtual
void SetBitRate(
int bit_rate) noexcept = 0;
86 virtual
unsigned int GetPacketSize() const noexcept = 0;
87 virtual
void SetPacketSize(
unsigned int packet_size) noexcept = 0;
89 virtual
int GetMaxDelay() const noexcept = 0;
90 virtual
void SetMaxDelay(
int max_delay) noexcept = 0;
92 virtual
int GetFlags() const noexcept = 0;
93 virtual
void SetFlags(
int flags) noexcept = 0;
95 virtual
unsigned int GetProbeSize() const noexcept = 0;
96 virtual
void SetProbeSize(
unsigned int probesize) noexcept = 0;
98 virtual
int GetMaxAnalyzeDuration() const noexcept = 0;
99 virtual
void SetMaxAnalyzeDuration(
int max_analyze_duration) noexcept = 0;
102 virtual
void SetAudioCodecId(
AVCodecIDFwd audio_codec_id) noexcept = 0;
104 virtual
unsigned int GetMaxIndexSize() const noexcept = 0;
105 virtual
void SetMaxIndexSize(
unsigned int max_index_size) noexcept = 0;
110 virtual int64_t GetStartTimeRealtime() const noexcept = 0;
111 virtual
void SetStartTimeRealtime(int64_t start_time_realtime) noexcept = 0;
113 virtual
int GetFpsProbeSize() const noexcept = 0;
114 virtual
void SetFpsProbeSize(
int fps_probe_size) noexcept = 0;
116 virtual
int GetErrorRecognition() const noexcept = 0;
117 virtual
void SetErrorRecognition(
int error_recognition) noexcept = 0;
119 virtual int64_t GetMaxInterleaveDelta() const noexcept = 0;
120 virtual
void SetMaxInterleaveDelta(int64_t max_interleave_delta) noexcept = 0;
122 virtual
int GetStrictStdCompliance() const noexcept = 0;
123 virtual
void SetStrictStdCompliance(
int strict_std_compliance) noexcept = 0;
125 virtual
int GetAudioPreload() const noexcept = 0;
126 virtual
void SetAudioPreload(
int audio_preload) noexcept = 0;
128 virtual
int GetMaxChunkDuration() const noexcept = 0;
129 virtual
void SetMaxChunkDuration(
int max_chunk_duration) noexcept = 0;
131 virtual
int GetMaxChunkSize() const noexcept = 0;
132 virtual
void SetMaxChunkSize(
int max_chunk_size) noexcept = 0;
134 virtual
int GetUseWallclockAsTimestamps() const noexcept = 0;
135 virtual
void SetUseWallclockAsTimestamps(
int use_wallclock_as_timestamps) noexcept = 0;
137 virtual
int GetAvoidNegativeTs() const noexcept = 0;
138 virtual
void SetAvoidNegativeTs(
int avoid_negative_ts) noexcept = 0;
140 virtual
int GetAvioFlags() const noexcept = 0;
141 virtual
void SetAvioFlags(
int avio_flags) noexcept = 0;
143 virtual int64_t GetSkipInitialBytes() const noexcept = 0;
144 virtual
void SetSkipInitialBytes(int64_t skip_initial_bytes) noexcept = 0;
146 virtual
unsigned int GetCorrectTsOverflow() const noexcept = 0;
147 virtual
void SetCorrectTsOverflow(
unsigned int correct_ts_overflow) noexcept = 0;
149 virtual
int GetSeek2any() const noexcept = 0;
150 virtual
void SetSeek2any(
int seek2any) noexcept = 0;
152 virtual
int GetFlushPackets() const noexcept = 0;
153 virtual
void SetFlushPackets(
int flush_packets) noexcept = 0;
155 virtual
int GetProbeScore() const noexcept = 0;
157 virtual
int GetFormatProbeSize() const noexcept = 0;
158 virtual
void SetFormatProbeSize(
int format_probesize) noexcept = 0;
161 virtual
void SetAudioCodec(
164 virtual
void* GetOpaque() const noexcept = 0;
165 virtual
void SetOpaque(
void* opaque) noexcept = 0;
167 virtual int64_t GetOutputTsOffset() const noexcept = 0;
168 virtual
void SetOutputTsOffset(int64_t output_ts_offset) noexcept = 0;
173 virtual
void UpdateStreamList() noexcept = 0;
std::unique_ptr< AVOutputFormatWrapper > mOutputFormat
AVFormatContextWrapper(const AVFormatContextWrapper &)=delete
std::vector< std::unique_ptr< AVStreamWrapper > > StreamsList
std::unique_ptr< AVCodecWrapper > mForcedAudioCodec
std::unique_ptr< AVIOContextWrapper > mAVIOContext
AVFormatContextWrapper & operator=(AVFormatContextWrapper &)=delete
AVFormatContextWrapper(AVFormatContextWrapper &&)=delete
std::unique_ptr< AVInputFormatWrapper > mInputFormat
AVFormatContextWrapper & operator=(AVFormatContextWrapper &&)=delete