Skip to content

Instantly share code, notes, and snippets.

Avatar

David Lowry davidlowry

View GitHub Profile
@davidlowry
davidlowry / ffmpeg-minimalist-build-nvenc-static.md
Last active Feb 17, 2017
This gist will show you how to build a minimalist, statically-linked ffmpeg binary under the ~/bin subdirectory on your home on Ubuntu 16.04LTS.
View ffmpeg-minimalist-build-nvenc-static.md

Minimalist static FFmpeg build on Ubuntu 16.04 with Nvidia NVENC enabled.

Original guide with a standard build is here.

With this guide, I'm adding more instructions to enable support for NVIDIA CUVID and NVIDIA NPP for enhanced encode and decode performance.

First, prepare for the build and create the work space directory:

cd ~/