Skip to content
Snippets Groups Projects
Commit 60814b8d authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix(video-clipper): add -t option to ffmpeg command to stop generation after duration

fixes #341
parent 55c1d890
No related branches found
No related tags found
No related merge requests found
Pipeline #13693 passed
Pipeline: Castopod

#13696

    ......@@ -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',
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment