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?


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.

  • Thanks,is it possible to pause until i resume by myself? – RYN Oct 27 '11 at 20:37
  • 2
    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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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