File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ packages /
2
+ workspace /
Original file line number Diff line number Diff line change @@ -82,11 +82,20 @@ This command downloads the build script and automatically starts the build proce
82
82
83
83
### Run with Docker
84
84
85
+ #### Default - Without CUDA
85
86
``` bash
86
87
git clone https://github.com/markus-perl/ffmpeg-build-script.git
87
88
cd ffmpeg-build-script
88
89
docker build --tag=ffmpeg .
89
- docker run ffmpeg -i http://files.coconut.co.s3.amazonaws.com/test.mp4 -f webm -c:v libvpx -c:a libvorbis - > /tmp/test.mp4
90
+ docker run ffmpeg -i https://files.coconut.co.s3.amazonaws.com/test.mp4 -f webm -c:v libvpx -c:a libvorbis - > /tmp/test.mp4
91
+ ```
92
+
93
+ #### With CUDA
94
+ ``` bash
95
+ git clone https://github.com/markus-perl/ffmpeg-build-script.git
96
+ cd ffmpeg-build-script
97
+ docker build --tag=ffmpeg-cuda -f cuda-ubuntu.dockerfile .
98
+ docker run ffmpeg-cuda -i https://files.coconut.co.s3.amazonaws.com/test.mp4 -f webm -c:v libvpx -c:a libvorbis - > /tmp/test.mp4
90
99
```
91
100
92
101
### Common installation
Original file line number Diff line number Diff line change @@ -6,11 +6,9 @@ VERSION=1.16
6
6
CWD=$( pwd)
7
7
PACKAGES=" $CWD /packages"
8
8
WORKSPACE=" $CWD /workspace"
9
- CC=clang
10
9
CFLAGS=" -I$WORKSPACE /include"
11
10
LDFLAGS=" -L$WORKSPACE /lib"
12
11
EXTRALIBS=" -lpthread -lm"
13
- FFMPEG_OPTS=()
14
12
CONFIGURE_OPTIONS=()
15
13
16
14
# Speed up the process
You can’t perform that action at this time.
0 commit comments