I created an application to make a new script using sections from existing scripts, basically a script compilation maker tool. You can combine any number of scripts by defining the start and end time of the segments you want, the result is a new script that combines the segments into one file. There is also an option to create the combined video that will be in sync with the generated script.
You can get the download on GitHub
Update 1
- Used code from @hentaiprodigy69 to convert time to milliseconds so now the time format can be entered for the thresholds.
- UI is more smooth now, selected file in the list box is persistent until a different file is selected.
- Multiple sections from the same script are working as intended now.
Setup:
-
You will need to download FFMPEG to do any of the video processing.
-
For just generating a funscript file and doing no video processing, all you need to do is have the script files ready.
-
If you want to do the video processing as well you will need to have the video and the script in the same folder with the files having the same name, just as you would do if you’re trying to use the script normally.
-
To start the user interface you will have to run the python script
How to run the Python Script
-
Download and install the latest version of Python here
-
To verify enter the following line into your command line/terminal
python --version
-
Download the files from GitHub.
-
Install pip, this will allow you to install dependencies.
python -m ensurepip --upgrade
-
Navigate to the folder where the Python script is located:
cd path/to/your/script/folder
-
Install dependencies using
requirements.txt
pip install -r requirements.txt
-
Run the python script
python script.py
Note: Some systems use python3 in the terminal so if step 2 doesn’t work try replacing “python” with “python3”
Step by Step Instructions:
-
Using the ‘Browse Files’ button select the scripts you want to pull from. The order in the list box is the order the final combined script and video will be in.
- If you want to include several sections from the same script you will have to browse for the file as many times as you want to use it. For example, if you want 3 sections from the same script, the script needs to be in the box 3 times.
-
Set the start time and end time of the section of each script you want to use.
-
To do this you select the script in the box, set the start and end time values and click ‘Save Time.’
-
Time must be in
hh:mm:ss:milliseconds
format, for example 01:19:22:033.
-
-
Select the method of script generation you want.
-
Combine Funscripts Only: No video processing, will just generate combined_actions.funscript.
-
Combine Funscripts and Cut Videos: Will generate the combined_actions.funscript and the cut videos, which are just the segments of the videos defined by the start and end times entered.
-
Combine Funscripts and Videos: Will generate the combine_actions.funscript, the cut videos, and a combined_video.mp4, which is the full video in sync with the combined script.
-
-
Select ‘Generate Funscript’.
- The time it takes will depend heavily on the script generation method. Just generating the script is near instant, but the video processing will take longer. Video processing can take very long and depends on several factors such as encoding, length, quality and your computers capabilities.
Some things to note:
-
It’s possible the transition from one video to the next on the script won’t be smooth, there’s no editing being done it is just starting the next section of the script after the previous section is done. So it really depends on the start and end points location. The transition here in my sample is decent, but the scripts you use may not transition well.
-
The UI is pretty basic, I created it using a python library so it might not be the smoothest experience, but it functions well and there’s no glaring issues.
-
I’ve tested this a lot with small clips from 2 or 3 different videos. I don’t anticipate problems with having many clips but anything is possible. But I don’t really know the lengths this can go, my computer isn’t great and a 3 minute video takes about 1.5 hours to process. Probably would have been quicker to use lower quality videos but I used whatever I already had on hand.
-
After processing, the script file will be named Combined_Actions.funscript and the video file will be named Combined_Videos.mp4 so you will have to change the names to matching to use the script.
-
I didn’t originally set out to make this something I’d share so it might not be the most efficient or user friendly, I’ve seen some threads over time about similar things so I figured someone else might be able to make use of this.
-
For the sample, I took 3 scripts I made and used the tool to cut out 1 minute long clips.
If you want to check out the full scripts here are the links (FYI they are paid scripts)
- Feel free to leave feedback or make suggestions. I’m not really looking to add features or more functionality, but I will try to fix bugs or refine what is already there.