mirror of
https://github.com/master-of-zen/Av1an.git
synced 2024-11-24 18:18:06 +00:00
5f0ece3781
Signed-off-by: Luigi311 <luigi311.lg@gmail.com>
27 lines
678 B
Docker
27 lines
678 B
Docker
FROM luigi311/encoders-docker:latest
|
|
|
|
ENV MPLCONFIGDIR="/home/app_user/"
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
# 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 && \
|
|
make -j"$(nproc)" && \
|
|
ln -s ../bin/EncoderAppStatic /usr/local/bin/vvc_encoder
|
|
|
|
# Install av1an
|
|
COPY . /home/app_user/Av1an
|
|
WORKDIR /home/app_user/Av1an
|
|
RUN python3 setup.py install
|
|
|
|
# Change permissions
|
|
RUN chmod 777 -R /home/app_user
|
|
|
|
USER app_user
|
|
|
|
VOLUME ["/videos"]
|
|
WORKDIR /videos
|
|
|
|
ENTRYPOINT [ "/home/app_user/Av1an/av1an.py" ]
|