[FFmpeg-devel] [PATCH 2/2] Implement dynamic loading of NewTek NDI library

Hendrik Leppkes h.leppkes at gmail.com
Fri Feb 23 13:36:32 EET 2018


On Fri, Feb 23, 2018 at 11:47 AM, Nicolas George <george at nsup.org> wrote:
>
>>  - dynamic loading alone has some pros (e.g. not needing the SDK
>>    on every machine where you use your built ffmpeg)
>
> Sorry, you are wrong, this is not how dynamic loading works. You need
> the shared library (and possibly supporting data files), whether you
> load it through dlopen() or through NEEDED.
>
>

When you use dlopen, you can write code that gracefully fails when the
library is not present, instead of failing to load ffmpeg/avdevice
entirely. This is obviously what is meant here.

- Hendrik


More information about the ffmpeg-devel mailing list