[FFmpeg-user] Multiple parts of a video

Cecil Westerhof Cecil at decebal.nl
Sat May 28 17:28:14 EEST 2022


When I just want to have a certain part of a video, I can do something
like:
    ffmpeg -y -i input.MTS     \
           -ss 00:08           \
           -to 00:17           \
           -acodec copy        \
           -vcodec libx264     \
           -preset veryfast    \
           output.mp4

But what if I want several parts of a video in my video?
Do I need to cut the different parts out of the video and concatenate
them, or is it possible to do it with one command?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


More information about the ffmpeg-user mailing list