YUView
YUView copied to clipboard
Support ARM chip
I found that the current MAC software does not support ARM well. When custom FFMPEG paths, the error will be reported. The specific content is as follows: "The Selected File Does Not Appear to Be A USable FFMPEG AVFORMAT Library. We have collected a more detailed log. Do you want to save it to disk? " Will you support the chip of the Apple M series in the future?
Hi. As I pointed out here: https://github.com/IENT/YUView/issues/523#issuecomment-1563037524 currently YUView is not building natively on Arm. One issue I am having is that I don't own an M1 mac. Feel free to send me one ;) Also Qt is currently not building natively on mac so the only way to use FFmpeg in YUView is to get a x64 build of it so that it all runs in the emulation layer.
To confirm, using x86_64 FFmpeg shared libraries works on M1 macs. To cross-compile for x86_64 from arm64 using Apple clang (as I suspect most will want to do to get this working), you configure the FFmpeg build with--cc="clang -arch x86_64"
Hi, Just wanted to add another option to enable the use of ffmpeg and yuview with the help of homebrew: Install X86_64 brew:
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Install FFMPEG v5 (v6 is not supported by YUView)
/usr/local/bin/brew install ffmpeg@5
Add libraries to YUView:
mkdir /Applications/YUView.app/Contents/MacOS/ffmpeg
cp -r /usr/local/Cellar/ffmpeg@5/5.1.3/lib/* /Applications/YUView.app/Contents/MacOS/ffmpeg
Ulf