Support headless mode

This commit is contained in:
Yukino Song
2024-08-21 23:39:41 +08:00
parent c071e4ae12
commit 8db50446a7
10 changed files with 104 additions and 86 deletions

View File

@@ -15,6 +15,7 @@
namespace config {
struct video_t {
bool headless_mode;
// ffmpeg params
int qp; // higher == more compression and less quality