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 @@ -203,9 +203,29 @@ RUN if [ "${FFMPEG_INSTALL_METHOD}" = "source" ]; then \
203203 libavformat-dev \
204204 libavutil-dev \
205205 libswscale-dev \
206+ libaom-dev \
207+ libaom3 \
206208 && rm -rf /var/lib/apt/lists/*; \
207209 fi
208210
211+ # Install AV1 reference decoder (libaom)
212+ RUN apt-get update && apt-get install -y --no-install-recommends \
213+ git \
214+ cmake \
215+ build-essential \
216+ && mkdir /tmp/aom-tools \
217+ && cd /tmp/aom-tools \
218+ && git clone --depth 1 https://aomedia.googlesource.com/aom \
219+ && mkdir -p aom/build \
220+ && cd aom/build \
221+ && cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_TESTS=OFF -DENABLE_DOCS=OFF -DENABLE_EXAMPLES=ON .. \
222+ && make -j$(nproc) \
223+ && make install \
224+ && cd / && rm -rf /tmp/aom-tools \
225+ && apt-get remove -y git cmake build-essential \
226+ && apt-get autoremove -y \
227+ && rm -rf /var/lib/apt/lists/*
228+
209229# GStreamer installation (2 methods: system, source)
210230# Method "source": Build GStreamer from source (needed for new versions on old distros)
211231# Note: gst-libav is disabled when building from source to avoid FFmpeg API incompatibilities
You can’t perform that action at this time.
0 commit comments