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

add scripts

This commit is contained in:
winlin 2013-12-23 10:40:11 +08:00
parent 8e95227ada
commit 0846f05e6a
6 changed files with 191 additions and 1 deletions

View file

@ -0,0 +1,7 @@
#!/bin/bash
for((;;)); do \
./objs/ffmpeg/bin/ffmpeg -re -i ./doc/source.200kbps.768x320.flv \
-vcodec copy -acodec copy \
-f flv -y rtmp://127.0.0.1/live?vhost=players/livestream; \
sleep 1; \
done