Skip to content

Instantly share code, notes, and snippets.

View kristofkeppens's full-sized avatar

Kristof Keppens kristofkeppens

View GitHub Profile
@kristofkeppens
kristofkeppens / compile-ffmpeg-nvenc.sh
Last active December 2, 2021 13:06
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
#This script will compile and install a static ffmpeg build with support for nvenc un ubuntu.
#See the prefix path and compile options if edits are needed to suit your needs.
#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 \

Keybase proof

I hereby claim:

  • I am kristofkeppens on github.
  • I am kkeppens (https://keybase.io/kkeppens) on keybase.
  • I have a public key whose fingerprint is 20CA 7E19 046F A86E 4E2C 470E D8BF 2D00 D6D5 6322

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am flyapen on github.
  • I am kkeppens (https://keybase.io/kkeppens) on keybase.
  • I have a public key ASAD0yAKc1X-9DMe54-ULU2PhDpzAOGFST8oDeDq2EyS1wo

To claim this, I am signing this object:

# this include won't work for some reason:
# include Capistrano::Git::DefaultStrategy
module SubmoduleStrategy
# check for a .git directory
def test
test! " [ -d #{repo_path}/.git ] "
end