Skip to content

Commit f1ecb8f

Browse files
committed
Cuda Support
1 parent 93b56ed commit f1ecb8f

File tree

2 files changed

+107
-72
lines changed

2 files changed

+107
-72
lines changed

README.md

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,31 @@ because I don't have the resources and the time to maintain other systems.
2020

2121

2222
## Supported Codecs
23-
* x264: H.264 (MPEG-4 AVC)
24-
* x265: H.265 Video Codec
25-
* aom: AV1 Video Codec (Experimental and very slow!)
26-
* fdk_aac: Fraunhofer FDK AAC Codec
27-
* xvidcore: MPEG-4 video coding standard
28-
* webm: WebM is a video file format
29-
* mp3: MPEG-1 or MPEG-2 Audio Layer III
30-
* ogg: Free, open container format
31-
* vorbis: Lossy audio compression format
32-
* theora: Free lossy video compression format
33-
* opus: Lossy audio coding format
23+
* `x264`: H.264 (MPEG-4 AVC)
24+
* `x265`: H.265 Video Codec
25+
* `aom`: AV1 Video Codec (Experimental and very slow!)
26+
* `fdk_aac`: Fraunhofer FDK AAC Codec
27+
* `xvidcore`: MPEG-4 video coding standard
28+
* `webm`: WebM is a video file format
29+
* `mp3`: MPEG-1 or MPEG-2 Audio Layer III
30+
* `ogg`: Free, open container format
31+
* `vorbis`: Lossy audio compression format
32+
* `theora`: Free lossy video compression format
33+
* `opus`: Lossy audio coding format
34+
* `nv-codec`: [NVIDIA's GPU accelerated video codecs](https://devblogs.nvidia.com/nvidia-ffmpeg-transcoding-guide/). Installation is triggered only if CUDA installation is detected, follow [these](#Cuda-installation) instructions for installation. Supported codecs in nvcodec:
35+
* Decoders
36+
* H264 `h264_cuvid`
37+
* H265 `hevc_cuvid`
38+
* Motion JPEG `mjpeg_cuvid`
39+
* MPEG1 video `mpeg1_cuvid`
40+
* MPEG2 video `mpeg2_cuvid`
41+
* MPEG4 part 2 video `mepg4_cuvid`
42+
* VC-1 `vc1_cuvid`
43+
* VP8 `vp8_cuvid`
44+
* VP9 `vp9_cuvid`
45+
* Encoders
46+
* H264 `nvenc nvenc_h264`
47+
* H265 `nvenc_hevc`
3448

3549
## Continuos Integration
3650
ffmpeg-build-script is rockstable. Every commit runs against Linux and OSX with https://travis-ci.org just to make sure everything works as expected.
@@ -82,6 +96,11 @@ cd ffmpeg-build-script
8296
./build-ffmpeg --help
8397
```
8498

99+
100+
### Cuda installation
101+
102+
To be able to install CUDA, you first need a compatible NVIDIA GPU. Once you have the GPU and display driver installed, you can follow the [official instructions](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) or [this blog](https://www.pugetsystems.com/labs/hpc/How-To-Install-CUDA-10-1-on-Ubuntu-19-04-1405/) to setup CUDA
103+
85104
Usage
86105
------
87106

@@ -100,8 +119,9 @@ Contact
100119
Tested on
101120
---------
102121

103-
* Mac OSX 10.14 64Bit XCode 11.0
104-
* Debian 9.11
122+
* Mac OSX 10.15
123+
* Debian 10
124+
* Ubuntu 20.04
105125

106126
Example
107127
-------

0 commit comments

Comments
 (0)