1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00
dockerfiles/vnc2flv/README.md

44 lines
919 B
Markdown
Raw Normal View History

2016-11-15 02:41:05 +02:00
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
2016-11-24 06:28:28 +02:00
stop_signal: SIGINT
2016-11-15 02:41:05 +02:00
```
## Up and Running
```bash
# Create passwd file
2016-11-15 02:46:16 +02:00
$ echo secret > pwdfile
2016-11-15 02:41:05 +02:00
# Start recording
2016-11-15 02:46:16 +02:00
$ docker-compose up -d
2016-11-15 02:41:05 +02:00
# Stop recording
2016-11-24 06:28:28 +02:00
$ docker-compose stop
2016-11-15 02:46:16 +02:00
# View logs
$ docker-compose logs
Attaching to vnc2flv_vnc2flv_1
vnc2flv_1 | start recording
vnc2flv_1 | stop recording
2016-11-15 02:41:05 +02:00
```
[1]: http://www.unixuser.org/~euske/python/vnc2flv/index.html
[2]: https://hub.docker.com/r/selenium/standalone-firefox-debug/