StefanLobbenmeier / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  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.

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.