How to play only a part from a video with VLC

vlc-media-player

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"?

Best Answer

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.

Related Question