Compare commits

..

2 Commits

Author SHA1 Message Date
e6f1f6cf9b Set maximum keyframe interval to 300 2024-08-13 00:36:21 +02:00
c6fec3b038 Add mono preset 2023-09-10 00:32:21 +02:00
2 changed files with 11 additions and 1 deletions

View File

@ -22,6 +22,14 @@ stereo:
mf: "1"
dnl: "5"
arnr_strength: "1"
mono:
alayout: "mono"
ba: "64k"
cpu: "3"
crf: "24"
mf: "1"
dnl: "5"
arnr_strength: "1"
anime:
alayout: "stereo"
ba: "128k"

View File

@ -7,7 +7,7 @@ import subprocess
import yaml
# Hannes' AV1 wrapper script
# Version 2.0.1
# Version 2.0.2
# This is a good guide for optimizing AV1 parameters with the AOM reference encoder:
# https://www.reddit.com/r/AV1/comments/t59j32/encoder_tuning_part_4_a_2nd_generation_guide_to/
@ -57,6 +57,8 @@ cmd += ["-crf", preset["crf"], "-b:v", "0"]
# Set minimum keyframe interval to 12 to prevent placing too many keyframes... just in case
cmd += ["-keyint_min", "12"]
# Set maximum keyframe interval to 300 for an improved decoding/seeking performance
cmd += ["-g", "300"]
# Set lookahead to 48 frames
# Reddit post says it's worth it...