aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-08 02:03:50 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-08 02:03:50 +0200
commitde72b93b0d0ccf3dffaaf196aa4fd05fff66dd85 (patch)
tree30a526ad58286b570b058f9f47a47656488ff1e2 /src/main.cpp
parent6a92aaba7f5fa9c6c37027995b0d1ed50f206742 (diff)
Better amd/intel quality tuning
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
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;
}