dirkwhoffmann / virtualc64

VirtualC64 is a cycle-accurate C64 emulator for macOS
https://dirkwhoffmann.github.io/virtualc64
Other
351 stars 33 forks source link

FFmpeg doesn't work on Apple Silicon Macs #718

Closed Alvarez81 closed 2 years ago

Alvarez81 commented 2 years ago

FFmpeg doesn't work on Apple Silicon Macs. Rosetta 2 is not a stable and "good" solution. Is there any other way to record video in VirtualC64 without FFmpeg ?

Alessandro1970 commented 2 years ago

https://formulae.brew.sh/formula/ffmpeg

Untitled 2

Alvarez81 commented 2 years ago

Is there an easy solution ? Homebrew software is really native ? Where will be located compiled software ? Could it be added to VirtualC64 code ?

dirkwhoffmann commented 2 years ago

Homebrew is the easy solution, I use it all the time. In fact, I've installed ffmpeg with Homebrew, too.

KinaKai commented 2 years ago

On a fresh install of Homebrew on Apple Silicon systems, Homebrew will install into /opt/homebrew, which breaks the hardcoded assumption that ffmpeg will be found in /usr/local. You can workaround around this by just doing a symlink: sudo ln -s /opt/homebrew/bin/ffmpeg /usr/local/bin/ffmpeg.

A permanent fix could be to expose the location of ffmpeg as user-definable setting.

dirkwhoffmann commented 2 years ago

Thanks a lot for posting a workaround!

A permanent fix could be to expose the location of ffmpeg as user-definable setting.

Yes, this should be done. It's already on my To-Do list for vAmiga (which unfortunately consumes all my spare time at the moment).

dirkwhoffmann commented 2 years ago

Code from vAmiga has been ported.

Bildschirmfoto 2022-05-07 um 18 33 14
dirkwhoffmann commented 2 years ago

v4.5b1 is online.