[FFmpeg-devel] [PATCH 1/2] avcodec/nvenc: Include NVENC SDK header

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Dec 9 23:05:56 CET 2015

On 09.12.2015 17:38, Hendrik Leppkes wrote:
> On Wed, Dec 9, 2015 at 5:33 PM, Timo Rothenpieler <timo at rothenpieler.org> wrote:
>> If I understand carl right, the question is not about the header, but
>> about if dlopen'ing a non-free library, the CUDA and NVENC ones in this
>> case, makes ffmpeg non-free, or if they are system libraries and thus
>> it's ok to link against them.
> The generated binary contains no non-free code, not even used a
> non-free header, nor does it depend on any non-free binary to run.

Well, most of the binary code generated from nvenc.c requires the
non-free libcuda.so and libnvidia-encode.so.1 blobs to run.

> And even if you want to cite that particular rule - if drivers are not
> considered part of the system, then I don't know what is.

What is a system library depends on the system.
For example, Debian (main) does not even include libcuda or
libnvidia-encode, so they certainly cannot be system libraries there.

Best regards,

More information about the ffmpeg-devel mailing list