From 870967759282f4ad850f40109ae0b12b4b55d577 Mon Sep 17 00:00:00 2001 From: fireattack Date: Fri, 15 Oct 2021 23:34:13 -0500 Subject: [PATCH] Fix wrong parameter for safe --- utils/ffmpeg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ffmpeg.go b/utils/ffmpeg.go index 730d186e3..c95d5adeb 100644 --- a/utils/ffmpeg.go +++ b/utils/ffmpeg.go @@ -50,7 +50,7 @@ func MergeToMP4(paths []string, mergedFilePath string, filename string) error { mergeFile.Close() // nolint cmd := exec.Command( - "ffmpeg", "-y", "-f", "concat", "-safe", "-1", + "ffmpeg", "-y", "-f", "concat", "-safe", "0", "-i", mergeFilePath, "-c", "copy", "-bsf:a", "aac_adtstoasc", mergedFilePath, ) return runMergeCmd(cmd, paths, mergeFilePath)