diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-21 23:08:25 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-21 23:08:25 +0200 |
commit | 9cad4312e48f5a573f2c621b21974d52f5168807 (patch) | |
tree | b93e7b09645882a018be6027c3eb4a99beb023cd /bin/stream | |
parent | 3f1d0c04e57ae91c23c18ab7de347b1a6c08ebf6 (diff) |
More detailed comment on heights.
Diffstat (limited to 'bin/stream')
-rwxr-xr-x | bin/stream | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |