Add docker for FFmpeg publish
This commit is contained in:
parent
ba5b2f6a60
commit
33a94de13d
|
|
@ -39,7 +39,7 @@ ffmpeg -re -i doc/source.200kbps.768x320.flv -c copy \
|
||||||
# Or by FFmpeg docker
|
# Or by FFmpeg docker
|
||||||
docker run --rm --network=host registry.cn-hangzhou.aliyuncs.com/ossrs/srs:encoder \
|
docker run --rm --network=host registry.cn-hangzhou.aliyuncs.com/ossrs/srs:encoder \
|
||||||
ffmpeg -re -i ./doc/source.200kbps.768x320.flv -c copy \
|
ffmpeg -re -i ./doc/source.200kbps.768x320.flv -c copy \
|
||||||
-f flv -y rtmp://localhost/live/encoder
|
-f flv -y rtmp://localhost/live/livestream
|
||||||
```
|
```
|
||||||
|
|
||||||
Play the following streams by players:
|
Play the following streams by players:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user