Take the 2-minute tour ×

I'm trying to clip some movie from time A to time B using ffmpeg.

I can set how long the target video should be using the -t flag, but how should I tell it to start that time from time A?

In other words: I have a movie with the length of 10 minutes – I want to clip it to get only 5 minutes of it, starting from minute 2. How can I tell ffmpeg what I want?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

You you tried the -ss option? From the ffmpeg documentation:

`-ss position'


share|improve this answer
I've tried that but the point was I had to put it before -i option i've always tried it after that. –  Ali.S Jun 5 '11 at 15:48
appears that location of -ss makes a difference: ffmpeg.org/trac/ffmpeg/wiki/Seeking%20with%20FFmpeg –  rogerdpack Sep 12 '12 at 19:18
add comment

You could use dmMediaConverter with Split option. It is a free ffmpeg gui. http://dmsimpleapps.blogspot.com/2014/04/dmmediaconverter.html

share|improve this answer
add comment

Your Answer


