Skip to content

Instantly share code, notes, and snippets.

View davidlowry's full-sized avatar

David Lowry davidlowry

View GitHub Profile
@davidlowry
davidlowry / ffmpeg-minimalist-build-nvenc-static.md
Last active February 17, 2017 09:07
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.

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 ~/