Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Letsplaybar committed Oct 24, 2021
0 parents commit 160fc2b
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
48 changes: 48 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FROM ubuntu:latest

ENV DEBIAN_FRONTEND=noninteractive
ENV LD_LIBRARY_PATH=/usr/local/lib
ENV PYTHONPATH=/usr/local/lib/python3.8/site-packages

RUN apt update && \
apt install -y build-essential autoconf automake autotools-dev libtool pkg-config curl git xz-utils cython3 nasm \
yasm libtool pkg-config libfftw3-dev libpng-dev libsndfile1-dev libxvidcore-dev libbluray-dev zlib1g-dev \
libopencv-dev ocl-icd-libopencl1 opencl-headers libboost-filesystem-dev libboost-system-dev ffmpeg python3 \
python3-pip ninja-build meson && \
pip3 -q install pip --upgrade && \
pip3 install jupyter && \
pip install yuuno && \
yuuno jupyter install && \
mkdir /jupyter && \
ln -s /usr/bin/python3 /usr/bin/python

# zimg library
RUN git clone https://github.com/sekrit-twc/zimg.git /usr/src/zimg && \
cd /usr/src/zimg && \
./autogen.sh && \
./configure && \
make -j4 && \
make install

# vapoursynth
RUN git clone https://github.com/vapoursynth/vapoursynth.git /usr/src/vapoursynth && \
cd /usr/src/vapoursynth && \
git checkout tags/R57 && \
./autogen.sh && \
./configure && \
make -j4 && \
make install

#vapoursyth-plugins
RUN git clone --recurse-submodules -j8 https://github.com/Letsplaybar/vapoursynth-plugins.git /usr/src/vapoursynth-plugins && \
cd /usr/src/vapoursynth-plugins && \
make -j4

WORKDIR /jupyter

VOLUME /jupyter

EXPOSE 8888/tcp

#Run Command
CMD ["jupyter", "notebook", "--port=8888", "--no-browser", "--ip=0.0.0.0", "--allow-root"]
11 changes: 11 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Docker Vapoursynth Yuuno


## Setup a Container:
```bash
docker run -p 8888:8888 -v jupyter/on/host:/jupyter --name vapoursynth-yuuno letsplaybar/docker-vapoursynth-yuuno
```
##Repos of compiled code
- [Zimg](https://github.com/sekrit-twc/zimg)
- [VapourSynth](https://github.com/vapoursynth/vapoursynth)
- [VapourSynth-Plugins](https://github.com/Letsplaybar/vapoursynth-plugins)

0 comments on commit 160fc2b

Please sign in to comment.