Files
gobot/gobot-gui/api/scripts/ffmpeg_stream.bash
2024-11-03 23:52:06 +01:00

12 lines
220 B
Bash

#/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