diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-04-16 16:14:37 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-04-16 16:14:37 +0200 |
commit | 0392b18cd3fc116b19df0393822c9d6e0817073c (patch) | |
tree | 3714ad805e39c3171ec76df7da3e4f447aab7b86 /bin | |
parent | 45d8b559bccbde5cde1b325faba6177b9b6c6558 (diff) |
Limit video bitrate to 256k.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/decode+edit+encode | 2 | ||||
-rwxr-xr-x | bin/decode+edit+encode+stream | 2 | ||||
-rwxr-xr-x | bin/decode+edit+loop+encode+stream | 2 | ||||
-rwxr-xr-x | bin/encodevideo+loop+stream | 2 | ||||
-rwxr-xr-x | bin/loop+encode+stream | 2 |
5 files changed, 5 insertions, 5 deletions
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 |