2021-02-10 05:41:53 +00:00
|
|
|
FROM luigi311/encoders-docker:latest
|
2021-01-18 02:13:24 +00:00
|
|
|
|
2021-01-18 06:12:55 +00:00
|
|
|
ENV MPLCONFIGDIR="/home/app_user/"
|
2021-02-10 05:41:53 +00:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
2021-01-31 21:20:23 +00:00
|
|
|
|
|
|
|
# Install VTM
|
|
|
|
RUN git clone https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM.git /home/app_user/VTM && \
|
|
|
|
mkdir -p /home/app_user/VTM/build
|
|
|
|
WORKDIR /home/app_user/VTM/build
|
|
|
|
RUN cmake .. -DCMAKE_BUILD_TYPE=Release && \
|
2021-01-31 21:37:18 +00:00
|
|
|
make -j"$(nproc)" && \
|
2021-01-31 21:20:23 +00:00
|
|
|
ln -s ../bin/EncoderAppStatic /usr/local/bin/vvc_encoder
|
|
|
|
|
2021-01-18 02:13:24 +00:00
|
|
|
# Install av1an
|
|
|
|
COPY . /home/app_user/Av1an
|
|
|
|
WORKDIR /home/app_user/Av1an
|
2021-02-10 05:41:53 +00:00
|
|
|
RUN python3 setup.py install
|
2021-01-18 02:13:24 +00:00
|
|
|
|
|
|
|
# Change permissions
|
2021-01-31 21:37:18 +00:00
|
|
|
RUN chmod 777 -R /home/app_user
|
2021-01-31 21:20:23 +00:00
|
|
|
|
|
|
|
USER app_user
|
2021-01-18 02:13:24 +00:00
|
|
|
|
|
|
|
VOLUME ["/videos"]
|
|
|
|
WORKDIR /videos
|
|
|
|
|
2021-01-18 06:12:55 +00:00
|
|
|
ENTRYPOINT [ "/home/app_user/Av1an/av1an.py" ]
|