summaryrefslogtreecommitdiff
path: root/bin/loop+encode+stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/loop+encode+stream')
-rwxr-xr-xbin/loop+encode+stream1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream
index 9387dcb..0f29ed1 100755
--- a/bin/loop+encode+stream
+++ b/bin/loop+encode+stream
@@ -27,6 +27,7 @@ ffmpeg -threads auto -re \
-vn \
-f rtp "rtp://$IP:$FIRSTPORT?pkt_size=1200" \
-an \
+ -pix_fmt yuv420p \
-codec:v vp8 -quality realtime -deadline realtime -cpu-used 15 \
-b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \
-undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \