File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ ARG NASM_VERSION=2.15.04
1212ARG OPENSSL_VERSION=1_1_1w
1313ARG QT_VERSION=5.15.16
1414ARG YASM_VERSION=1.3.0
15+ ARG AOM_VERSION=v3.11.0
16+ ARG AVIF_VERSION=v1.1.1
1517
1618ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
1719
@@ -101,6 +103,24 @@ RUN mkdir ~/libvpx_sources && \
101103 cd .. && \
102104 rm -rf ~/libvpx_sources
103105
106+ RUN mkdir ~/aom_sources && \
107+ cd ~/aom_sources && \
108+ git clone --depth 1 -b ${AOM_VERSION} https://aomedia.googlesource.com/aom && \
109+ mkdir build && cd build && \
110+ cmake -DCMAKE_C_COMPILER=$(dirname $(which g++))/gcc -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON -DENABLE_TESTS=OFF ../aom/ && \
111+ make -j$(getconf _NPROCESSORS_ONLN) && \
112+ make install && \
113+ cd / && rm -rf ~/aom_sources
114+
115+ RUN mkdir ~/avif_sources && \
116+ cd ~/avif_sources && \
117+ git clone -b ${AVIF_VERSION} https://github.com/AOMediaCodec/libavif.git && \
118+ mkdir build && cd build && \
119+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DAVIF_CODEC_AOM=SYSTEM -DAVIF_LIBYUV=LOCAL -DAVIF_BUILD_APPS=OFF ../libavif && \
120+ make -j$(getconf _NPROCESSORS_ONLN) && \
121+ make install && \
122+ cd / && rm -rf ~/avif_sources
123+
104124RUN mkdir ~/ffmpeg_sources && \
105125 cd ~/ffmpeg_sources && \
106126 curl -O -L https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz && \
You can’t perform that action at this time.
0 commit comments