This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # ========================================================================= | |
| # Source: https://gist.github.com/lucaspar/27f5e108b80524b315be10b2a9049817 | |
| # ========================================================================= | |
| # This script will compile and install a static FFmpeg build with | |
| # support for NVENC in Ubuntu. Updated for Ubuntu 24.04.2, | |
| # with NVIDIA Drivers v535.183.01 and CUDA v12.2 with a GPU | |
| # with CUDA capability 8.6 (RTX 3080). Set ccap below if using | |
| # a different GPU. | |
| # It assumes NVIDIA drivers are installed and that you have a |