Skip to content

Instantly share code, notes, and snippets.

View RileyMShea's full-sized avatar

Riley Shea RileyMShea

View GitHub Profile
@RileyMShea
RileyMShea / compile-ffmpeg-nvenc.sh
Last active November 11, 2019 22:17
This bash script will compile a static Ffmpeg build with NVENC and VAAPI hardware-accelerated support on Ubuntu in your home directory. You can modify the script to customize the build options as you see fit.
#!/bin/bash
# Changed to work with Ubuntu 19.04 from Brainiarc7 script
#install required things from apt
installLibs(){
echo "Installing prerequisites"
sudo apt-get update
sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \