Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 6 down vote accepted

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

`-ss position'

Seek to given time position in seconds. hh:mm:ss[.xxx] syntax is also supported.

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: – rogerdpack Sep 12 '12 at 19:18

You could use dmMediaConverter with Split option, it will do it quickly without re-encoding. It is a ffmpeg GUI. enter image description here

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .