From 0392b18cd3fc116b19df0393822c9d6e0817073c Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 16 Apr 2017 16:14:37 +0200 Subject: Limit video bitrate to 256k. --- bin/decode+edit+encode | 2 +- bin/decode+edit+encode+stream | 2 +- bin/decode+edit+loop+encode+stream | 2 +- bin/encodevideo+loop+stream | 2 +- bin/loop+encode+stream | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/decode+edit+encode b/bin/decode+edit+encode index 82bbc88..a34b54e 100755 --- a/bin/decode+edit+encode +++ b/bin/decode+edit+encode @@ -9,7 +9,7 @@ LOGO=../../content/icon_small.png OUTPUT=../tmp/omni/show0/earth.webm HEIGHT=360 -VBITRATE=500000 +VBITRATE=256000 mkdir -p $(dirname "$OUTPUT") diff --git a/bin/decode+edit+encode+stream b/bin/decode+edit+encode+stream index 48137bf..9b3e923 100755 --- a/bin/decode+edit+encode+stream +++ b/bin/decode+edit+encode+stream @@ -17,7 +17,7 @@ FIRSTPORT=${2:-5002} # even number - next 3 ports used too ABITRATE=64000 HEIGHT=360 -VBITRATE=500000 +VBITRATE=256000 # based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming # + scale+watermark trick based on http://stackoverflow.com/a/10937357 diff --git a/bin/decode+edit+loop+encode+stream b/bin/decode+edit+loop+encode+stream index 64495ed..a6daf07 100755 --- a/bin/decode+edit+loop+encode+stream +++ b/bin/decode+edit+loop+encode+stream @@ -20,7 +20,7 @@ FIRSTPORT=${2:-5002} # even number - next 3 ports used too ITERATIONS=${3-0} # endless by default HEIGHT=360 -VBITRATE=500000 +VBITRATE=256000 # based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming # + loop-in-filter trick based on http://video.stackexchange.com/a/16933 diff --git a/bin/encodevideo+loop+stream b/bin/encodevideo+loop+stream index bb4f581..f005b4d 100755 --- a/bin/encodevideo+loop+stream +++ b/bin/encodevideo+loop+stream @@ -13,7 +13,7 @@ fi FIRSTPORT=${2:-5002} # even number - next 3 ports used too -VBITRATE=500000 +VBITRATE=256000 # based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming # + Drop frames, aggressively treat as static, and use fastest cpu diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream index f8403dd..38b6496 100755 --- a/bin/loop+encode+stream +++ b/bin/loop+encode+stream @@ -17,7 +17,7 @@ FIRSTPORT=${2:-5002} # even number - next 3 ports used too ABITRATE=64000 -VBITRATE=500000 +VBITRATE=256000 # based on http://www.webmproject.org/docs/encoder-parameters/#real-time-cbr-encoding-and-streaming # + Drop frames, aggressively treat as static, and use fastest cpu -- cgit v1.2.3