Compare commits

..

No commits in common. "a3083f9da51248745796495dec52c1da2575ac76" and "7b809edf98710fe3c74052568945d89a5c814bab" have entirely different histories.

View file

@ -3,12 +3,28 @@ FROM debian:testing
RUN echo 'deb http://ftp-stud.hs-esslingen.de/pub/Mirrors/debian-multimedia/ testing main' > /etc/apt/sources.list.d/deb-multimedia.list \
&& apt-get update -oAcquire::AllowInsecureRepositories=true \
&& apt-get -y --allow-unauthenticated install deb-multimedia-keyring \
&& apt-get update
&& rm -rf /var/lib/apt/lists
# Base build dependencies
RUN apt-get -y install \
build-essential \
wget
RUN apt-get update \
&& apt-get -y install \
autoconf \
beignet-opencl-icd \
clinfo \
ffmpeg \
git \
libplacebo-dev \
libtool \
meson \
mkvtoolnix \
pocl-opencl-icd \
python3-opencv \
python3-pip \
vapoursynth \
vapoursynth-* \
wget \
x264 \
x265 \
&& rm -rf /var/lib/apt/lists
# required for DCTFilter
RUN cd /tmp \
@ -26,16 +42,6 @@ RUN cd /tmp \
&& cd .. \
&& rm -rf fftw-3.3.8
# Vapoursynth plugin build dependencies
RUN apt-get -y install \
autoconf \
cargo \
git \
libplacebo-dev \
libtool \
meson \
vapoursynth-dev
# required by hvf.Deblock_QED (required by fvf.AutoDeblock)
RUN cd /tmp \
&& git clone --depth=1 https://github.com/HomeOfVapourSynthEvolution/VapourSynth-DCTFilter \
@ -59,7 +65,7 @@ RUN cd /tmp \
&& rm -rf VS-ContinuityFixer
# double speed for getnative
RUN cd /tmp \
RUN cd /tmp/ \
&& git clone --depth=1 https://github.com/OrangeChannel/vapoursynth-descale \
&& cd vapoursynth-descale \
&& g++ -std=c++17 -shared -fPIC -O2 descale.cpp -o libdescale_getnative.so \
@ -78,28 +84,6 @@ RUN cd /tmp \
&& cd /tmp/ \
&& rm -rf vs-placebo
RUN cd /tmp \
&& git clone --depth=1 --recursive https://git.kageru.moe/kageru/adaptivegrain \
&& cd adaptivegrain \
&& cargo build --release \
&& cp target/release/libadaptivegrain_rs.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \
&& cd .. \
&& rm -rf adaptivegrain \
&& rm -rf ~/.cargo
# Runtime dependencies
RUN apt-get -y install \
beignet-opencl-icd \
clinfo \
ffmpeg \
mkvtoolnix \
pocl-opencl-icd \
python3-opencv \
python3-pip \
vapoursynth-* \
x264 \
x265
RUN pip3 --no-cache-dir install \
matplotlib \
tqdm \