[APP] Cock Hero Video Player

Discussion about Cock Hero and other sexy videos.

Moderator: andyp

PuzzleheadedWasabi
Explorer
Explorer
Posts: 29
Joined: Sat Jun 09, 2018 2:17 am

Re: [APP] Cock Hero Video Player

Post by PuzzleheadedWasabi »

There's nothing inherently evil about Microsoft hahaha... all the discussion I've seen seem to suggest that the acquisition was a good thing. Time will tell I suppose. I'd definitely pop your stuff on GitHub, just because it's easier for people to browse your code that way. Plus issues, history, pull requests. You can always provide a zip here alongside. Up to you of course.
doremi wrote: Tue Dec 03, 2019 12:29 pm Your solution is bound to Windows so I won't explore it.
If anyone actually ends up using Wasabi, from what I've read, it's quite possible to get C# to work across Windows / Mac / Linux. The only icky bit appears to be the UI framework, but the UI is the least important part of Wasabi - in a perfect world it doesn't exist. So I don't think this would be very difficult to do at all. The only thing I can think of that is Windows specific right now is the location of the vlcrc config file, but that's easy to change for each platform. I don't even use process data, it's just sockets.
doremi wrote: Tue Dec 03, 2019 12:29 pm Also, comparing the two interfaces, the one I chose seems simpler to use
Are you talking about the VLC rc console vs libvlc? I agree rc is not the best, or at least my implementation for reading data being sent by vlc isn't - sending is fine. This was a really quick PoC so I just went with what seemed easier, I'm sure that libvlc would be better. Do you know if libvlc can interface with a running VLC instance? That was my big requirement, and I couldn't find any sign showing it was possible, it seemed to be more a way to embed an instance of VLC into your application. Am I wrong?
doremi wrote: Tue Dec 03, 2019 12:29 pm I'm not convinced I need to switch direction
Oh, I wouldn't ask you to. You do you. I think the community will end up deciding what tool they want to use (if any lol), and may the best tool win >:D
User avatar
Liquid
Explorer At Heart
Explorer At Heart
Posts: 153
Joined: Sat Jun 06, 2015 10:24 pm

Re: [APP] Cock Hero Video Player

Post by Liquid »

Seems I'm in good company here :-)

I created a video player that syncs your sextoys (e.g. Fleshlight Launch) to videos with the help of haptic files (e.g. FunScript, like subtitles for your dick :lol: ). If you want to add something like that to your player, I can recommend Buttplug/Intiface, which has a client available as a NuGet package.
User avatar
doremi
Experimentor
Experimentor
Posts: 1207
Joined: Sat Apr 23, 2016 11:09 pm
Gender: Male
Sexual Orientation: Straight
Contact:

Re: [APP] Cock Hero Video Player

Post by doremi »

I'd definitely pop your stuff on GitHub
Be my guest, PuzzleheadedWasabi. It's Open Source after all. :-)
Do you know if libvlc can interface with a running VLC instance?
No idea! Perhaps the VLC developers could, but not me because the documentation is not always clear (to me). Another issue is that some features are not the exact same across platforms. So when you get something working consistently everywhere, you are happy. There are some features that the VLC people could easily provide/make public to improve the user's experience but the core developers team is definitely not interested, too many things on their plate, so these are dead in the water requests.

At one point I entertained the idea of just isolating and use only the part that plays a video but the code is so huge and complex. I can't do anything with this. Playing a video on a computer is a really complex task. What VLC achieve is nothing less than a miracle.

:hi:
You know, Liquid, your player is the first video player source code that I checked. Why re-invent the wheel, right? Also, there are already people using it. Adding some RPG features to it is only logical, right? Well, I got lost in an unravelable web of dependencies, library dependencies that is. If you can point me to the core file in charge of video playback, I'll check it out for sure.

Also, out of curiosity, can your system accept a FunScript filename and a microsecond timetag on the fly? If so, what I did can easily work with your kind of toys too.
[APP] Cock Hero Slideshow Player - Thinking about a script feature for [APP] Cock Hero Video Player :icecream:
If your video is too fat, there's a solution!
Spoiler: show
The generated output of your video editor may be bloated, too big for not any significant benefit. One thing you can do is use HANDBRAKE with the H.264 (x264), RF18 Constant Quality and Web Optimized / Fast Start options, all other options by default. You'd be surprised how smaller the video becomes, without any impact to the quality.
:yes:

LINKS:

HandBrake, The open source video transcoder
https://handbrake.fr/

For future reference, here's the original Hanbrake post by Eriol:
viewtopic.php?f=25&t=12815&hilit=Handbrake#p164242
Interesting for further details about the process.
:thumbsup:
So many projects to kill, so little time. :-)
User avatar
Liquid
Explorer At Heart
Explorer At Heart
Posts: 153
Joined: Sat Jun 06, 2015 10:24 pm

Re: [APP] Cock Hero Video Player

Post by Liquid »

doremi wrote: Tue Dec 03, 2019 7:14 pmYou know, Liquid, your player is the first video player source code that I checked. Why re-invent the wheel, right? Also, there are already people using it.
Yep, over 10k and counting, and that's just the latest release version from over a year ago :-)
doremi wrote: Tue Dec 03, 2019 7:14 pmAdding some RPG features to it is only logical, right? Well, I got lost in an unravelable web of dependencies, library dependencies that is. If you can point me to the core file in charge of video playback, I'll check it out for sure.
The local video player is in the VideoPlayer class, which is a heavily modified wrapper for the MediaPlayer class (async loading, fading between two videos, etc.). All the script handling happens in the ScriptHandler class, the information of which is passed on to a Device/DeviceManager.

I'm not sure if it's a suitable base for anything but a video player because many of the features have been purpose built and have 100 little settings that influence each other.
doremi wrote: Tue Dec 03, 2019 7:14 pm Also, out of curiosity, can your system accept a FunScript filename and a microsecond timetag on the fly? If so, what I did can easily work with your kind of toys too.
Kind of - If you take a look at the MainViewModel.LoadVideo(string, bool) method, this might be what you mean.
(especially the call to VideoPlayer.Open)

If you want to support toys, I'd recommand using the Buttplug Client library directly.
An example of that can be found in the ButtplugAdapter and ButtplugDevice classes (ScriptPlayer.Shared / Devices).
User avatar
qDot
Explorer
Explorer
Posts: 57
Joined: Mon Jun 01, 2009 2:17 am
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: None of the above
Contact:

Re: [APP] Cock Hero Video Player

Post by qDot »

Buttplug (https://buttplug.io) author here!

If you’ve got any questions about accessing toys in whatever language you’re working in, feel free to dm me, or I’ve got a discord at https://discord.buttplug.io. I’ll try to remember to check here but I haven’t been reading forums much lately. Happy to help with code for accessing hardware!

I’ll check out the linked github repo later today. All of my work is github hosted, https://github.com/buttplugio for most of the libraries, https://github.com/intiface for applications.
User avatar
book_guy
Experimentor
Experimentor
Posts: 1821
Joined: Sat Nov 26, 2011 2:42 am
Gender: Male
Sexual Orientation: Straight

Re: [APP] Cock Hero Video Player

Post by book_guy »

PuzzleheadedWasabi wrote: Tue Dec 03, 2019 10:40 am. I wrote essays above (and a shorter version at my first link, click it and scroll to the last set of dotpoints) on as to why I don't like them :-D
Thanks for the clarification no need glad it's all together :innocent:
●▬▬▬▬▬▬▬▬▬●▬▬▬▬▬▬▬▬▬●▬▬▬▬▬▬▬▬▬●
Are you missing a cock-hero video?
Me too. Since September 1, 2020, my Mega Sharing Zones contents are being removed by Mega.
●▬▬▬▬▬▬▬▬▬●▬▬▬▬▬▬▬▬▬●▬▬▬▬▬▬▬▬▬●
danoldlib
Explorer
Explorer
Posts: 20
Joined: Mon Oct 05, 2015 2:55 am

Re: [APP] Cock Hero Video Player

Post by danoldlib »

Tried this out on my arch install and none of my keyboard inputs did anything. Might give it a shot on Debian later.

Edit: Nevermind keyboard inputs work however I have to hold the key down for anywhere from 3-10 seconds for it to register. ¯\_(ツ)_/¯
User avatar
doremi
Experimentor
Experimentor
Posts: 1207
Joined: Sat Apr 23, 2016 11:09 pm
Gender: Male
Sexual Orientation: Straight
Contact:

Re: [APP] Cock Hero Video Player

Post by doremi »

danoldlib wrote: Thu Dec 05, 2019 4:44 am keyboard inputs work however I have to hold the key down for anywhere from 3-10 seconds for it to register. ¯\_(ツ)_/¯
Oh really! Strange! I would have expected there would be a delay of at most half a second for the KEY_DOWN event to be recognized, and that would have been normal. :hmmm: The platform inconsistencies are disappointing.

Thanks for trying it, danoldlib!
[APP] Cock Hero Slideshow Player - Thinking about a script feature for [APP] Cock Hero Video Player :icecream:
If your video is too fat, there's a solution!
Spoiler: show
The generated output of your video editor may be bloated, too big for not any significant benefit. One thing you can do is use HANDBRAKE with the H.264 (x264), RF18 Constant Quality and Web Optimized / Fast Start options, all other options by default. You'd be surprised how smaller the video becomes, without any impact to the quality.
:yes:

LINKS:

HandBrake, The open source video transcoder
https://handbrake.fr/

For future reference, here's the original Hanbrake post by Eriol:
viewtopic.php?f=25&t=12815&hilit=Handbrake#p164242
Interesting for further details about the process.
:thumbsup:
So many projects to kill, so little time. :-)
danoldlib
Explorer
Explorer
Posts: 20
Joined: Mon Oct 05, 2015 2:55 am

Re: [APP] Cock Hero Video Player

Post by danoldlib »

Thanks for making it! I look forward to trying out future releases.
User avatar
doremi
Experimentor
Experimentor
Posts: 1207
Joined: Sat Apr 23, 2016 11:09 pm
Gender: Male
Sexual Orientation: Straight
Contact:

Re: [APP] Cock Hero Video Player

Post by doremi »

Thanks, danoldlib! I was going to do a hard-coded version for Inferno Canto 2, the next logical step, but I think I'm done experimenting and should aim for a more useful generic version so anyone interested can cook up and share their favorite stories. The action list is small and simple, and that alone is very powerful for many cases. A text box to interact with the user is a must (easy with my Window compiler, a little more complicated on Un*x). And if I gain more understanding about Unix signals, I might be able to get rid of the keyboard reaction delay (there's none with my Windows version).

Also, I want to check what has been done for storing stories (timetag lists). If it can be compatible with the Randomizer, why not? Any of you use it? What do you like about it? What do you feel is missing? Anyway, the Cock Hero Inferno Canto 2 game is probably next.
:-D
[APP] Cock Hero Slideshow Player - Thinking about a script feature for [APP] Cock Hero Video Player :icecream:
If your video is too fat, there's a solution!
Spoiler: show
The generated output of your video editor may be bloated, too big for not any significant benefit. One thing you can do is use HANDBRAKE with the H.264 (x264), RF18 Constant Quality and Web Optimized / Fast Start options, all other options by default. You'd be surprised how smaller the video becomes, without any impact to the quality.
:yes:

LINKS:

HandBrake, The open source video transcoder
https://handbrake.fr/

For future reference, here's the original Hanbrake post by Eriol:
viewtopic.php?f=25&t=12815&hilit=Handbrake#p164242
Interesting for further details about the process.
:thumbsup:
So many projects to kill, so little time. :-)
fagustree
Explorer At Heart
Explorer At Heart
Posts: 186
Joined: Tue Oct 10, 2017 10:36 pm
Contact:

Re: [APP] Cock Hero Video Player

Post by fagustree »

doremi: as a fellow player creator, I'd like your feedback on the featureset I'm building here viewtopic.php?f=25&t=22191&p=272561#p272561
Author of https://cyoa.club https://test.cyoa.club
Drop by and chat on discord about the app if you're a developer or a user.
Sponsor my development at https://www.patreon.com/ftrees to help me spend more time adding features and keeping it running.
cockherolover
Explorer At Heart
Explorer At Heart
Posts: 307
Joined: Fri Oct 19, 2012 9:45 am

Re: [APP] Cock Hero Video Player

Post by cockherolover »

Just wanted to give a heads up that there was a project to create an online "randomizer", which would enable the CH player to move to any point in a streaming video (YouTube/Google Video/Drive enabled that) and also you could create your own perfect cock hero by utilizing best CH rounds (the ones that worked for you) of all CHs available or simply playing random rounds for you until you loose etc. I read you don't like online solutions, which is understandable as this project relied on the availability of videos online, which are no longer streaming sadly, so it was put on hold/abandoned. The project is hosted at: http://milovana-randomizer.appspot.com/ maintained by Milovana's user: maharajah
User avatar
doremi
Experimentor
Experimentor
Posts: 1207
Joined: Sat Apr 23, 2016 11:09 pm
Gender: Male
Sexual Orientation: Straight
Contact:

Re: [APP] Cock Hero Video Player

Post by doremi »

:thumbsup:
[APP] Cock Hero Slideshow Player - Thinking about a script feature for [APP] Cock Hero Video Player :icecream:
If your video is too fat, there's a solution!
Spoiler: show
The generated output of your video editor may be bloated, too big for not any significant benefit. One thing you can do is use HANDBRAKE with the H.264 (x264), RF18 Constant Quality and Web Optimized / Fast Start options, all other options by default. You'd be surprised how smaller the video becomes, without any impact to the quality.
:yes:

LINKS:

HandBrake, The open source video transcoder
https://handbrake.fr/

For future reference, here's the original Hanbrake post by Eriol:
viewtopic.php?f=25&t=12815&hilit=Handbrake#p164242
Interesting for further details about the process.
:thumbsup:
So many projects to kill, so little time. :-)
Post Reply