Skip to content
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

ffmpeg not found. #45

Closed
rrondo opened this issue Apr 12, 2023 · 13 comments
Closed

ffmpeg not found. #45

rrondo opened this issue Apr 12, 2023 · 13 comments
Labels
bug Something isn't working

Comments

@rrondo
Copy link

rrondo commented Apr 12, 2023

Hey! Could you help me to fix that? Some videos download fine, but the rest have this strange error:

Open_Video_Downloader_cstXGjvfTo

  • OS: Windows 10
  • Application version 2.4.8
  • Application type installed version

Thanks!

@rrondo rrondo added the bug Something isn't working label Apr 12, 2023
@StefanLobbenmeier
Copy link
Owner

It should download FFmpeg on its own after you start the application. You could try restarting the application to give it a chance to do that again.

But it might be that something changed that broke the download on the server side, I noticed on the original repo there are also 2 fresh bug reports:
jely2002#486
jely2002#487

@StefanLobbenmeier
Copy link
Owner

It looks like somehow the ffmpeg release page has an outdated certificate
image

I will have to ask them to renew it

@StefanLobbenmeier
Copy link
Owner

Hmm no its certainly related, but actually their certificate is up to date when I open https://ffbinaries.com/api/v1/version/latest in the browser:

image

@StefanLobbenmeier
Copy link
Owner

Found the fix, but using it takes more work.

The issue is that the electron (which is the ui framework used in this project) version used is quite old and it does not use the latest root certificates, so the certificate is not considered valid.

To fix this, I updated electron to the latest version, but upgrading electron also requires some migration to work, so I am not sure how much work this is.

@StefanLobbenmeier
Copy link
Owner

StefanLobbenmeier commented Apr 12, 2023

As a workaround for now, please download it manually from https://ffbinaries.com/downloads. We need both ffmpeg and ffprobe

Target folder:

  • Windows: %LOCALAPPDATA%\Programs\youtube-dl-gui\resources\app.asar.unpacked\binaries
  • macOS: /Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/
  • Linux: (I am not sure honestly, but should be ~/.youtube-dl-gui, please correct me if I am wrong)

The folder should look like this:
image

@rrondo
Copy link
Author

rrondo commented Apr 12, 2023

Thank you, Stefan! Putting those two files (ffmpeg and ffprobe) worked for me, problem solved.

@ENTPRESTIGIOUS
Copy link

I have this error having updated to 2.4.9

@StefanLobbenmeier
Copy link
Owner

StefanLobbenmeier commented Apr 18, 2023

You’re right, on MacOS the workaround is required after the update, other platforms should be fine.

@StefanLobbenmeier
Copy link
Owner

StefanLobbenmeier commented Apr 18, 2023

@ENTPRESTIGIOUS just did a hotfix in 2.4.10, can you try again in a few minutes?

@StefanLobbenmeier
Copy link
Owner

https://github.com/StefanLobbenmeier/youtube-dl-gui/releases/tag/v2.4.10

@victokurk
Copy link

@StefanLobbenmeier Thank you. Updating from 2.4.8 to 2.4.10 fixed this error for me.

@philoupd
Copy link

I have 2.5.4 installed on my MacBook Pro M3 pro and still have this issue also after replacing ffmpeg and ffprobe as described above. Am I missing something or am I doing something it wrong?

@StefanLobbenmeier
Copy link
Owner

@philoupd one thing that might cause this is that it currently downloads the x64 ffmpeg, so it requires Rosetta to be installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants