Create "working" example
This commit is contained in:
12
gobot-gui/api/scripts/ffmpeg_stream.bash
Normal file
12
gobot-gui/api/scripts/ffmpeg_stream.bash
Normal file
@@ -0,0 +1,12 @@
|
||||
#/usr/bin/bash
|
||||
|
||||
SDP_FILE="output.sdp"
|
||||
|
||||
ffmpeg \
|
||||
-stream_loop -1 \
|
||||
-rtbufsize 2M \
|
||||
-re \
|
||||
-i "test/Big_Buck_Bunny_1080_10s_10MB.mp4" \
|
||||
-b:v 3M \
|
||||
-sdp_file $SDP_FILE \
|
||||
-f rtp rtp://127.0.0.1:1234
|
||||
Reference in New Issue
Block a user