azahar-emu / azahar

A new Citra fork
https://azahar-emu.org/
2.44k stars 131 forks source link

"Dump Video" not detecting ffmpeg on Macs #490

Open DavidRGriswold opened 1 month ago

DavidRGriswold commented 1 month ago

Issue

The "Dump Video" gives an error message that FFMPEG is missing on apple silicon even when the instructions in the linked wiki are followed. I have installed ffmpeg version 6 using homebrew and made sure it is added to the path in both my .zprofile and .zshrc, and even symlinked ffmpeg to /usr/local/bin but I still get the same error message. Installing the latest version of ffmpeg from homebrew, 7.1, also does not work.

The error message also still redirects me to an archive.org version of the Citra wiki, which should maybe be moved to a lime3ds spot.

rtiangha commented 1 month ago

This a dumb question, but are you symlinking to the right directory? brew installs packages differently for Intel and ARM Macs. If it's the x86 version of the package, it'll go under /usr/local and if it's the Apple Silicon version, it'll go under /opt.

rtiangha commented 1 month ago

I just tested this on Windows and it seems to work (yeah, I know, but it proves the backend stuff works, a little bit).

Another question: Does setting the location of FFMPEG through the gui first so that FFMPEG's location gets saved to disk, then closing and then trying the cmd line option again work?

Also, keep in mind that it only seems to work with OpenGL and not Vulkan (you get audio, but a black screen).

DavidRGriswold commented 1 month ago

On Mac it doesn't provide the dialog to choose the folder. It is supposed to autodetect the homebrew install but that does not seem to work.

DavidRGriswold commented 1 month ago

The binarry installs under opt but I linked it into usr/bin and no go.

rtiangha commented 1 month ago

I wonder if it's a permissions thing. Perhaps FFMPEG is sandboxed such that unsigned apps can't see it. Does turning off Gatekeeper help (sorry, I haven't had a Mac in a decade so I don't remember what things are called now)?