mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-02 14:29:11 +02:00
fix(video-clipper): add -t option to ffmpeg command to stop generation after duration
fixes #341
This commit is contained in:
parent
55c1d8904c
commit
60814b8d20
1 changed files with 1 additions and 0 deletions
|
|
@ -260,6 +260,7 @@ class VideoClipper
|
|||
"-f lavfi -i color=white:{$this->dimensions['width']}x{$this->dimensions['height']}",
|
||||
"-loop 1 -framerate 1 -i {$watermark}",
|
||||
'-filter_complex "' . implode(';', $filters) . '"',
|
||||
'-t ' . $this->duration,
|
||||
'-map "[outfinal]"',
|
||||
'-map 0:a',
|
||||
'-acodec aac',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue