set svt-av1 preset to 7 and quality to 28
All checks were successful
Trigger quay.io Webhook / run (push) Successful in 6s
All checks were successful
Trigger quay.io Webhook / run (push) Successful in 6s
This commit is contained in:
parent
f9129b2351
commit
13c03559d0
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue