Motion Tracking Funscript Generator v0.5.x

@internetpornwho Please make sure that that you are using version v1.4.2 of OFS, because the command ofs.CreateProcess was added in this Version.

1 Like

Nialed it - works now. Thank you

Thanks for making this cool tool :slight_smile:

2 Likes

Hi, great tool! It really helps take out a lot of the monotony of scripting.

I have an issue that I can’t diagnose that I hope you can help with. No matter what I try, the top and bottom points always seem to be reversed. i.e. balls deep is a top point and just at the tip is a bottom point. This happens even when I try reversing the min and max points I am asked to set at the end of each run of the script.

Does this sound like an issue you’ve encountered before?

Before the tracking starts you can select with Tracking Metric how to handle bottom and top points.

Example: you can select the option y (up-down) or y inverted (down-up) if you want to track in y direction. Then the inverted option should output the points inverted bottom point → top point, top point → bottom point.

For me it is not clear witch representation is the correct one. But with the inverted or not inverted (normal) option you can select your preferred output. I mostly only test the y metric, because this is the only metric you need for vr videos. It is possible that there is a bug in the program for the other metrics and the points are not inverted. It would be helpful if you could list your dialog settings, so that I can reproduce the problem.

Hello!

I was trying to tinker around with files and pretty much see what I can do, however is it possible to use Supervised Mode and track/read movements when in the square but instead of stopping the recording it just reads the last input until the square is back inside the box and not off screen?

Plenty of projects I am attempting that would flow a little better if possible, is this already in the works as in figuring out? Or not planned. As long as I can find a way to keep recording the last moment without auto cancelling the recording I am set.

unfortunately, i do not fully understand your request. What I understood:

  • you want a supervised tracking method that it doesn’t stop tracking when the tracked feature is outside the selected area.

what I do not understand:

reads the last input until the square is back inside the box and not off screen?

  • why is this a question?
  • i can’t follow exactly how to handle the part where the feature is out of range (what should the tool output).
  • → a more detailed description would be helpful.

Concept

I made a rough diagram just make shifting some images.
More or less, trying to make a Supervised area for motion tracking only so that it records when the targeted area is inside of the supervisor area. But if the targeted area leave the supervised area it just maintains the last area scanned until the targeted area re-enters the supervised area.

This way is keeps recording and doesn’t stop like normal until:

  1. the person recording quits
  2. the video ends
2 Likes

Thank you for the pictures, now i understand your request. I will put the requested function on my todo list, but I don’t know yet when I have time to implement it (I currently have other projects open which are higher prioritized). Therefore it may take some time until the function is available.

Any consideration is more than accepted, the program works great even without it but to prevent multiple cuts of videos in the future, this one feature would likely make projects easier to script!

Thank you for all your hard work!

Thanks for the response, however I can confirm that there is no bug or software issue. I was just being dumb! I did not see the inverted right-left option. Using the correct option solves my “issue”.

I’m having problems installing the extension. Anyone had the same problem or knows the solution?
image

The OpenSSL version on your computer does not seem to match the version that was linked against when building the software…

I will add a description/instruction in the next few days so that you can install the extension manually without the installer.

supplement: The instruction are now available on Github below the automated install instruction (see here). If you need. If you need further help with the installation just let me know

1 Like

I just updated from 0.0.9 to 0.1.7 and Norton removed funscript-editor.exe for containing a Trojan. Am I the only one? Norton flagged funscript-editor.exe when I updated using the installer and manually.

It happended to me too earlier (although it was OpenFunscripter.exe since I don’t use the installer). I just restored it from quarantine since the identified threat was based on heuristics, not a specific virus signature. If you want to check the file in question with more than just Norton I recommend that you upload the file to https://www.virustotal.com which will run the file through ~60 different virus scanners and give you the result for each scan.

1 Like

Thanks. I had a suspicion that it was more suspected threat by Norton than actually known virus. I’ll give that site a try.

Currently having a problem where the generator would take quite a while to start up, then eventually start at a further time point and once I adjust the camera angle (using the visual prompt) it jumps to the right point (the last user defined point in the script and where I pressed the hotkey to start the process). Oddly enough, this just started happening to me recently. Any idea why this would be happening? Thanks for the script and any help would be greatly appreciated!

edit: i’ve tried with different videos/projects, tried reinstalling both OFS and the generator and now it gives me “The program crashed due to a fatal error” after waiting for the window to popup :frowning:

reinstalled both again and looks like im just back to square one where it would take a little longer than usual to load the window with the pov adjust. and then reverts back to the correct frame. no idea whats going on!

Thank you for your detailed description unfortunately I still do not fully understand the problem:

  • Does the Program jump to the correct frame (last user defined point in the script where you pressed the hotkey to start the process) only after you have confirmed the POV-VR menu and the menu to select the tracking points is now shown with the correct frame?
  • Does the Program jump to the correct frame when you change any view parameter of the POV-VR menu?
  • The problem is that the program takes too long to start.
  • Another problem → please describe in more detail.

Oddly enough, this just started happening to me recently.

Have you update the program or have the behavior changed without an update of the program?

Hi, thanks for replying. I’ll try to be more precise…

Does the Program jump to the correct frame (last user defined point in the script where you pressed the hotkey to start the process) only after you have confirmed the POV-VR menu and the menu to select the tracking points is now shown with the correct frame?

I think the answer to your question is yes. This is a short desc of what happens:
Hotkey → Generator Window pops up → Choose Pov window (shows image on wrong frame) → Tracking Points (shows image on correct frame)

Something I just noticed:

  • The time it takes to load the POV window is dramatically longer because the program is somehow choosing the incorrect frame (approx 30s in the future) instead of 30s before. So if I pressed my hotkey @ 2:29 in the video, it will show the 2:59 frame in the choose pov window. In another project, it can be as long as a 4 minute gap.

  • The program works fine on some of my other projects (.ofsp files)…(very weird!) This probably means the recent files I am trying to edit are corrupted in some way?

Does the Program jump to the correct frame when you change any view parameter of the POV-VR menu?

No, it is the same thing.

Have you update the program or have the behavior changed without an update of the program?

I think I deleted something by accident (maybe something with FFMPEG) and the generator program just stopped working properly. Once that happened I tried to delete the ‘Funscript Generator Windows’ folder in C:\Users[User]\AppData\Roaming\OFS\OFS_data\extensions and reinstall everything with no success. I was running the latest version of both OFS and the generator prior to that and I had no issues whatsoever…

Final edit: Seems to be that it is only being caused by these 3 recent files I downloaded (1920p) versions of original VR videos. I tried re downloading the videos and recreating a new project and it still causes the issue. Will try another file type from the video provider – still doesnt work. I am definitely only having this issue on these three particular videos

Please let me know if I should clarify or provide any other details, thanks for helping!

Thanks for the bug report and the detailed description now i understand what is not working. The problem is that i use an other method to extract the frame from the video for the POV-VR Menu. I will try to fix the problem by adjusting the code.

The program works fine on some of my other projects (.ofsp files)…(very weird!) This probably means the recent files I am trying to edit are corrupted in some way?

The problem is that there are many different video codecs and with some of them the jumping at a specific points does not work so well with the build-in functions of OpenCV. The easiest way would be to reencode the videos for the tracking/scripting until i have release a adjusted version of the Program.