Page 1 of 2

Dynamic Generator

Posted: Wed Oct 30, 2013 12:04 am
by KingRandom
Hey guys, so I made up this program that in essence creates completely random "levels" for you.

What it does is set up a random playlist based off videos located in a folder on your hard drive.

The videos are linked based on the percentage of time that is left in the "level". So when the videos switch if the current video was 50% done, the next video will also come in at the same point. I have included options for autoplay or manual switching between random videos. I have plans in the future for lots of customization.

I only have a few hours into this so far, but it works well. With enough videos in a folder each viewing is usually significantly different, this process is truly dynamic unlike standard videos.

The program is written in Visual Studio and uses Windows Media Player, ive only tested wmv and mp4 files so far. Im not sure what is required to run it, but ill upload it for you guys to try.

Re: Dynamic Generator

Posted: Wed Oct 30, 2013 12:08 am
by KingRandom
http://www.mediafire.com/download/8jo1r ... erator.rar

The file size seems to small, I just uploaded what was in my Debug directory, the exe and a few dlls associated with it.

Image The interface

Re: Dynamic Generator

Posted: Wed Oct 30, 2013 12:18 am
by vitesse
Work with most codec here, but not files with FLV extension.

What kind of improvement you think to add? Metronome sound? Manually make play list?

So far it does what you say it does and don't seem to crash.

Re: Dynamic Generator

Posted: Wed Oct 30, 2013 1:13 am
by KingRandom
Music/Metronome support, On screen text, beat patterns, better control over the speed/pacing of the cuts.

Right now autoplay goes to the next clip every 15 seconds, id like to create better options for that.

Its really just a work in progess I thought I would share.

Re: Dynamic Generator

Posted: Wed Oct 30, 2013 1:29 am
by Trusfrated
This looks really good so far. I really like the ability to play videos randomly, and this is a nice twist on the idea.

I don't really understand what the "length" number controls. Can you explain that further? Does that mean it plays through to 100% 20 times? Is that what a "level" is? How does the Length control relate to the 15 seconds per video?

I know it is very early on, but I would appreciate a checkbox or something to include subdirectories under the one the selected.

Also, this is probably obvious, but it did crash for me when I changed the Length to zero. Apparently it is looking at all files in a folder, because it tried to play a non-video file also.

Thanks for sharing! :wave:

Re: Dynamic Generator

Posted: Wed Oct 30, 2013 1:23 pm
by SexualChoc
Sounds fantastic
But I don't keep videos on my computer..
just look at them on the internet.

Re: Dynamic Generator

Posted: Sat Nov 02, 2013 1:21 am
by Nipps
Great idea! It keeps putting me out of fullscreen each time it switches the scene with autoplay, and if you maximize it the interface shows on top of the video so it makes you watch the videos in a small box. Other than that it works pretty well what I can tell.

Re: Dynamic Generator

Posted: Wed Nov 06, 2013 2:52 am
by PopPop!
This looks interesting, but the link seems to be down. Anywhere else I can find the program?

Re: Dynamic Generator

Posted: Wed Nov 06, 2013 12:21 pm
by kell42

Re: Dynamic Generator

Posted: Fri Nov 08, 2013 4:28 pm
by rmania
where do I extract this? or how to run it. I extracted it and it wouldnt work. DO you have any instructions for setup?
Thanks

Re: Dynamic Generator

Posted: Sat Nov 09, 2013 3:09 pm
by kell42
rmania wrote:where do I extract this? or how to run it. I extracted it and it wouldnt work. DO you have any instructions for setup?
Thanks
I just extracted it to it's own folder, and ran the .exe file. Worked like a charm.

I can't say for sure, but I wouldn't be surprised if this required some flavor of the Microsoft .net framework to run correctly.

Perhaps the creator could chime in with something more definite?

Re: Dynamic Generator

Posted: Fri Feb 05, 2016 1:13 am
by Trusfrated
Sorry to dig up an old thread, but I came across this program on my computer and tried playing with it again. I thought the idea was good, but didn't really care for the execution. (KingRandom created his account, made three posts about his program, and never returned to Milovana, unfortunately.)

It got me interested in trying to find something similar. I have a HUGE archive of videos. I have so many I have forgotten many of them, but if I saved it, it must mean I liked it. So, I thought it would be fun to have a video player play random samples of random videos so I could rediscover some old gems.

For instance:
  • take 100 videos
  • shuffle them (if you want)
  • then, play a predetermined number of seconds of each one (or multiple excerpts of each if you prefer)
  • starting at a random spot in each video
Sound like fun? This could work with CH or virtually any porn video.

So, this is what I found. It's a extension for VLC called Sampler.

http://addons.videolan.org/content/show ... ent=149688

Image

It can be installed from within VLC automatically and is quite easy to use. It basically takes half a minute to set up your playlist (based on a folder and its subfolders) with your desired parameters and then you just hit Play.

It seems to work pretty well in my opinion. Hope someone else finds this useful! :wave:

Re: Dynamic Generator

Posted: Fri Feb 05, 2016 5:26 pm
by Blank
It is not so easy for me, I have problems:

- When I try to read a playlist it only reads one sample and loops it.
- Randomization doesn't work: each sample of a same video starts at the same point.
- When I try to select and read different samples to see what's going on, vlc freezes, even if I just feed one 100mb video in the playlist.

Re: Dynamic Generator

Posted: Sat Feb 06, 2016 10:39 am
by Trusfrated
I'm not sure if I'm qualified to troubleshoot your problem, but here's what I'm doing:

VLC 2.2.1

Media...Open Folder...select a folder full of videos. This creates a playlist.

First video starts playing, but press Stop. Now, go to the View menu and select Samples Playlist Generator.

In that box, select Read Playlist. This reads the list into the Sampler. Next, recommend selecting the Profile called Music Collage, then hit Apply Profile. This loads a preset of some settings (1 sample per video and 15 second duration). You can change these if you want. I like to have Random Position checked. I also change the Skip Begin/End values to zero because most of my videos don't have intros or credits at the end.

Next, press Clear Playlist, to empty out the old Playlist. Then check Shuffle Tracks. If you want them all to play forever, check Autofeed.

Now, click Feed List to build your new playlist. You can now close the Sampler window. If you want, you can go to View Playlist to see the new collection of random videos to be played. (But that would spoil the surprise. :-P )

Now, just press Play on the original video window and your new random show should start!

That's what has worked for me; I'm using Windows 7 but would assume the process is the same on any recent version of VLC.

Oh, and as far as the random spot being the same each time, you would need to clear and recreate the playlist for it to generate a new spot each session. When I did that, it gave me different random clips.

Re: Dynamic Generator

Posted: Sat Feb 06, 2016 8:54 pm
by Blank
Alright, thanks for the precise instructions, I have upgraded from 2.2.0 to 2.2.1, I don't know if it is this or something else but now the randomization works and it doesn't freezes anymore. But it's still looping one sample. I have to launch the next sample manually. Actually it happens regardless of the extension, with all videos played by vlc. And when I look into preferences, the option to repeat the current playlist item is unchecked, so I'm weirded out here, I don't know what the problem could be, such a basic feature though...