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

refine the script, add build/run/stop

This commit is contained in:
winlin 2013-12-23 13:16:31 +08:00
parent 1783e1f764
commit 2cefe1a9bb
15 changed files with 148 additions and 106 deletions

7
trunk/scripts/_ffmpeg.demo.sh Executable file
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=demo.srs.com/livestream; \
sleep 1; \
done