Switch Controller
Loading...
Searching...
No Matches
FFmpegRecorder.h
Go to the documentation of this file.
1#pragma once
2
3#include "FFmpegDecoder.h"
4#include "FFmpegFrameSink.h"
5
6extern "C" {
7#include <libavformat/avformat.h>
8}
9
10#include "pch.h"
11
13public:
14 FFmpegRecorder(const std::string &inputFormat,
15 const std::string &deviceName,
16 const std::map<std::string, std::string> &options,
17 std::vector<std::unique_ptr<FFmpegFrameSink>> &sinks);
18 std::jthread m_thread;
19};
Definition: FFmpegRecorder.h:12
std::jthread m_thread
Definition: FFmpegRecorder.h:18