I am reading in several remote video files using ffmpeg and saving short clips of them. For example, if I want to take a 5 second clip of an hour long video at the 30 minute mark, I would create a command like this:

ffmpeg -ss 1800 -i "http://example.com/example.mp4" -ss 0 -t 5 -c:v copy -c:a copy out.mp4

This works fine and dandy but it takes FOREVER because it seems to simply start downloading at the beginning and finishes when it gets to the point that I want.

How can I make ffmpeg (or perhaps another utility?) skip ahead to the point in the video that I want rather than streaming through the entire thing? I assume it is possible since flash video players are able to do this.

  • Perhaps I'm missing something, but that question doesn't have any answers and it's very old too. – Marty Aug 7 '13 at 16:54
  • It's related, so I'm linking it. I'd actually mark it as a possible duplicate, but I can't since it has no answers. – Ƭᴇcʜιᴇ007 Aug 7 '13 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.