From cdbf7f356ebeb71eb78b208a32717f4019aa2c7e Mon Sep 17 00:00:00 2001 From: vladaad <59199127+vladaad@users.noreply.github.com> Date: Wed, 23 Aug 2023 00:04:24 +0200 Subject: [PATCH] -fps_mode instead of -vsync --- encoder/video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encoder/video.go b/encoder/video.go index 6192e24..29e9529 100644 --- a/encoder/video.go +++ b/encoder/video.go @@ -90,7 +90,7 @@ func EncodeVideo(video *settings.Vid, pass int) { if strings.ToLower(video.Output.Settings.Container) == "mp4" { options = append(options, "-movflags", "+faststart") } - options = append(options, "-vsync", "vfr") + options = append(options, "-fps_mode", "vfr") // WebM H264 trick if video.Output.Settings.Container == "webm" {