[Libav-user] FFmpeg and Apple's transition to ARM/Apple Silicon

Info || Non-Lethal Applications info at non-lethal-applications.com
Mon Jul 6 22:28:39 EEST 2020



> On 6. Jul 2020, at 18:03, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 
> Am Mo., 6. Juli 2020 um 12:13 Uhr schrieb Info || Non-Lethal
> Applications <info at non-lethal-applications.com>:
>> 
>>> Am Fr., 26. Juni 2020 um 11:07 Uhr schrieb Info || Non-Lethal
>>> Applications <info at non-lethal-applications.com>:
>>> 
>>>> Will re-compiling the libraries on the new architecture be enough to make everything work "as before"?
>>> 
>>> Yes.
>> 
>> I’ve been watching Apple’s WWDC video on how to convert apps to work on Apple Silicon.
>> They say that all external libraries (which I’m using plenty of) need to be compiled as universal binaries.
> 
> I don't think this is correct.

https://developer.apple.com/videos/play/wwdc2020/10214

Check around minute 14/15.
“All static and dynamic libraries used to build your app need to be built as universal"

>> Is that something that FFmpeg already supports (maybe from the PPC/Intel switch days about 10 years ago)?
> 
> It is something that Apple's toolchain supports, not FFmpeg

Ok, thanks!
There’s currently not a lot of information out there.
I’ll try to get more details at Apple’s developer forum then.

>> Or would I be able to compile two separate libraries (for Intel and ARM) and combine them into one?
> 
> Yes, this is what had to be done when universal binaries were needed
> the last time.
> 
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
> 
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".



More information about the Libav-user mailing list