File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 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
8282
8383### Run with Docker
8484
85+ #### Default - Without CUDA
8586``` bash
8687git clone https://github.com/markus-perl/ffmpeg-build-script.git
8788cd ffmpeg-build-script
8889docker 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
Original file line number Diff line number Diff line change @@ -6,11 +6,9 @@ VERSION=1.16
66CWD=$( pwd)
77PACKAGES=" $CWD /packages"
88WORKSPACE=" $CWD /workspace"
9- CC=clang
109CFLAGS=" -I$WORKSPACE /include"
1110LDFLAGS=" -L$WORKSPACE /lib"
1211EXTRALIBS=" -lpthread -lm"
13- FFMPEG_OPTS=()
1412CONFIGURE_OPTIONS=()
1513
1614# Speed up the process
You can’t perform that action at this time.
0 commit comments