We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5718835 commit bf527e7Copy full SHA for bf527e7
1 file changed
docker/Xeon/Dockerfile.ubuntu18.04
@@ -25,7 +25,6 @@ RUN rm /etc/apt/sources.list.d/oneAPI.list && \
25
apt-get install --no-install-recommends -y \
26
git tar ca-certificates \
27
libx265-dev \
28
- libx264-dev \
29
zlib1g-dev \
30
nasm \
31
gcc-9 \
@@ -40,6 +39,16 @@ RUN rm /etc/apt/sources.list.d/oneAPI.list && \
40
39
tar -zx --strip-components=1 -C "${DL_PREFIX}/ffmpeg"
41
42
+# build and install x264 from source
43
+WORKDIR ${DL_PREFIX}
44
+RUN git clone https://github.com/mirror/x264 -b stable --depth 1
45
+
46
+WORKDIR ${DL_PREFIX}/x264
47
+RUN ./configure --enable-shared && \
48
+ make -j "$(nproc)" && \
49
+ make install && \
50
+ ldconfig
51
52
COPY . ${DL_PREFIX}/Video-Super-Resolution-Library
53
54
WORKDIR ${DL_PREFIX}/Video-Super-Resolution-Library
0 commit comments