Set minimum interval between keyframes to 12

This commit is contained in:
Hannes Braun 2022-12-29 00:18:23 +01:00
parent 19b9db37aa
commit 4d09a6a489
Signed by: hannesbraun
GPG Key ID: 7B6557E1DFD685BE
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if args.mf is not None:
preset["mf"] = args.mf
cmd = ["ffmpeg", "-i", args.input, "-c:v", "libaom-av1", "-c:a", "libopus", "-c:s", "copy", "-map", "0",
"-crf", preset["crf"], "-b:v", "0"]
"-crf", preset["crf"], "-b:v", "0", "-keyint_min", "12"]
if args.crop is not None:
cmd += ["-vf", "crop=" + args.crop]
if args.no10bit is None: # Encode to 10 bit per default