diff --git a/README.md b/README.md index a8fa883..9b34745 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,7 @@ A collection of delicious docker recipes. - [x] rtmp-server - [x] shoutcast - [x] tesseract +- [x] vnc2flv - [x] youtube-dl - [x] youtube-worker :beetle: diff --git a/vnc2flv/Dockerfile b/vnc2flv/Dockerfile new file mode 100644 index 0000000..9ba52f1 --- /dev/null +++ b/vnc2flv/Dockerfile @@ -0,0 +1,21 @@ +# +# Dockerfile for vnc2flv +# + +FROM alpine +MAINTAINER kev + +RUN set -xe \ + && apk add --no-cache build-base \ + python \ + python-dev \ + py-pip \ + && pip install vnc2flv \ + && apk del --purge build-base \ + python-dev \ + py-pip + +WORKDIR /data + +ENTRYPOINT ["flvrec.py"] +CMD ["--help"] diff --git a/vnc2flv/README.md b/vnc2flv/README.md new file mode 100644 index 0000000..ea1ef57 --- /dev/null +++ b/vnc2flv/README.md @@ -0,0 +1,36 @@ +vnc2flv +======= + +[Vnc2flv][1] is a cross-platform screen recording tool for UNIX, Windows or +Mac. It captures a VNC desktop session (either your own screen or a remote +computer) and saves as a Flash Video (FLV) file. + +This docker image works very well with [selenium/standalone-firefox-debug][2]. + +## docker-compose.yml + +```yaml +vnc2flv: + image: vimagick/vnc2flv + command: -P /pwdfile -o record.flv localhost 5900 + volumes: + - ./pwdfile:/pwdfile + - ./data:/data + net: host +``` + +## Up and Running + +```bash +# Create passwd file +echo secret > pwdfile + +# Start recording +docker-compose up -d + +# Stop recording +docker-compose kill -s INT +``` + +[1]: http://www.unixuser.org/~euske/python/vnc2flv/index.html +[2]: https://hub.docker.com/r/selenium/standalone-firefox-debug/ diff --git a/vnc2flv/docker-compose.yml b/vnc2flv/docker-compose.yml new file mode 100644 index 0000000..812d39e --- /dev/null +++ b/vnc2flv/docker-compose.yml @@ -0,0 +1,7 @@ +vnc2flv: + image: vimagick/vnc2flv + command: -P /pwdfile -o record.flv localhost 5900 + volumes: + - ./pwdfile:/pwdfile + - ./data:/data + net: host