Looking for a computer program that...

Selfbondage software and other kinky developments

Moderators: Riddle, Shannon SteelSlave

Post Reply
snj
*
Posts: 15
Joined: 08 Jan 2013, 03:13

Looking for a computer program that...

Post by snj »

Is there a video player program you know of that can play samples / clips / previews of all the video files you drop into its playlist? I'm aware of video players that have a shuffle feature; instead of seeing entire video files (the ones I have on my computer range from 30 seconds to 6 minutes), I want to shuffle teases of each of the videos at random, just a 15 or 30 second clip and then it moves onto the next one. And not just the first 15 seconds of every video - starting from any point in the clip.

I will be locked stationary on top of a hitachi wand in front of my TV (hooked up from my laptop), and ive found that i can lose interest if a video file runs long. I want a continuously shuffled, random clip from any of the videos in the playlist, that way its a new stimuli every 15 or 30 seconds.

I may have overexplained it but its a particular thrill / idea ive been looking into.
User avatar
Dark_Lizerd
*****
Posts: 2416
Joined: 22 Oct 2006, 11:30
Location: New Mexico

Re: Looking for a computer program that...

Post by Dark_Lizerd »

No, you didn't overexplained it, in fact most people underexplain something...
And, no, not that I know of. No program that will play random bits and pieces...

Up to the last part, I would have sugusted a program here call dropper that can
play any video I've seen, but you would need to keep dropping files on it, and
it did not have any fancy controles...
All advice is checked, re-checked and verified to be questionable...
Don't ask, we both wont understand the answer...
http://www.mediafire.com/download/09dtr ... e_V2_2.exe Not just for nubies any more...
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Looking for a computer program that...

Post by Tenderfoot88 »

Hmm...I think the simplest solution to this is to just write a batch script.

What OS are you using? I can work up a template for a Windows or Linux script, I think.

You'll also need a media player that's shell/dos prompt compatible (most should be - Media Player Classic is a nice, simple option for Windows users, VLC probably would work too), and I'll need to know what it is so I can look up the appropriate syntax.

The script I'm envisioning will call 2 random numbers (I'm pretty sure dos can do this; I know Linux's shell can) - one will be used to select a file name from a list in a text file (which you'll make and list all the files you want to run in it), the other to select a timeframe between 15 and 30 seconds, at which point it will loop back on itself indefinitely. When you're free, you can interrupt it manually.
User avatar
Dark_Lizerd
*****
Posts: 2416
Joined: 22 Oct 2006, 11:30
Location: New Mexico

Re: Looking for a computer program that...

Post by Dark_Lizerd »

I got one working today...
Just point it to the folder with your vids and it will play the first 6 seconds, then load another vid and play that...
BUT, it's buggy and it can't play the file that the last time it ran, played well...
Looked good when it did run tho...
All advice is checked, re-checked and verified to be questionable...
Don't ask, we both wont understand the answer...
http://www.mediafire.com/download/09dtr ... e_V2_2.exe Not just for nubies any more...
snj
*
Posts: 15
Joined: 08 Jan 2013, 03:13

Re: Looking for a computer program that...

Post by snj »

im using a laptop that uses windows (7 i think). and ive been using vlc media player to run the video collection (with random shuffle on). that way, when im locked in, im forced to sit back and watch the random videos while trying my hardest not to cum.

would love to hear how you managed to get it to work!
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Looking for a computer program that...

Post by Tenderfoot88 »

Hmm...this is starting to look more complex than I had hoped. I'll be programming it in Java, since that's a programming language I'm actually comfortable with. (DOS is pretty limited and very finicky (especially when it comes to looping and randomization - batch files are to run repetitive tasks exactly the same way on command, so not really what you're looking for.) It seems Java has a means of running shell commands, so that should let me do all the randomization work, looping, etc, and just run vlc with appropriate options set.

Regarding those appropriate options:
I can have it run fullscreen, or not.
I can have it run muted, or not.
I can have it start at a randomly selected point in the video, though this slightly complicates the work on your end.

It'll need a file that lists filenames, the minutes and seconds of the length of each video, all separated. I like tab separated, since filenames never have tabs in them, but comma separated works too, as long as you don't have any commas in the filename. Best way to do this is to run Excel (or OpenOffice Calc or QuattroPro or your spreadsheeting program of choice), list filenames in column A, minutes in column B, and seconds in column C, then save as a .csv file. It should give you a configuration choice of what to use as the separating value - pick tab if it's allowed, then colon, then comma. (Windows doesn't let files use colons in their filenames, so it's also a safe option.)

The program will load the file (I'll tell you what to call it, or you can give me a name to use), randomly select a line, use the minutes/seconds to compute the full length, then randomly select a time between the start and the end (less 30 seconds if you want to rule out the possibility of hitting the end of the video, then run the video chosen starting at the time it determined randomly. Then it will wait a random amount of time between 15 and 30 seconds (or other interval), then start over (from the random line selection).

When you're done, you'll have to force-close it. I'm not that good with UI stuff even in Java, so I'll just have it run in a console window - the force close command in-console is Ctrl+C. If you want, I'll add a better looking interface after, but the first release will just be console based.

Working title, in homage to juvenile antics in Grade 9 Programming class: Do Porn Loop (Grade 9 version was Do Beep Loop - creates an unending very annoying string of beeps, and on those old computers, locked out the stop button in VB and Ctrl+Alt+Del)

Edit: I have most of the program done, and compiling. I've still got a few file reading issues to take care of before I can get to logic testing, though. (I've never gotten a handle on Java's IO system - I just work from code snippets for the most part.)
snj
*
Posts: 15
Joined: 08 Jan 2013, 03:13

Re: Looking for a computer program that...

Post by snj »

any update on getting a working program? really interested in seeing the finished product.
Vladimir Lem
*
Posts: 11
Joined: 21 Jun 2011, 17:07

Re: Looking for a computer program that...

Post by Vladimir Lem »

Just threw something together for fun. Seems to work fine as far as I can tell. It uses VLC. You need to enable the HTTP interface and assign a password for it in the advanced preferences of VLC. Set the same password in VLC Snippets (port usually remains 8080 and user is usually left blank), assign the playback length in seconds and you're good to go. Add some videos to VLC's playlist and hit the start button in VLC Snippets.
http://www.mediafire.com/download/m6yab ... _V_1_0.zip
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Looking for a computer program that...

Post by Tenderfoot88 »

Hmm, I've got a Java project that's most of the way there, also using VLC, but using a different means of setting it up. I've encountered a few problems, and likely won't have time to wrap it up this week - if Vladimir's option works for you, snj, let me know I can give up on my attempt.
Vladimir Lem
*
Posts: 11
Joined: 21 Jun 2011, 17:07

Re: Looking for a computer program that...

Post by Vladimir Lem »

Tender, if you need any help with your project don't hesitate to ask here. I'm kind of a Java guy myself so we might be able to figure it out together :)
Even though I use mostly Groovy now because Groovy makes Java awesome! :D
Tenderfoot88
***
Posts: 458
Joined: 17 Sep 2013, 08:00
Location: British Columbia, Canada

Re: Looking for a computer program that...

Post by Tenderfoot88 »

It's just a simple file opening glitch. Java.io.* is a bit of a pain to work with. Lots of advantages to the language (garbage collection and being cross platform, for instance), but java.io.* (and swing if you're trying to handcode it) are kinda awkward. I've just forgotten the command and haven't taken the trouble to look it up yet. Had lots of other things to deal with of late, and snj kinda disappeared for a while (I'd kinda been hoping for feedback on what I should do, since my method was to use a console command to tell vlc to start at a specific timestamp in the movie, it needs to include the video length in the file with the filenames, which complicates matters. Come to think of it, I didn't ask for the full path of the VLC install, which I'd need in the long run. VLC doesn't add its install directory to the path system variable.)

Your method is a lot more elegant, mine's a little easier to set up...though a lot more annoying to change the playlist it's working from. Plus, your method is actually in place, while I've got an hour or so of work to do, assuming no logic errors and no problems with running external console commands (and given I've never used the console commands for VLC or made Java run an external console command, and given I haven't done any serious programming in the past 5 years, that's a pretty big assumption.

Groovy looks nice, but if and when I get into programming again, I'd go with python. Most of the programming I do is little scripts to help out with tasks (heck, most of what I'm doing is more on the level of either spreadsheeting or batch files), so python's more suited to the kind of stuff I'm doing. (Especially since my stream-of-consciousness program layouts are basically python, less the code for the more complex function calls.)
Post Reply