Switch Controller
Loading...
Searching...
No Matches
src
FFmpeg
FFmpegRecorder.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
FFmpegDecoder.h
"
4
#include "
FFmpegFrameSink.h
"
5
6
extern
"C"
{
7
#include <libavformat/avformat.h>
8
}
9
10
#include "
pch.h
"
11
12
class
FFmpegRecorder
{
13
public
:
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
};
FFmpegDecoder.h
FFmpegFrameSink.h
FFmpegRecorder
Definition:
FFmpegRecorder.h:12
FFmpegRecorder::m_thread
std::jthread m_thread
Definition:
FFmpegRecorder.h:18
pch.h
Generated by
1.9.6