Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rustmn/FFMPEG-NVENC-Docker-build
Dockerfile & installation instructions for FFMPEG with NVENC. Supported encoders: av1_nvenc, hevc_nvenc, h264_nvenc.
https://github.com/rustmn/FFMPEG-NVENC-Docker-build
av1 ffmpeg hevc nvenc video-encoding
Last synced: about 2 months ago
JSON representation
Dockerfile & installation instructions for FFMPEG with NVENC. Supported encoders: av1_nvenc, hevc_nvenc, h264_nvenc.
- Host: GitHub
- URL: https://github.com/rustmn/FFMPEG-NVENC-Docker-build
- Owner: rustmn
- Created: 2023-03-21T13:27:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-03-21T14:01:25.000Z (over 1 year ago)
- Last Synced: 2024-07-27T11:42:51.015Z (2 months ago)
- Topics: av1, ffmpeg, hevc, nvenc, video-encoding
- Language: Dockerfile
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Hardware accelerated AV1 encoding (av1_nvenc) requires an Ada Lovelace Architecture GPU (nvidia L40 for datacenters not included in this list but has required architecture): https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new
1. Download and install CUDA: https://developer.nvidia.com/cuda-downloads
Note: There will be prompt during installation asking about installable components, select Driver there besides default selected components.2. Install Nvidia Container Toolkit: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#install-guide
Note: in Ubuntu apt may not be able to find repository for nvidia-container-toolkit-base, if so setup repository manually:
```
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \
&& curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
```3. Install Docker.
4. Build image.
5. Run container: `sudo docker run --runtime=nvidia --gpus all -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility `