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:
parent
1783e1f764
commit
2cefe1a9bb
15 changed files with 148 additions and 106 deletions
7
trunk/scripts/_ffmpeg.demo.sh
Executable file
7
trunk/scripts/_ffmpeg.demo.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue