How to download x seconds of a video hosted on an HTTP server?

There is an HTTP video http://example.com/video.mp4 and I want to download x seconds of it. How to do it?


  • Use less bandwidth than downloading the whole video, and then cutting it (can download a bit more if necessary and then cut).
  • Result should be a valid video file, not corrupt.
  • The more formats the better.
  • Free.
  • 1
    Maybe you can use VLC's network streaming/converting feature in conjunction with its stop time option. (Note: this is a wild guess, I've never tried it before.)
    – ComFreek
    Commented May 12, 2014 at 21:19
  • 1
    This should work. Read this link for more information: videolan.org/doc/streaming-howto/en/ch06.html
    – VicAche
    Commented May 13, 2014 at 20:59
  • Actually I searched for a program which can download x seconds of a stream, but VLC can do both (partially downloading a file or a stream, actually anything VLC can play)! It can be even done with GUI. @ComFreek convert your comment to an answer and I'll accept it. Commented Aug 23, 2014 at 5:41

1 Answer 1



  • Is there a way to provide time in h:m:s without converting it to seconds? Commented Aug 26, 2014 at 9:36
  • @SmitJohnt There is no way to do that, as far as I know. You can write a shell/Batch/PowerShell script to automate the conversion.
    – ComFreek
    Commented Aug 26, 2014 at 10:55
  • I want to use it from GUI Commented Aug 26, 2014 at 11:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.