FFmpeg on Apple Silicon (Success)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

FFmpeg on Apple Silicon (Success)


Just for information. Today I successfully compiled FFmpeg 4.3.1 for Apple
Silicon (macOS 11 Beta Big Sur) on Apple Developer Transition Kit.

Also I was able to include FFmpeg shared libraries for my test app.

I used basic configure options to make sure that FFmpeg works on arm64:

./configure --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared
--extra-cflags="-fno-stack-check" --enable-gpl  --enable-version3
--enable-hardcoded-tables --enable-pthreads --enable-nonfree

I discovered only one issue (probably my mistake). dylibs work only when I
put them to /usr/local/Cellar/ffmpeg/4.3.1/lib folder
If I put dylibs into my APP bundle /Contents/Frameworks these dylibs fail
to load, despite the fact that I load dylib using absolute file path from
my folder.
ffmpeg-user mailing list
[hidden email]

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".