summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream9
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/stream b/bin/stream
index d43236f..c1833de 100755
--- a/bin/stream
+++ b/bin/stream
@@ -132,8 +132,13 @@ BITS=$(videosize "$HEIGHT" "$RATIO")
# * bitrates and bits in parens based on https://developer.apple.com/library/content/documentation/General/Reference/HLSAuthoringSpec/Requirements.html
# + bits rounded up to include nearby modulo 16 formats
-# + best (i.e. high-modulo) 16:9 heights: (72 180) 216 288 360 432 576 720
-# + best (i.e. high-modulo) 4:3 heights: (105 210) 288 312 384 480 624 816
+# * Recommended sizes (highest modulo 16 or 8 (or 4) size not "pumping"
+# in bridge scene 20s into Tears of Steel):
+# + 4:3: (105 210) 288 312 384 480 624 816
+# + 16:9: (72 180) 216 288 360 432 576 720
+# + 2.40:1: (60 160) 200 240 320 360 480 600
+# resolved using http://aarmstrong.org/content/aspect_ratio_calc.php
+# with ratio as modulo 4 integers, and size a multiplum of that
# * speeds tuned to just below 100% cpu usage for each combination on a multi-core computer
# TODO: Externalize speeds to site-specific configfile
if [ $BITS -le 15360 ]; then # 192x80 → 15360