set render quality to 24
This commit is contained in:
parent
ca3ab6a788
commit
164c6f9bac
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ struct Args {
|
||||||
#[clap(short = 'c', long, default_value = "23ws-malo")]
|
#[clap(short = 'c', long, default_value = "23ws-malo")]
|
||||||
course: String,
|
course: String,
|
||||||
|
|
||||||
#[clap(short, long, default_value = "2G")]
|
#[clap(short, long, default_value = "8G")]
|
||||||
mem_limit: String
|
mem_limit: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ impl Ffmpeg {
|
||||||
if vaapi {
|
if vaapi {
|
||||||
cmd.arg("-c:v").arg("h264_vaapi");
|
cmd.arg("-c:v").arg("h264_vaapi");
|
||||||
cmd.arg("-rc_mode").arg("CQP");
|
cmd.arg("-rc_mode").arg("CQP");
|
||||||
cmd.arg("-global_quality").arg("22");
|
cmd.arg("-global_quality").arg("24");
|
||||||
} else if venc {
|
} else if venc {
|
||||||
cmd.arg("-c:v").arg("libx264");
|
cmd.arg("-c:v").arg("libx264");
|
||||||
cmd.arg("-crf").arg("22");
|
cmd.arg("-crf").arg("22");
|
||||||
|
|
Loading…
Reference in a new issue