1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Add docker for FFmpeg publish

This commit is contained in:
winlin 2021-03-05 09:02:04 +08:00
parent ba5b2f6a60
commit 33a94de13d

View file

@ -39,7 +39,7 @@ ffmpeg -re -i doc/source.200kbps.768x320.flv -c copy \
# Or by FFmpeg docker
docker run --rm --network=host registry.cn-hangzhou.aliyuncs.com/ossrs/srs:encoder \
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: