summaryrefslogtreecommitdiff
path: root/bin/encode+stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/encode+stream')
-rwxr-xr-xbin/encode+stream6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/encode+stream b/bin/encode+stream
index e090587..0decf10 100755
--- a/bin/encode+stream
+++ b/bin/encode+stream
@@ -11,7 +11,7 @@ fi
FIRSTPORT=${2:-5002} # even number - next 3 ports used too
-BITRATE=500000
+VBITRATE=500000
TMPMOVIE=../tmp/omni/show0/earth.yuv
@@ -21,8 +21,8 @@ ffmpeg -threads auto -re \
-stream_loop -1 -i "$TMPMOVIE" \
-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)) \
+ -b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \
+ -undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \
-max-intra-rate 0 \
-qmin 4 -qmax 56 \
-static-thresh 500 -skip_threshold 50 \