set render quality to 24

This commit is contained in:
Dominic 2023-11-02 22:40:49 +01:00
parent ca3ab6a788
commit 164c6f9bac
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ struct Args {
#[clap(short = 'c', long, default_value = "23ws-malo")]
course: String,
#[clap(short, long, default_value = "2G")]
#[clap(short, long, default_value = "8G")]
mem_limit: String
}

View file

@ -160,7 +160,7 @@ impl Ffmpeg {
if vaapi {
cmd.arg("-c:v").arg("h264_vaapi");
cmd.arg("-rc_mode").arg("CQP");
cmd.arg("-global_quality").arg("22");
cmd.arg("-global_quality").arg("24");
} else if venc {
cmd.arg("-c:v").arg("libx264");
cmd.arg("-crf").arg("22");