Skip to content

Commit

Permalink
Upgrade ffmpeg and Cuda in transcoder.
Browse files Browse the repository at this point in the history
  • Loading branch information
shamamayair committed Nov 2, 2023
1 parent 0ca4bfa commit c0edd88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions transcoder/Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it -v ~/dev/live/transcoder:/tmp -p 6543:6543 kaltura/live-transcoder
#gdb --args ./transcoder -f /tmp/config2.json

ARG CUDA_VERSION="11.1.1-devel"
ARG CUDA_VERSION="11.1.1-devel"

ARG PYTHON_VERSION=3.8

Expand All @@ -23,8 +23,9 @@ RUN cd nv-codec-headers && \

RUN git clone --branch ${FFMPEG_VERSION} https://github.com/ffmpeg/ffmpeg.git

RUN cd ffmpeg && \
./configure --disable-doc --enable-nonfree --disable-shared --enable-nvenc --enable-cuda --enable-cuvid --enable-libnpp --extra-cflags=-Ilocal/include --enable-gpl --enable-version3 --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --enable-libx264 --enable-libx265 --extra-cflags=-I/usr/local/cuda/targets/x86_64-linux/include --extra-ldflags="-L/usr/local/cuda/targets/x86_64-linux/lib" && \

RUN cd ffmpeg && \
./configure --disable-doc --enable-nonfree --disable-shared --enable-nvenc --enable-cuda --enable-cuvid --enable-libnpp --extra-cflags=-Ilocal/include --enable-gpl --enable-version3 --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --enable-libx264 --enable-libx265 --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64 && \
make -j 8

RUN apt-get install valgrind -y
Expand Down

0 comments on commit c0edd88

Please sign in to comment.