I have a video lasting 10 minutes which I want to cut into five 2-minute segments.
I can use ffmpeg to cut a video to a specific time with the following:
ffmpeg -sameq -ss [start_seconds] -t [duration_seconds] -i [input_file] [outputfile]
Do I first have to obtain the length of the video and then repeat the above command, or is there a simpler way to do this?