3 #include <Media/Libav.hpp>
5 #include <Gfx/Libav/LibavOutputSettings.hpp>
7 #include <ossia/detail/pod_vector.hpp>
9 #include <tcb/span.hpp>
11 #include <libavcodec/avcodec.h>
12 #include <libavdevice/avdevice.h>
13 #include <libavformat/avformat.h>
14 #include <libavutil/pixdesc.h>
15 #include <libswscale/swscale.h>
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;
Binds the rendering pipeline to ossia processes.
Definition: CameraDevice.cpp:28
Definition: LibavEncoder.hpp:22
Definition: LibavOutputSettings.hpp:16