1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

add vnc2flv

This commit is contained in:
kev 2016-11-15 08:41:05 +08:00
parent 2d46853016
commit 3b35e76737
4 changed files with 65 additions and 0 deletions

@ -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:

21
vnc2flv/Dockerfile Normal file

@ -0,0 +1,21 @@
#
# Dockerfile for vnc2flv
#
FROM alpine
MAINTAINER kev <noreply@easypi.info>
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"]

36
vnc2flv/README.md Normal file

@ -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/

@ -0,0 +1,7 @@
vnc2flv:
image: vimagick/vnc2flv
command: -P /pwdfile -o record.flv localhost 5900
volumes:
- ./pwdfile:/pwdfile
- ./data:/data
net: host