Hi, On 19/05/2019 16:30, Sebastian Ramacher wrote: > On 2019-05-09 23:32:04, Chris wrote: >> On Thu, 28 Mar 2019 16:16:32 -0600 miltonshane...@gmail.com wrote: >>> Package: FFMPEG >>> Version: 4.1.1-1 and others >>> >>> When running command ffmpeg -codecs nvenc is not showing in h264 or >>> nvenc_hevc. This is supported in Debian 9 but not Buster/Testing. >>> >>> I suggest enabling this duing build as it is a widly used feature >>> along with vaapi >>> >>> I am using Debian Linux Buster/Testing with nvidia driver stack in >>> Testing. >> >> This is also the case in Sid. Would be extremely helpful to have this >> built with nvenc support. >> The version in Sid seems to have VAAPI support, though. >> > > Someone needs to package https://github.com/FFmpeg/nv-codec-headers.
I've been having a little look at this. Unfortunately, the more I look, the more I've come to the conclusion that the way FFmpeg dynamically loads nvenc violates the LGPL - but I'm not 100% settled, so feel free to persuade me otherwise :) On that basis, it's unfortunate that nvenc was allowed to be enabled in buster in the first place. This is the patch which marked nvenc as "free" upstream: https://ffmpeg.org/pipermail/ffmpeg-devel/2016-April/193467.html Upstream appears to be relying on the GPL's "system library" exception to make it possible to dynamically load nvenc without the GPL requiring the source of nvenc to be provided. I don't think Debian can rely on this though because nvenc is not normally distributed by Debian (and you have to enable non-free to get it). James
signature.asc
Description: OpenPGP digital signature