ffmpeg + CUDA = unredistributable ?


Since FFmpeg 4, the GPU video support was done through the external ffnvcodec repository contains the all header files.

Now when build the ffmpeg with GPU video codec support, we have to to use the switch –enable-nonfree, then the FFmpeg would report this build is unredistributable.

cuda_sdk is nonfree and --enable-nonfree is not specified.

The CUDA SDK is nonfree, but it’s redistributable.

The FFmpeg has some GPL code, so we could build a LGPL version, BUT here we didn’t use the keyword “redistributable”, it means the build actually is LGPL+ffnvcode, which should mean redistributable.