From aee79749bde4216f4f52e7c2e3c21011ce888a4f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 20 Aug 2024 01:37:28 +0200 Subject: Also revert av1 quality --- src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index d3edf55..af1c966 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -467,16 +467,16 @@ static AVCodecContext *create_video_codec_context(AVPixelFormat pix_fmt, if(codec_context->codec_id == AV_CODEC_ID_AV1 || codec_context->codec_id == AV_CODEC_ID_H264 || codec_context->codec_id == AV_CODEC_ID_HEVC) { switch(video_quality) { case VideoQuality::MEDIUM: - codec_context->global_quality = 160 * quality_multiply; + codec_context->global_quality = 180 * quality_multiply; break; case VideoQuality::HIGH: - codec_context->global_quality = 130 * quality_multiply; + codec_context->global_quality = 140 * quality_multiply; break; case VideoQuality::VERY_HIGH: - codec_context->global_quality = 110 * quality_multiply; + codec_context->global_quality = 120 * quality_multiply; break; case VideoQuality::ULTRA: - codec_context->global_quality = 90 * quality_multiply; + codec_context->global_quality = 100 * quality_multiply; break; } } else if(codec_context->codec_id == AV_CODEC_ID_VP8) { -- cgit v1.2.3