[FFmpeg-user] Packages needed to enable nvenc (NVIDIA)

Dennis Mungai dmngaie at gmail.com
Wed Jan 5 11:18:27 EET 2022

On Wed, 5 Jan 2022 at 12:11, Def Etienne <shaker.doc at gmail.com> wrote:

> Greetings,
> I just noticed from another thread that almost all development packages
> could be installed like below:
> “sudo apt-get -y install \
>  yasm libx264-dev libx265-dev libnuma-dev libvpx-dev \
>  libfdk-aac-dev libmp3lame-dev libopus-dev”
> What development package(s) do I need and what —enable-* do I add if I
> would like to use the c:v h264_nvenc option?
> Thanks for any help
> Def
> Sent from my iPhone
You'll need the nv-codec-headers package, which you can build and install
from https://github.com/FFmpeg/nv-codec-headers
Your Linux distro may also package the same (albeit an older build, pinned
to a specific release) by the name ffnvcodec , ffnvcodec-headers, etc.

More information about the ffmpeg-user mailing list