You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,14 +63,14 @@ ffmpeg-build-script is rockstable. Every commit runs against Linux and MacOS wit
63
63
64
64
65
65
## Requirements
66
-
### MacOS
66
+
### macOS
67
67
68
68
* XCode 10.x or greater
69
69
70
70
### Linux
71
71
72
72
* Debian >= Buster, Ubuntu => Focal Fossa, other Distributions might work too
73
-
*build-essentials, curl is required installed
73
+
*A development environment and curl is required
74
74
75
75
```bash
76
76
# Debian and Ubuntu
@@ -102,9 +102,10 @@ $ ./build-ffmpeg --help
102
102
103
103
### Build in Docker (Linux)
104
104
105
-
The main advantage of using Docker is the ability to reliably build without polluting the host environment. And you don't even have to install the CUDA SDK on your host!
105
+
With Docker, FFmpeg can be built reliably without altering the host system.
106
+
Also, there is no need to have the CUDA SDK installed outside of the Docker image.
106
107
107
-
If you are running below kind of operating system and having Docker version 19.03 or higher, this is your best option.
108
+
A Docker engine with version 19.03 or higheris required to build images based on the following distributions:
108
109
* Ubuntu >= 16.04 (16.04, 18.04, 20.04)
109
110
* Centos >= 7 (7, 8)
110
111
@@ -113,13 +114,13 @@ If you are running below kind of operating system and having Docker version 19.0
113
114
$ export DOCKER_BUILDKIT=1
114
115
```
115
116
116
-
2. Set the following DIST (`ubuntu` or `centos`) and VER (ubuntu: `16.04` , `18.04`, `20.04` or centos: `7`, `8`) environment variables in conjunction with your operating system.
117
+
2. Set the DIST (`ubuntu` or `centos`) and VER (ubuntu: `16.04` , `18.04`, `20.04` or centos: `7`, `8`) environment variables to select the preferred Docker base image.
If you use CUDA, Docker must be higher than 19.03.
160
+
To use CUDA from inside the container, the installed Docker version must be >= 19.03.
160
161
Install the driver and `nvidia-docker2` from [here](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#installing-docker-ce).
161
-
You can perform hardware acceleration by GPU by running the following.
162
+
You can then run FFmpeg inside Docker with GPU hardware acceleration enabled, as follows:
0 commit comments