Add config options to fine tune the x264 encoder

This commit is contained in:
loki
2019-12-06 20:52:08 +01:00
parent f9c76828d4
commit d0f0e0b239
5 changed files with 29 additions and 12 deletions

View File

@@ -10,6 +10,10 @@ struct video_t {
int max_b_frames;
int gop_size;
int crf; // higher == more compression and less quality
std::string profile;
std::string preset;
std::string tune;
};
struct stream_t {