Skip to content

Instantly share code, notes, and snippets.

@smit-io
smit-io / gist:9f4a6500c110040f306b6d99ddeec5e6
Created November 20, 2023 04:57
Compile ffmpeg with nvenc for Ubuntu 22
#!/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.
# ripped from https://gist.github.com/Brainiarc7/3f7695ac2a0905b05c5b
# updated to my personal needs
# tested on Ubuntu 22
# refer here: