Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
Christina Sørensen (cafkafk@pleroma.cafkafk.com)'s status on Friday, 11-Nov-2022 16:31:47 JSTChristina Sørensen If you wanna cut a video with ffmpeg, this is how you do it by the way.
ffmpeg -i input-file.mp4 -ss 00:4:20 -t 00:00:10 -c:v copy output-file.mp4
The -ss option is where to start the cut, -t flag is how much to cut after that time. If you wanna cut to a specific timestamp, use -to instead of -t.
ffmpeg -i input-file.mp4 -ss 00:4:20 -to 00:04:30 -c:v copy output-file.mp4
ffmpeg is scary but super powerful, just like ImageMagick.