Skip to content

Commit

Permalink
- [*] enable concatenating videos into one
Browse files Browse the repository at this point in the history
  • Loading branch information
suntong committed Jan 2, 2021
1 parent 8a07993 commit 3194042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ffcvt.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ func transcodeFile(inputName string) {
}
}

args := encodeParametersS(encodeParametersA(encodeParametersV(
[]string{"-i", inputName})))
args := []string{"-i", inputName}
args = append(args, strings.Fields(Opts.OptExtra)...)
args = encodeParametersS(encodeParametersA(encodeParametersV(args)))
if Opts.Force {
args = append(args, "-y")
}
args = append(args, strings.Fields(Opts.OptExtra)...)
args = append(args, flag.Args()...)
args = append(args, outputName)
debug(Opts.FFMpeg+" "+strings.Join(args, " "), 1)
Expand Down

0 comments on commit 3194042

Please sign in to comment.