mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 11:34:57 +01:00
update ffserver
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user