[Bug 264027] multimedia/ffmpeg: add NVENC option

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 16 May 2022 21:08:57 UTC

            Bug ID: 264027
           Summary: multimedia/ffmpeg: add NVENC option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: iwtcex@gmail.com
                CC: scf@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

Created attachment 233972
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233972&action=edit
nvenc support

1. Mostly taken from

2. Would be nice to make this a default setting as well.

3. At the moment there are no native FreeBSD versions of
libcuda.so/libnvidia-encode.so/libnvcuvid.so, so to actually use NVENC we need
to load the Linux binaries for those libs with the help of emulators/libc6-shim
and the `nv-sglrun` script from that port. Something like this:

% sudo pkg install nvidia-driver linux-nvidia-libs libc6-shim obs-studio
% nv-sglrun obs

4. nvidia-driver version should be >= 495.

You are receiving this mail because:
You are the assignee for the bug.