Skip to content

Commit c367d16

Browse files
committed
Docker Readme update
1 parent cedd73e commit c367d16

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

.dockerignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
packages/
2+
workspace/

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,20 @@ This command downloads the build script and automatically starts the build proce
8282

8383
### Run with Docker
8484

85+
#### Default - Without CUDA
8586
```bash
8687
git clone https://github.com/markus-perl/ffmpeg-build-script.git
8788
cd ffmpeg-build-script
8889
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
9099
```
91100

92101
### Common installation

build-ffmpeg

-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ VERSION=1.16
66
CWD=$(pwd)
77
PACKAGES="$CWD/packages"
88
WORKSPACE="$CWD/workspace"
9-
CC=clang
109
CFLAGS="-I$WORKSPACE/include"
1110
LDFLAGS="-L$WORKSPACE/lib"
1211
EXTRALIBS="-lpthread -lm"
13-
FFMPEG_OPTS=()
1412
CONFIGURE_OPTIONS=()
1513

1614
# Speed up the process

0 commit comments

Comments
 (0)