28 int add_frame(tcb::span<ossia::float_vector>);
29 int add_frame(
const unsigned char* data, AVPixelFormat fmt,
int width,
int height);
32 bool available()
const noexcept {
return m_formatContext; }
35 AVDictionary* opt = NULL;
36 AVFormatContext* m_formatContext{};
38 std::vector<OutputStream> streams;
40 int audio_stream_index = 0;
41 int video_stream_index = 0;