Skip to content

Commit d04e2f2

Browse files
author
Nate Todd
committed
Pull libx264 from stable git branch instead of latest download
1 parent 9b7946d commit d04e2f2

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

video-transcoding/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,9 @@ RUN set -ex \
6666
&& cd /usr/src/ffmpeg \
6767
&& rm -rf nasm-2.13.01 \
6868

69-
# libx264 latest
70-
&& wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2 \
71-
&& tar xjvf last_x264.tar.bz2 \
72-
&& cd x264-snapshot* \
69+
# libx264 stable
70+
&& git clone -b stable http://git.videolan.org/git/x264.git x264 \
71+
&& cd x264 \
7372
&& PATH="/usr/src/ffmpeg/bin:$PATH" ./configure --prefix="/usr/src/ffmpeg/build" --bindir="/usr/src/ffmpeg/bin" --enable-static --disable-opencl \
7473
&& PATH="/usr/src/ffmpeg/bin:$PATH" make -j"$(nproc)" \
7574
&& make install \

0 commit comments

Comments
 (0)