Skip to content

Commit

Permalink
Fix wrong parameter for safe
Browse files Browse the repository at this point in the history
  • Loading branch information
fireattack committed Oct 16, 2021
1 parent 76306a4 commit 8709677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/ffmpeg.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8709677

Please sign in to comment.