Page 1 of 1

Play random parts of random videos?

Posted: 12 Apr 2012 09:20
by 12padams
Hi, there is a really cool program I found here: styxar.com/vidrand.htm

You choose a folder and it plays random parts of random videos in the interval that you specify (e.g. 10 seconds). It automatically gets the videos in subfolders and well and is almost perfect. Theres just one problem!!!! AVI only :(

Anyone know how to do this with vlc?

Re: Play random parts of random videos?

Posted: 12 Apr 2012 18:58
by VLC_help
VLC itself doesn't have feature like that. But you could script it, so something like

Code: Select all

vlc randomvideo.mp4 --start-time=12.3 --run-time=10.0
problem is that some files have incorrect timecodes or VLC cannot parse them. Files like that wouldn't work as one would expect.

Re: Play random parts of random videos?

Posted: 17 Dec 2017 06:42
by starpause
This superuser question has a more complete example of how to achieve this with VLC

https://superuser.com/questions/81044/p ... -5-minutes

There are some software packages that have done this, but the ones I know of are abandonware... shell scripts never die ;)

Styxar Video Randomizer (Windows, AVI only)
Voop (OSX, Quicktime only) http://metastatic.org/source/Voop/

Re: Play random parts of random videos?

Posted: 27 Dec 2017 21:01
by starpause
python example for the scripting approach: https://superuser.com/questions/81044/p ... -5-minutes

Re: Play random parts of random videos?

Posted: 28 Dec 2017 13:45
by mederi
Try VLC Extension: Sampler (PG)