Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

Is it possible to write an action file (e.g. a script) that plays some video files?
I need it to be programmable to automatically perform these actions:

  • start from a specific time
  • play up to a specific time
  • going to a specific time
  • changing playing speed
  • pausing
  • going to next video file

Can VLC or Mplayer do this? what's the easiest way of doing this?

share|improve this question
up vote 5 down vote accepted

I would use a playlist in VLC. It supports some special commands like start, stop and pause.
Like this example:

#EXTINF:,Video title 1
#EXTINF:,Video title 1
#EXTINF:,Another movie

Paste into a m3u-file and play with VLC.
This would play the first 25 secs of Video_filename1.wmv, pause for 10 secs, play 10 secs more and then jump to Anothermovie.avi at 35 secs into the move and the play 2 minutes.

share|improve this answer
Thanks,is it possible to pause until i resume by myself? – RYN Oct 27 '11 at 20:37
Unfortunately no, I don't think so. You can still use the manual controls in VLC or start it with --play-and-stop to make VLC pause after each playlist item. – micke Oct 27 '11 at 21:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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