mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
add vnc2flv
This commit is contained in:
parent
2d46853016
commit
3b35e76737
@ -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
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
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/
|
7
vnc2flv/docker-compose.yml
Normal file
7
vnc2flv/docker-compose.yml
Normal file
@ -0,0 +1,7 @@
|
||||
vnc2flv:
|
||||
image: vimagick/vnc2flv
|
||||
command: -P /pwdfile -o record.flv localhost 5900
|
||||
volumes:
|
||||
- ./pwdfile:/pwdfile
|
||||
- ./data:/data
|
||||
net: host
|
Loading…
Reference in New Issue
Block a user