-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Letsplaybar
committed
Oct 24, 2021
0 parents
commit 160fc2b
Showing
2 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |