smacke / ffsubsync

Automagically synchronize subtitles with video.
MIT License
6.81k stars 281 forks source link

build simple GUI and package in PyInstaller #53

Open AucT opened 4 years ago

AucT commented 4 years ago

hi, can you build exe file for windows users? i'm not kind of python guy

smacke commented 4 years ago

@AucT I might be able to do something like this with PyInstaller and tkinter. It's not ideal b/c it will be hugely bloated (as it requires packaging an entire Python interpreter) but I guess still better for non-CLI users.

rrrcabral commented 2 months ago

I couldn't even use the program, because I'm completely new to installing Python and Apps for it, and I must have done something wrong.

i get the error:

_`Building wheels for collected packages: webrtcvad-wheels Building wheel for webrtcvad-wheels (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [9 lines of output] running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-cpython-312 copying webrtcvad.py -> build\lib.win-amd64-cpython-312 running build_ext building '_webrtcvad' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for webrtcvad-wheels Running setup.py clean for webrtcvad-wheels Failed to build webrtcvad-wheels ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (webrtcvad-wheels)`_

Looking online, I saw that the solution would be to download some stuff that would be about 3GB! and I don't even know if I was downloading the right solution, it could be for nothing. so I'm giving up on using the program, since I haven't even been able to try it. so a simple GUI would really make the program more accessible.