Browse Source

Add ffmpeg push streaming script

Author:    Kevin
pull/176/head
root 4 years ago committed by Jianghai He
parent
commit
576688597b
  1. 8
      scripts/ffmpeg_push_streaming.sh

8
scripts/ffmpeg_push_streaming.sh

@ -0,0 +1,8 @@ @@ -0,0 +1,8 @@
#!/bin/bash
while ((1))
do
curl http://localhost:8090/control/get?room=movie
ffmpeg -re -i demo.flv -c copy -f flv rtmp://localhost:1935/live/rfBd56ti2SMtYvSgD5xAV0YU99zampta7Z7S575KLkIZ9PYk
sleep 3
done
Loading…
Cancel
Save