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 want to play a movie file from the commandline but not from start to end. Is it possible to use command line options that say "start the video from 0:05:17" and "stop the video on "00:49:32"?

share|improve this question
up vote 6 down vote accepted

This worked with mine (Windows 7, VLC 1.1.11):

start "C:\Program Files\VLC\vlc.exe" "D:\Movies\The Italian Job.avi" --start-time 12 --stop-time 20

Just replace the file paths & seconds accordingly. The number 12 means the movie will start playing at the 12th second; the 20 means it'll stop at the 20th second.

share|improve this answer
    
Thank you this works! – peter Aug 21 '11 at 10:40
    
You're welcome! :) – Kaze Aug 21 '11 at 10:58
    
I just signed up, to upvote. Thank you :) – q126y Jun 29 at 19:27

You must log in to answer this question.

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