set svt-av1 preset to 7 and quality to 28
All checks were successful
Trigger quay.io Webhook / run (push) Successful in 6s

This commit is contained in:
Dominic 2024-06-13 15:53:40 +02:00
parent f9129b2351
commit 13c03559d0
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -119,7 +119,7 @@ impl FfmpegOutput {
fn append_to_cmd(self, cmd: &mut Command, venc: bool, _aenc: bool, vaapi: bool) { fn append_to_cmd(self, cmd: &mut Command, venc: bool, _aenc: bool, vaapi: bool) {
// select codec and bitrate // select codec and bitrate
const QUALITY: &str = "18"; const QUALITY: &str = "28";
if venc { if venc {
let vcodec = match (self.format, vaapi) { let vcodec = match (self.format, vaapi) {
(FfmpegOutputFormat::Av1Flac, false) (FfmpegOutputFormat::Av1Flac, false)
@ -133,7 +133,7 @@ impl FfmpegOutput {
if vcodec == "libsvtav1" { if vcodec == "libsvtav1" {
cmd.arg("-svtav1-params").arg("fast-decode=1"); cmd.arg("-svtav1-params").arg("fast-decode=1");
cmd.arg("-preset").arg("8"); cmd.arg("-preset").arg("7");
} }
match self.video_bitrate { match self.video_bitrate {