User Tools

Site Tools


communication:bandwidth_conservation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
communication:bandwidth_conservation [2020/02/03 11:38]
frater_secessus [web frugality]
communication:bandwidth_conservation [2020/05/21 12:16]
frater_secessus [video frugality]
Line 62: Line 62:
 Note:  **HTTPS (encrypted) traffic cannot be optimized** by third parties because it is encrypted and the proxy can't see what it is.   Note:  **HTTPS (encrypted) traffic cannot be optimized** by third parties because it is encrypted and the proxy can't see what it is.  
  
-[[http://www.opera.com/|Opera]] made the first mainstream browser to offer a compression proxy on their mobile and desktop browsers.  Now the Chrome mobile browser has a proxy and there is a [[https://chrome.google.com/webstore/detail/data-saver/pfmgfdlgomnbgkofeojodiodmgpgmkac|Data Savings plugin for Chrome/Chromium]].+[[http://www.opera.com/|Opera]] made the first mainstream browser to offer a compression proxy on their mobile ~~and desktop~~ browsers.  ~~Now the Chrome mobile browser has a proxy and there is a [[https://chrome.google.com/webstore/detail/data-saver/pfmgfdlgomnbgkofeojodiodmgpgmkac|Data Savings plugin for Chrome/Chromium]].~~
  
 If you are technically minded and have a server somewhere you can run your own compression proxy using freeware like ziproxy.  Frater Secessus runs one of these and will make a login for you if you want to play with it. If you are technically minded and have a server somewhere you can run your own compression proxy using freeware like ziproxy.  Frater Secessus runs one of these and will make a login for you if you want to play with it.
Line 68: Line 68:
 The [[https://github.com/ayastreb/bandwidth-hero|Bandwidth Hero project]] compresses images;  significant assembly required.  The [[https://github.com/ayastreb/bandwidth-hero|Bandwidth Hero project]] compresses images;  significant assembly required. 
  
 +A german ISP runs [[https://www.skyzip.de/skyzip-free-acceleration-and-compression-proxy-encrypts-your-traffic-increases-browsing-speed-and-saves-your-bandwidth-english/|SkyZip]], a compression proxy.
 ==== email frugality ==== ==== email frugality ====
  
Line 98: Line 98:
 ==== video frugality ==== ==== video frugality ====
 **Streaming is evil** when bandwidth is limited. Some networking gear is socket-limited;  there is a certain number of "slots" available for users.  When web browsing, reading email, etc, a user will take one of the slots for active data then release it.  //Streaming holds a monopoly on the socket//, which can block other users from using the resource. **Streaming is evil** when bandwidth is limited. Some networking gear is socket-limited;  there is a certain number of "slots" available for users.  When web browsing, reading email, etc, a user will take one of the slots for active data then release it.  //Streaming holds a monopoly on the socket//, which can block other users from using the resource.
- 
-If you must stream use the minimum video quality you can tolerate. 
  
 If you can, download the media during off-hours;  this is the kindest to the provider and to other users. If you can, download the media during off-hours;  this is the kindest to the provider and to other users.
Line 106: Line 104:
  
 Force YouTube video quality down as far as you can stand.  You can also configure a downloading tool like [[https://github.com/rg3/youtube-dl#installation|youtube-dl]] to pull down videos for watching later.  Force YouTube video quality down as far as you can stand.  You can also configure a downloading tool like [[https://github.com/rg3/youtube-dl#installation|youtube-dl]] to pull down videos for watching later. 
 +
 +You can [[source:youtube-dl|see what resolutions are available with the ''-F'' flag]], and request the lowest-resolution complete video with something like:
 +
 +  youtube-dl -f '160/278/133/18/22' [url]
 +
  
 For "talking head" type videos you can download the audio only, using something like: For "talking head" type videos you can download the audio only, using something like:
-  * ''youtube-dl --format bestaudio [URL]'' if you intended to process the file further; or +  * ''youtube-dl -bestaudio [URL]'' if you intended to process the file further; or 
-  * ''youtube-dl --format worstaudio [URL]'' if you are going to use it directly.  +  * ''youtube-dl -worstaudio [URL]'' if you are going to use it directly.  
  
 Pulling down audio only when possible can save 90% or more bandwidth.   Pulling down audio only when possible can save 90% or more bandwidth.  
 +
 +If you need both audio and video, those pieces can be pulled down separately and combined for absolute smallest filesize:
 +
 +  * ''youtube-dl -f worstaudio+worstvideo [URL]''
 ==== android ==== ==== android ====
  
communication/bandwidth_conservation.txt · Last modified: 2021/12/17 22:53 by princess_fluffypants