-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Could Not Find FFmpeg Installation #511
Comments
Hi, sorry. Of course MacOS is the one OS that I couldn't/did not check... |
cc @NeedNot, looks like you have the same issue also ^ |
@seakrueger I tried downloading the Dev branch of 9.4 but I am not able to get it to launch, some weird TypeError. I do not code enough to know what to do to fix that. (Image below) I did try to run TagStudio app from terminal. Sidenote: I did try downloading the dev branch and seeing if I could figure out what was going on. Found a different issue with the TagStudio.sh file. It doesn't check pip version. Not sure if this will fix the problem but here is my idea. Extra Info Here |
@seakrueger I was able to launch TagStudio 9.4 (and 9.4.1) from terminal after I updated my python version. (This appears to be part of the issue). I didn't realize I had python 3.9.12 installed but had used brew to install 3.12.6 but had not told brew to create symlinks (or it failed at that part) when I reran brew install python@3.12 it told me to do --overwrite as well to create the symlinks. After that the zipped source code I opened, showed that I have FFmpeg installed. I then ran the installed 9.4.1 App version and it still said I do not have FFmpeg installed. The build is suppose to have python and everything packaged into the program (or so I thought). After all this here is my summary. The host machine has to have python version newer than 3.9.12 when trying to run the zip file. The precompiled package must be using an older version of python that the check FFmpeg works on but not on MacOS. Not sure if you can set the python version in the compiler but I am using 3.12.6 on my Mac and it is working for the Zip file. |
Hmm, it's interesting that the check passes when not bundled into a .app. Unfortunately, the windows exe ships with Python 3.12 and as far as I can tell so does the macOS app bundle, and that's the latest version the apps designed around |
I am not sure. I just tried to run the code to compile the program myself and that compiled version still gives me the error but when I run the ./TagStudio.sh to lunch it form terminal (not compiled) it works and I see this in the terminal:
Edit: I also tried ./Build_MacOS_app.sh and changed the command to |
@seakrueger |
On the provided v9.4.1 release,
|
@seakrueger Any other ideas? |
I dont think macOS applications are taking The solution/workaround code be to either bundle ffmpeg into the app via the parameter PyInstaller provides (not sure that's a good idea), or slightly better approach would be to hardcode a few paths where There could be also a configuration window where user can set the |
the actual paths which "GUI applications" take into consideration are located in |
Odd note is that
Not sure what else to do, besides like you said to bundle it. |
This seems to be fixed if the pull request for #557 is merged. |
Checklist
TagStudio Version
Alpha 9.4.1
Operating System & Version
MacOS Sonoma 14.2.1
Description
I just updated my TagStudio after seeing it had a new release and reading the patches and additions. After that I am getting the error that it says FFmpeg is not installed. I clicked the help thinking maybe it will show a different way to install it. It does not. I have FFmpeg installed, see screen shot. I did install it from Homebrew like the help page says to do. For now I am hitting ignore but I am not sure what I am doing wrong. I can use ffmpeg command from terminal as well and get the version that way as well. I did tell brew to do updates thinking it was maybe and old version but still no luck.
Expected Behavior
Launch TagStudio and not see the Warning of missing FFmpeg.
Steps to Reproduce
Install FFmpeg from Homebrew. (ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers)
Install TagStudion 9.4.1 on MacOS Sonoma 14.2.1 (Intel)
Lunch TagStudio (after accepting/allowing the security warning.)
Wait and the Popup shows up.
Logs
No response
The text was updated successfully, but these errors were encountered: