diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-04-08 02:03:50 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-04-08 02:03:50 +0200 |
commit | de72b93b0d0ccf3dffaaf196aa4fd05fff66dd85 (patch) | |
tree | 30a526ad58286b570b058f9f47a47656488ff1e2 | |
parent | 6a92aaba7f5fa9c6c37027995b0d1ed50f206742 (diff) |
Better amd/intel quality tuning
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5beabd8..9e4ae4e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -602,16 +602,16 @@ static void open_video(AVCodecContext *codec_context, VideoQuality video_quality } else { switch(video_quality) { case VideoQuality::MEDIUM: - av_dict_set_int(&options, "qp", 37, 0); + av_dict_set_int(&options, "qp", 32, 0); break; case VideoQuality::HIGH: - av_dict_set_int(&options, "qp", 32, 0); + av_dict_set_int(&options, "qp", 28, 0); break; case VideoQuality::VERY_HIGH: - av_dict_set_int(&options, "qp", 27, 0); + av_dict_set_int(&options, "qp", 24, 0); break; case VideoQuality::ULTRA: - av_dict_set_int(&options, "qp", 21, 0); + av_dict_set_int(&options, "qp", 18, 0); break; } |