6
1
I need to cut one video into multiple pieces with ffmpeg
.
When I cut just one episode
ffmpeg -i 001.mp4 -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:00:25.500 -strict -2 out1.mp4
or
ffmpeg -i 001.mp4 -vcodec copy -acodec copy -ss 00:00:25.500 -t 00:00:33.750 -strict -2 out2.mp4
my video is cut instantaneously.
But when I chain markers where I'd like to cut
ffmpeg -i 001.mp4 -vcodec copy -acodec copy -ss 00:00:00.000 -t 00:00:25.500 -strict -2 out1.mp4 -ss 00:00:25.500 -t 00:00:33.750 -strict -2 out2.mp4
it still works, but it takes considerably more time (about 10 sec), and I see the same output as when I convert something.
Is something wrong with my ffmpeg-command
, or it is better to execute ffmpeg-commands
one by one?
1Don't reask, it will be better long term if you just let moderator;s migrate it. I have already flagged it, but if it gets closed without moving, just flag it yourself and ask a mod to move it. – psubsee2003 – 2013-06-12T00:27:26.647