Clip spesific part from Media file using FFmpeg

To extract a specific part from an audio or video file, we use both -ss and -t options, FFplay displays the current time in the left corner and the playback can be paused on/off with the spacebar or a P key.

For example, to save the 5-minute (4×60=240 seconds from the start) from the file film.mpg, we can use the command:

ffmpeg -i film.mpg -ss 240 -t 60 clip_5th_minute.mpg

Published by


Codecs Lover

Leave a Reply