mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
add vnc2flv
This commit is contained in:
@@ -114,6 +114,7 @@ A collection of delicious docker recipes.
|
|||||||
- [x] rtmp-server
|
- [x] rtmp-server
|
||||||
- [x] shoutcast
|
- [x] shoutcast
|
||||||
- [x] tesseract
|
- [x] tesseract
|
||||||
|
- [x] vnc2flv
|
||||||
- [x] youtube-dl
|
- [x] youtube-dl
|
||||||
- [x] youtube-worker :beetle:
|
- [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
|
||||||
Reference in New Issue
Block a user