From ca8ec63e7d8e2c0dc88cab091c1d1a1e8e16319b Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 13 Feb 2020 21:00:39 +0000 Subject: [PATCH] Add faster implementation of descale --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Dockerfile b/Dockerfile index fe96c94..fd03934 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,6 +44,16 @@ RUN cd /tmp \ && cd .. \ && rm -rf VapourSynth-DCTFilter +# Double speed for getnative +RUN cd /tmp/ \ + && git clone --depth=1 https://github.com/BluBb-mADe/vapoursynth-descale \ + && cd vapoursynth-descale \ + && g++ -std=c++17 -shared -fPIC -O2 descale.cpp -o libdescale.so \ + && cp descale.py /usr/lib/python3/dist-packages/ \ + && cp libdescale.so /usr/lib/x86_64-linux-gnu/vapoursynth/ \ + && cd .. \ + && rm -rf vapoursynth-descale + RUN pip3 --no-cache-dir install \ matplotlib \ tqdm \