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 and ffprobe Apple Silicon #95

Open
linuxr01 opened this issue Dec 10, 2023 · 4 comments
Open

ffmpeg and ffprobe Apple Silicon #95

linuxr01 opened this issue Dec 10, 2023 · 4 comments

Comments

@linuxr01
Copy link

Could you check whether it is an M1 Mac?
By default the x86-64 version is installed but the M1 requires the ARM version.

/Applications/Open\ Video\ Downloader.app/Contents/Resources/app.asar.unpacked/binaries/ffmpeg ; exit;
zsh: bad CPU type in executable: /Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/ffmpeg

@linuxr01
Copy link
Author

For people who have problems, here is a small guide for a Mac with M1 CPU:

  1. download the ARM version: http://www.osxexperts.net/
    (ffmpeg static build for macOS and ffprobe static build for macOS)

  2. deactivate "Auto-update ytdl binary" in the program.

  3. copy ffmpeg and ffprobe into the directory /Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/ and overwrite the old files.

@linuxr01 linuxr01 changed the title ffmpeg and ffprobe M1 ffmpeg and ffprobe Apple Silicon Dec 10, 2023
@StefanLobbenmeier
Copy link
Owner

As a workaround for now, I would recommend still installing Rosetta.

There is a different issue here though, that the ffbinaries.org is very old. I think the best solutions would be to host a separate github repository where I release ffmpeg and ffprobe binaries to and download from there.

Because so far I have not been able to find a source that gives me all builds in an up to date version. E.g. your link only contains macOS builds, but it would be awkward having to check a separate source for macOS.

@StefanLobbenmeier
Copy link
Owner

@linuxr01 I am considering adding an option to use the locally installed ffmpeg (e.g. via brew), would that work for you?

@keleko86
Copy link

@linuxr01 I am considering adding an option to use the locally installed ffmpeg (e.g. via brew), would that work for you?

@StefanLobbenmeier I cannot speak for @linuxr01, but I would certainly appreciate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants