How to play a video at a random start time?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
chunter
New Cone
New Cone
Posts: 8
Joined: 02 Jun 2013 02:26

How to play a video at a random start time?

Postby chunter » 01 Apr 2014 04:20

I know how to take a movie and just play a clip of it a specified start and stop time. Like this:

Code: Select all

<track> <location>file://D/Video/Movies/Turbo.mkv</location> <duration>5740736</duration> <extension application="http://www.videolan.org/vlc/playlist/0"> <vlc:id>54</vlc:id> <vlc:option>start-time=3241.000</vlc:option> <vlc:option>stop-time=3294.000</vlc:option> </extension> </track>

What I would like to do is play a clip of a movie that has a random start time? Is this possible? Thanks

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: How to play a video at a random start time?

Postby mederi » 01 Apr 2014 15:01

Here is one solution for VLC-2.0.x: Sampler.
Another solution is a playlist generator. Clipper is the manual playlist generator that could be enhanced with an automatic part for clips with random start time. Or you can try to write your own extension script: Scripting VLC in Lua.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 107 guests