Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
> It's not specifically an ffmpeg question, but perhaps your ffmpeg > libav* libraries are the first ones you need to "bundle". > I come from a world of ELF binary format, but I found out that you can > achieve the same thing with Mac OS. > ... Moritz, Many thanks for your idea! I'll learn more

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
> why in the world don't you then just use "--enable-static" to avoid the > shared libraries when they are supposed to be in the same folder and > bundle anyways? Hi Harald, I need to link FFmpeg the shared libraries in my app and also use ffmpeg executable. Both programs should link dylibs. So i

Re: [FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
>> Then I put all compiled shared libraries and small ffmpeg binary file to a >> folder: /Users/aleks/test/ > How do you “put” them there? > I always use static libraries because I want to “put” my binaries where I decide to put them at any time. If > you choose to use dynamic FFmpeg libraries,

[FFmpeg-user] Loading shared libraries in macOS

2020-08-12 Thread Aleksid
Why is ffmpeg looking for shared libraries in a folder where I compiled FFmpeg sources on macOS Catalina? Source code of FFmpeg is located in /usr/local/Cellar/ffmpeg ./configure --enable-shared --extra-cflags="-fno-stack-check" --enable-gpl --enable-version3 --enable-pthreads --enable-nonfree m

[FFmpeg-user] FFmpeg on Apple Silicon (Success)

2020-08-07 Thread Aleksid
Hi, 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: ./configu

Re: [FFmpeg-user] Compilation of shared libraries for macOS

2020-08-02 Thread Aleksid
Ted, I put dylibs to a local folder in my APP bundle > Frameworks. So I can switch between different versions of FFmpeg dylibs (my compiled dylibs or Zeranoe dylibs). Version of FFmpeg is the same 4.3.1 in both cases. пн, 3 авг. 2020 г. в 00:53, Ted Park : > Hi, > > How do you use a specific lib

Re: [FFmpeg-user] Compilation of shared libraries for macOS

2020-08-02 Thread Aleksid
Hi Carl, Thanks for your reply and I apologize that I probably posted incorrectly my question. Most likely, my problem will occur with the current version of FFmpeg, too. I tried many combinations of configure options. The problem occurs even if I use only 1 option: --enable-shared I'll check t

Re: [FFmpeg-user] Compilation of shared libraries for macOS

2020-08-02 Thread Aleksid
Hi Ted, I used Freepascal to write my app. And this app works fine when I use FFmpeg's dylibs downloaded from Zeranoe website. But my app doesn't work with dylibs which I compiled from FFmpeg sources (the same version) in an attempt to reduce a file size of the app. вс, 2 авг. 2020 г. в 22:31, Te