We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 297bf43 commit c8dea36Copy full SHA for c8dea36
1 file changed
ffcvt.go
@@ -339,6 +339,15 @@ func transcodeFile(inputName string) {
339
args = append(args, "-reset_timestamps")
340
args = append(args, "1")
341
}
342
+ if len(Opts.Speed) > 0 {
343
+ args = append(args, "-filter_complex")
344
+ args = append(args, fmt.Sprintf("[0:v]setpts=PTS/%s[v];[0:a]atempo=%s[a]",
345
+ Opts.Speed, Opts.Speed))
346
+ args = append(args, "-map")
347
+ args = append(args, "[v]")
348
349
+ args = append(args, "[a]")
350
+ }
351
if len(cutOps) != 0 {
352
args = append(args, "-filter_complex")
353
args = append(args, cutOps)
0 commit comments