Quoting Rémi Denis-Courmont (2016-09-27 15:17:10)
>         Hello,
> 
> Le mardi 27 septembre 2016, 12:20:48 Yogender Gupta a écrit :
> > I am planning to add CUDA compilation support in LibAV with a CUDA sample.
> > The challenge here is that NVCC Cuda Compiler supports GCC compiler under
> > Linux and MSVC compiler on Windows. So GCC compilation under Windows
> > becomes an issue.
> 
> IANAL but AFAIU LGPL code must be compiled with either tools coming with the 
> operating system, and/or with open-source tools. Otherwise, the binary is not 
> redistributable.
> 
> Non-redistributable binaries will be acceptable to some, notably those 
> organizations that compile their own libav/FFmpeg and applications on top. 
> For 
> service businesses running on Linux/BSD, that would be fine. On Windows (and 
> in 
> Linux distributions), that probably would not be fine.
> 
> There is a convenient (albeit debatable) argument that MSVC comes with 
> Windows, so libav/FFmpeg can be compiled and redistributed with it. However I 
> don't think that NVCC can be argued to come with Windows, could it? 
> Alternatively did it become open-source?
> 
> Otherwise, the question of GCC vs MSVC on Windows may be moot.

Well, CUDA headers themselves are non-free, so AFAIU whenever you use
CUDA with libav, the result is non-redistributable.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to