Skip to content

Commit

Permalink
-fps_mode instead of -vsync
Browse files Browse the repository at this point in the history
  • Loading branch information
vladaad committed Aug 22, 2023
1 parent ed0d82c commit cdbf7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encoder/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit cdbf7f3

Please sign in to comment.