Page 1 of 1

Shorten videos keeping the beginning and end

Posted: Sun Jun 02, 2019 11:46 am
by Angelica87
Hello everyone and thanks for the support you offer in this forum.
I have many videos that last between 20 and 45 minutes
I should make each video a trailer of about 3 minutes "it is not important the quality of the video editing" it is fundamental, however, that the beginning and the end are present.
Is there a ffmpeg command that extracts eg: the first 60 seconds of the video, the central 60 seconds and the final 60 seconds of the original video and then merge them into a 180 second video?
would be fine too: 90 seconds start and 90 final.

I state that the videos are really many and they all have different durations.
Thanks in advance to everyone