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
Big thanks to @hentaiprodigy69 for doing an outstanding job perfecting my original program.
Setup:
-
You will need to download FFMPEG and MKVmerge to do 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.
- For best organization I suggest having all your video and funscript files in the same folder as the python file.
-
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.
-
The time this takes will vary depending on several factors. Combining multiple sections of the same script and video is the fastest. Once you start using multiple scripts and videos, encoding will need to be done which can take very long depending on length, video quality, etc.
-
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.
-
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.
Sample
- For the sample, I took 2 scripts I made and used the tool to cut out 5 clips. If you want to check out the full free scripts here are the links (I think these are the first 2 scripts I made)
- Note: These are all the files you will get if you choose the “Combine Scripts and Videos” option