Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ARM chip #524

Open
JokChen opened this issue May 24, 2023 · 3 comments
Open

Support ARM chip #524

JokChen opened this issue May 24, 2023 · 3 comments

Comments

@JokChen
Copy link

JokChen commented May 24, 2023

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?

@ChristianFeldmann
Copy link
Member

Hi. As I pointed out here: #523 (comment) 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.

@frankplow
Copy link
Contributor

frankplow commented May 31, 2023

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"

@ulfzie
Copy link

ulfzie commented Aug 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants