LibavOutputSettings.hpp
1 #pragma once
2 #include <Gfx/SharedOutputSettings.hpp>
3 #include <Media/Libav.hpp>
4 
5 #include <ossia/detail/hash_map.hpp>
6 
7 #include <QSize>
8 #include <QString>
9 extern "C" {
10 #include <libavutil/pixfmt.h>
11 }
12 
13 namespace Gfx
14 {
16 {
17  QString path;
18  int width{};
19  int height{};
20  double rate{};
21  AVPixelFormat hardwareAcceleration{AV_PIX_FMT_NONE};
22  QString audio_encoder_short, audio_encoder_long;
23  QString audio_converted_smpfmt;
24  double audio_sample_rate{44100.};
25  int audio_channels{2};
26  QString video_encoder_short, video_encoder_long;
27  QString video_render_pixfmt;
28  QString video_converted_pixfmt;
29  QString muxer, muxer_long;
30  ossia::hash_map<QString, QString> options;
31  int threads{};
32 };
33 }
Binds the rendering pipeline to ossia processes.
Definition: CameraDevice.cpp:28
Definition: LibavOutputSettings.hpp:16