2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 11:34:57 +01:00

update ffserver

This commit is contained in:
kev
2016-07-05 03:33:59 +08:00
parent 4bb73644f1
commit 7bded15bc5
5 changed files with 101 additions and 38 deletions

View File

@@ -17,8 +17,32 @@ red5:
restart: always
```
## Server Setup
```bash
$ docker-compose up -d
```
## Client Setup
```bash
$ ffmpeg -i /dev/video0 -video_size 800x600 -f flv rtmp://easypi.info/live/webcam
```
## Player Setup
```bash
# kodi
$ echo 'rtmp://easypi.info/live/webcam live=1' > ~/Movies/webcam.strm
# ffplay
$ brew reinstall ffmpeg --with-ffplay --with-rtmpdump
$ ffplay 'rtmp://easypi.info/live/webcam live=1'
```
## references
- <https://github.com/Red5/docker>
- <http://kodi.wiki/view/Internet_video_and_audio_streams>
[1]: https://github.com/Red5/red5-server