summaryrefslogtreecommitdiff
path: root/bin/decode+edit+encode+stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/decode+edit+encode+stream')
-rwxr-xr-xbin/decode+edit+encode+stream3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/decode+edit+encode+stream b/bin/decode+edit+encode+stream
index b9c9d7e..f0efc74 100755
--- a/bin/decode+edit+encode+stream
+++ b/bin/decode+edit+encode+stream
@@ -26,10 +26,11 @@ LOGO=../../content/icon_small.png
ffmpeg -threads auto -re \
-f lavfi -i "movie=filename=$MOVIE:loop=$ITERATIONS, setpts=N/(FRAME_RATE*TB), scale=-1:$HEIGHT" \
-i "$LOGO" -filter_complex 'overlay=main_w-overlay_w-20:main_h-overlay_h-20' \
+ -an \
-codec:v vp8 -quality realtime -deadline realtime -cpu-used 15 \
-b:v "$BITRATE" -minrate "$BITRATE" -maxrate "$BITRATE" \
-undershoot-pct 95 -bufsize $((6000*BITRATE/1000)) -rc_init_occupancy $((4000*BITRATE/1000)) \
-max-intra-rate 0 \
-qmin 4 -qmax 56 \
-static-thresh 500 -skip_threshold 50 \
- -an -f rtp "rtp://$IP:$PORT?pkt_size=1200"
+ -f rtp "rtp://$IP:$PORT?pkt_size=1200"