Added a new release with fixes, also added an output folder option so running as admin is not needed anymore.
EDIT: Looks like beatbar is not working yet. I’ll get on that later
This is what a good result should look like.
EroScripts is a community for scripts that sync interactive sex toys with porn. Learn more.
To find and download scripts, create an account.
Added a new release with fixes, also added an output folder option so running as admin is not needed anymore.
EDIT: Looks like beatbar is not working yet. I’ll get on that later
This is what a good result should look like.
Tried the new build, looks like I’m getting a similar error to Midevil now:
Traceback (most recent call last):
File “videoutil.py”, line 57, in ffmpeg_run
File “encodings\cp1252.py”, line 23, in decode
UnicodeDecodeError: ‘charmap’ codec can’t decode byte 0x81 in position 223: character maps to
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “Beats2Fun.py”, line 179, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 173, in main
File “Beats2Fun.py”, line 83, in make_pmv
File “videoutil.py”, line 309, in clips_generate_batched
File “videoutil.py”, line 305, in clips_generate_batched
File “concurrent\futures_base.py”, line 445, in result
File “concurrent\futures_base.py”, line 390, in __get_result
File “concurrent\futures\thread.py”, line 58, in run
File “videoutil.py”, line 338, in clips_generate_batched_thread
File “videoutil.py”, line 84, in ffmpeg_run
UnboundLocalError: local variable ‘retcode’ referenced before assignment
[51044] Failed to execute script ‘Beats2Fun’ due to unhandled exception!
Actually, that might be because some input videos had non-standard characters in the filenames (JAV stuff). I get this error when using a more normally named set of videos:
Exception during ffmpeg: E:.…\Beats2Fun\Resources\ffmpeg\ffmpeg.exe -hide_banner -y -f concat -i “C:\Users.…\AppData\Local\Temp\tmpl7du21it\8ibfmn5t.txt” -i “E:.…\Beats2Fun\b2fWIP\music/Holding Out For A Hero.mp3” “E:.…\Beats2Fun\b2fWIP\Holding Out For A Hero-PMV.mp4” - 1
Traceback (most recent call last):
File “Beats2Fun.py”, line 179, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 173, in main
File “Beats2Fun.py”, line 106, in make_pmv
File “videoutil.py”, line 357, in clips_merge
File “videoutil.py”, line 85, in ffmpeg_run
File “videoutil.py”, line 78, in ffmpeg_run
Exception: Error while decoding stream #1:0: Invalid data found when processing input
Looks like it’s still having trouble finding ffmpeg
It found ffmpeg, it’s having issues with the video codec in some way.
Could you maybe first try with a few basic format videos? Straight from pornhub or something
Tried with videos from Spankbang, same error.
Tried with videos from PH, same error.
Traceback (most recent call last):
File “Beats2Fun.py”, line 179, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 173, in main
File “Beats2Fun.py”, line 106, in make_pmv
File “videoutil.py”, line 357, in clips_merge
File “videoutil.py”, line 85, in ffmpeg_run
File “videoutil.py”, line 78, in ffmpeg_run
Exception: Error while decoding stream #1:0: Invalid data found when processing input
Gui improvements, better error messaging, few fixes. Please report
Added a link to example generations from my library
Hi just tried the newer version and received this error
Input: C:\yeah\ingrid music\S3rl - Hentai (DJ Edit) [sickworldmusic].sm - Video dir: C:\yeah\ingrid - Output dir: F:\yeah
Checking input .
Checking input . .
Traceback (most recent call last):
File “halo\halo.py”, line 605, in stop_and_persist
File “halo\halo.py”, line 305, in _write
File “colorama\ansitowin32.py”, line 41, in write
File “colorama\ansitowin32.py”, line 162, in write
File “colorama\ansitowin32.py”, line 187, in write_and_convert
File “colorama\ansitowin32.py”, line 195, in write_plain_text
File “encodings\cp1252.py”, line 19, in encode
UnicodeEncodeError: ‘charmap’ codec can’t encode characters in position 84-86: character maps to
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “Beats2Fun.py”, line 181, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 174, in main
File “Beats2Fun.py”, line 62, in make_pmv
File “halo\halo.py”, line 532, in succeed
File “halo\halo.py”, line 607, in stop_and_persist
File “halo\halo.py”, line 305, in _write
File “colorama\ansitowin32.py”, line 41, in write
File “colorama\ansitowin32.py”, line 162, in write
File “colorama\ansitowin32.py”, line 184, in write_and_convert
File “colorama\ansitowin32.py”, line 246, in convert_osc
TypeError: cannot use a string pattern on a bytes-like object
[5384] Failed to execute script ‘Beats2Fun’ due to unhandled exception!
Might you happen to have any other version of Python installed on your computer?
Welp I just searched my pc and yes I do apparently have python 3.10 installed. I never really use it. Might uninstalling it maybe fix some problems?
It might ye, if you could try uninstalling maybe?
the same thing happened after I uninstalled
Input: F:\yeah\ingrid music\S3rl - Hentai (DJ Edit) [sickworldmusic].sm - Video dir: F:\yeah\ingrid - Output dir: C:\Program Files (x86)\Beats2Fun
Checking input .
Checking input . .
Traceback (most recent call last):
File “halo\halo.py”, line 605, in stop_and_persist
File “halo\halo.py”, line 305, in _write
File “colorama\ansitowin32.py”, line 41, in write
File “colorama\ansitowin32.py”, line 162, in write
File “colorama\ansitowin32.py”, line 187, in write_and_convert
File “colorama\ansitowin32.py”, line 195, in write_plain_text
File “encodings\cp1252.py”, line 19, in encode
UnicodeEncodeError: ‘charmap’ codec can’t encode characters in position 84-86: character maps to
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “Beats2Fun.py”, line 181, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 174, in main
File “Beats2Fun.py”, line 62, in make_pmv
File “halo\halo.py”, line 532, in succeed
File “halo\halo.py”, line 607, in stop_and_persist
File “halo\halo.py”, line 305, in _write
File “colorama\ansitowin32.py”, line 41, in write
File “colorama\ansitowin32.py”, line 162, in write
File “colorama\ansitowin32.py”, line 184, in write_and_convert
File “colorama\ansitowin32.py”, line 246, in convert_osc
TypeError: cannot use a string pattern on a bytes-like object
[25080] Failed to execute script ‘Beats2Fun’ due to unhandled exception!
I had a similar error that went away when I made sure none of my clips were using non-english characters. Can you check that the videos and music files are only using normal alphabetic characters?
unfourtunalty it hasnt fixed it after changing the characters still get this error could it be the video themselves are in a codex the program isn’t able to recognize?
Input: F:\yeah\ingrid music\test music.sm - Video dir: F:\yeah\ingrid - Output dir: C:\Program Files (x86)\Beats2Fun
Checking input .
Checking input . .
Traceback (most recent call last):
File “halo\halo.py”, line 605, in stop_and_persist
File “halo\halo.py”, line 305, in _write
File “colorama\ansitowin32.py”, line 41, in write
File “colorama\ansitowin32.py”, line 162, in write
File “colorama\ansitowin32.py”, line 187, in write_and_convert
File “colorama\ansitowin32.py”, line 195, in write_plain_text
File “encodings\cp1252.py”, line 19, in encode
UnicodeEncodeError: ‘charmap’ codec can’t encode characters in position 84-86: character maps to
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “Beats2Fun.py”, line 181, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 174, in main
File “Beats2Fun.py”, line 62, in make_pmv
File “halo\halo.py”, line 532, in succeed
File “halo\halo.py”, line 607, in stop_and_persist
File “halo\halo.py”, line 305, in _write
File “colorama\ansitowin32.py”, line 41, in write
File “colorama\ansitowin32.py”, line 162, in write
File “colorama\ansitowin32.py”, line 184, in write_and_convert
File “colorama\ansitowin32.py”, line 246, in convert_osc
TypeError: cannot use a string pattern on a bytes-like object
[14536] Failed to execute script ‘Beats2Fun’ due to unhandled exception!
I get a different, but similar error with the new version:
Exception during ffmpeg: ffmpeg -hide_banner -y -f concat -i “C:\Users\ … \AppData\Local\Temp\tmpcu7a7k67\pm849f4e.txt” -i “E:\ … \Beats2Fun\b2fWIP\music/Holding Out For A Hero.mp3” “E:\ … \Beats2Fun\b2fWIP\Holding Out For A Hero-PMV.mp4”, Errorcode: 1
Traceback (most recent call last):
File “Beats2Fun.py”, line 181, in
File “gooey\python_bindings\gooey_decorator.py”, line 134, in
File “Beats2Fun.py”, line 174, in main
File “Beats2Fun.py”, line 106, in make_pmv
File “videoutil.py”, line 379, in clips_merge
File “videoutil.py”, line 88, in ffmpeg_run
File “videoutil.py”, line 78, in ffmpeg_run
Exception: Error while decoding stream #1:0: Invalid data found when processing input
[26676] Failed to execute script ‘Beats2Fun’ due to unhandled exception!
Oh! I actually got it to work. I think it was the actual music file, not the videos causing my issue. I switch out the .mp3 for a .ogg and it worked.
ive been using a sm file let me try a ogg one instead
sm is just the step file. you need either a .ogg or a .mp3 file of the actual song in the same directory.
Here’s my result. Not too bad!
(Edit: Mega account removed, sorry)
Random Larkin Love Clips. Music is Holding out for a Hero by Bonnie Tyler.
Here’s the funscript. Haven’t used it, but the simulator looks… okay at least
(Edit: Mega account removed, sorry)
ahh its finally working