Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ffmpeg with nvenc
#! /bin/bash
mkdir ~/tmp
cd ~/tmp
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar -xvf yasm-1.3.0.tar.gz
cd yasm-1.3.0/
make && sudo make install
cd ~/tmp
git clone https://git.videolan.org/git/ffmpeg/nv-codec-headers && \
cd nv-codec-headers && \
make && \
sudo make install
cd ~/tmp
wget http://ffmpeg.org/releases/ffmpeg-4.0.tar.bz2 && \
tar jxvf ffmpeg-4.0.tar.bz2 && \
cd ffmpeg-4.0 && \
./configure --disable-shared --enable-static && \
make -j$(nproc) && \
sudo make install
cd ~/
rm -r tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment