[FFmpeg-devel] ./configure and nvidia/cuda sdk

Timo Rothenpieler timo at rothenpieler.org
Wed Sep 11 15:46:03 EEST 2024


On 11.09.2024 14:21, Top Secret wrote:
> Hello,
> 
> We are trying to redistribute a ffmpeg binary commercially. We use free version for generally decoding video only(some demuxing). We want to use nvidia's suggestion of using the GPU with ffmpeg. They give a sample configure string like so:
> ./configure --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include  --extra-ldflags=-L/usr/local/cuda/lib64
> 
> In here we notice --enable-nonfree which basically means we can't give ffmpeg commerically right? Well looking into this legal wise... If we get NVidia's written consent that a lawyer can use in a court of law, alter configure script to say libnpp is not considered "non-free" and ditch that string would it be okay?
> 
> NVidia seems to advocate for FFmpeg use. If its not permissible, then would it make sense to just use opencv's implementation of ffmpeg which then advertises a completely different license(Apache).
> 
> Looking for serious answers with out sarcasm, insults, or claims of simplicity.

Just don't use libnpp


More information about the ffmpeg-devel mailing list