Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
/ ffmpeg-nvenc Public archive
forked from lutris/ffmpeg-nvenc

Build script for FFmpeg with nvenc support

License

Notifications You must be signed in to change notification settings

Ubuntuify/ffmpeg-nvenc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FFmpeg + nvenc build script

This script will compile FFmpeg with Nvidia NVENC support enabled. It can also build OBS Studio or Simple Screen Recorder using that FFmpeg build thus providing NVENC for OBS.

It is brought to you by Linux GameCast and Lutris #lgccares

Requirements

  • CUDA driver and toolkit
wget http://developer.download.nvidia.com/compute/cuda/10.2/Prod/local_installers/cuda_10.2.89_440.33.01_linux.run
sudo sh cuda_10.2.89_440.33.01_linux.run
  • unzip
  • git

Usage

Clone the repo then use the build.sh script to compile the binaries

git clone https://github.com/nicholas-littlelives/ffmpeg-nvenc.git
cd ffmpeg-nvenc
./build.sh --dest $HOME/apps/ffmpeg-nvenc

The following command line options are available:

  • -d / --dest : Destination path for FFmpeg / OBS
  • -o / --obs : Build OBS Studio
  • -h / --help : Usage

TODO

  • Add support for multiple distributions (currently only tested on Ubuntu 16.04)

Supporting the authors

If you find this script useful, you can consider supporting Linux GameCast and Lutris.

About

Build script for FFmpeg with nvenc support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%