ffmpeg and ffprobe Apple Silicon
linuxr01 opened this issue · comments
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
For people who have problems, here is a small guide for a Mac with M1 CPU:
-
download the ARM version: http://www.osxexperts.net/
(ffmpeg static build for macOS and ffprobe static build for macOS) -
deactivate "Auto-update ytdl binary" in the program.
-
copy ffmpeg and ffprobe into the directory /Applications/Open Video Downloader.app/Contents/Resources/app.asar.unpacked/binaries/ and overwrite the old files.
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.
@linuxr01 I am considering adding an option to use the locally installed ffmpeg (e.g. via brew), would that work for you?
@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.