Home video re-think

This commit is contained in:
Ian Gulliver
2019-04-15 02:53:22 +00:00
parent 071431188f
commit 7c742e8f92
6 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
<!--# set var="title" value="(Wireless) network optimization, 2010 edition" -->
<!--# set var="date" value="April 7, 2010" -->
<!--# include file="include/top.html" -->
<p>After getting the Internet connection all tuned up, it's time to talk network speed.</p>
<h3>How fast do you need to go?</h3>
<p>Talking about gigabit speeds around the office drew some incredulity. Most users seem to be used to talking about Internet connection speeds in the sub-10mbit range, so a 10mbit hub (which my new apartment came prewired with) and 802.11b (6mbit/s TCP) or at least 802.11g (~30mbit/s TCP) will pretty much suffice. Political arguments about the mess that is US last-mile Internet connections aside, however, there are expensive options at higher speeds. Some areas have FiOS (though Verizon has apparently stopped rolling it out), and Comcast has a 50mbit/s "Extreme" plan in my area for $115/month. DOCSIS 3 supports up to ~160mbit/s link speed. Broadband speeds don't obey Moore's law (mostly due to the enormous infrastructure investment required to deploy new tech), but we'll still probably see cable plans breaking the 100mbit/s barrier in 3 or 4 years max. In short, it's a gigabit ethernet (~700mbit/s in real life) and 802.11n (~150mbit/s with today's gear) world for the short- to medium-term.</p>
<h3>Defining your users</h3>
<p>My use cases for wireless at home divide pretty neatly into two categories: high-bandwidth, low-latency streaming to fixed points (Mac Minis hooked up to my TVs), and bursty-bandwidth, can-survive-momentary-latency clients that move around a lot (laptop, cellphone, iPad). I'd like both to be able to max out my Internet connection, but the video streaming needs to be able to do better inside my network (streaming from my iMac). This may get murkier once Apple get iTunes streaming to the iPad working.</p>
<h3>The first hop</h3>
<p>No amount of optimization on the wireless side is going to help if the cable modem to router hop can't push the full speed of the 'net connection (this presumes that they're two different devices for you). First, both should support GigE (I have a Motorola SB6120 and a D-Link DIR-855). It's harder than it should be to verify the connection speed between these two; in the end, I had to force the link on the router end to 1000mbit/s-only, then make sure it still connected.</p>
<p>My apartment isn't wired ideally, so the cable modem and router are in different places. The apartment has ethernet throughout, but it's only wired with 2 pairs (out of the 4 pairs in an RJ45 connector); that's only sufficient for 100mbit/s links. Kacirek brought over the toolkit and we appropriated some telephone wiring to serve as the extra two pairs, replacing the 10mbit hub with an ethernet coupler.</p>
<h3>Going N-only</h3>
<p>The 802.11b to 802.11g migration was a mess; networks effectively dropped back to all-B in the presence of even a single B device. G to N isn't as bad, but it's not great; 802.11 continues to accumulate backwards-compatibility hacks all over the place. However, I was surprised to find that every device except my old T60 supports N, including my Nexus One. It didn't ship with the support, and Google never indicated that an upgrade to it was forthcoming, but it must have snuck out with a firmware upgrade somewhere. After digging out an old 802.11n mini-PCI card that I bought years ago and upgrading the T60, I was able to switch from G/N to just N. This is probably a significant win, if you can manage to upgrade all your devices. If not, confining the older ones to 2.4GHz (leaving 5GHz to pure-N, rather than A/N) is probably your best bet.</p>
<h3>There's N, then there's N</h3>
<p>802.11n has to be one of the most consumer-confusing specs ever. N works by using multiple antennas to build virtual "spatial streams". For example, radio one has antennas 1A and 1B; radio two has 2A, 2B and 2C. The silicon supports 2 spatial channels, which get built between, e.g. 1A and 2B, 1B and 2C. These spatial channels are treated as separate links, even though they're on the same frequency. There are 16 possible antenna/radio configurations and 30 antenna/radio/spatial channel configurations. The configurations are abbreviated AxB:C (A: transmit radios/antennas, B: receive radios/antennas, C: processor-supported spatial channels). The spec goes up to 4x4:4. Unfortunately, this means that 3-antenna systems aren't necessarily 3-stream (and most sold today aren't). You can't have more streams than your lowest radio/antenna count, and your maximum speed is determined by your number of streams and frequency width. N can use 20MHz or 40MHz of radio spectrum. The DIR-855 I bought seems to be either 2x3:2 or 3x3:2; 300mbit/s max at 40MHz. It seems to be impossible to buy 3- or 4-stream consumer gear at the moment (and you need client gear to support it, so it wouldn't be too useful).</p>
<h3>2.4GHz vs. 5GHz</h3>
<p>802.11n makes the frequency choice even harder than it used to be. 2.4GHz is an overpopulated ghetto unless you live on double-digit acreage. It penetrates walls significantly better than 5GHz, but that's a blessing and a curse: you can use it from further away, but your neighbors interfere from further away. Even worse, at 40MHz, 802.11n takes 2 of the 3 non-overlapping 2.4GHz channels. That means that if you can see two or more neighboring access points, you're not getting full speed. The penetration advantages are significant, though: my iPad gets 6mbit/s link speed on 5GHz at the furthest point in my apartment from my access point. At 2.4GHz, it gets 26mbit/s.</p>
<p>Dual-band solutions help, but you have to be careful. Assign different SSIDs to your 2.4GHz and 5GHz networks, so you can force clients to one or the other. Put things like video streaming in 5GHz, where a neighbor download isn't likely to cause hiccups. Test your other devices at maximum range, and see whether you can live with the 5GHz signal level.</p>
<h3>A little more range</h3>
<p>If you'd like to squeak just a little more range out of your access point, either to be able to use 5GHz where you would've used 2.4GHz, or to be able to reach far-away spots with anything at all, consider replacement antennas. Higher-grade access points support them, and they'll buy you a little bit, though don't expect miracles. I picked up 3 of these, which help a bit without taking it to ridiculous extremes.</p>
<h3>Other optimizations</h3>
<p>Location, location, location: put your access point in the middle of your coverage area. It's the simplest thing you can do to get massive speed gains.</p>
<p>Make sure 802.11n short guard interval is enabled: without it, you lose about 10% of speed.</p>
<p>Plug it in: if you can wire it, do. This is especially true for things like home fileservers, as wiring things that you copy from to wireless effectively doubles your transfer speed and halves your latency.</p>
<p>Screw the neighbors: some access points have options to disable being friendly to other 802.11a/b/g devices.</p>
<p>Disable all the complex router filtering: turn off web filtering, try things without QoS, disable the "firewall" and "security" features. Usually processors in routers are pretty light-weight, and you can be wasting CPU time on faux-security that could be spent moving more packets faster.</p>
<p>Fix DNS: good chunks of interactive browsing time is spent waiting for DNS servers. Your router may be doing DNS relaying (running a local DNS server); try with and without it, to see if it sucks. If your ISP's DNS servers suck, try Google Public DNS; it's further from you network-wise, so it can't possibly be as fast as your ISP's DNS servers could be, but it's quite likely faster than they actually are.</p>
<!--# include file="include/bottom.html" -->

View File

@@ -0,0 +1,52 @@
<!--# set var="title" value="Home video re-think" -->
<!--# set var="date" value="April 10, 2010" -->
<!--# include file="include/top.html" -->
<h3>Choosing a platform</h3>
<p>There's no shortage of alternatives to the traditional cable box + TV model, from cable provider DVRs to <a href="http://www.tivo.com/">TiVo</a> (yes, people actually still own those) to more obscure offerings like <a href="http://www.myka.tv/">Myka</a>, or <a href="http://www.mythtv.org/">MythTV</a> running on your closest whitebox. However, if you want to combine easy content sourcing, central storage/management with streaming, a nice remote control interface and solid, attractive hardware, there's really only one option: for better or worse, Apple's <a href="http://www.apple.com/itunes/">iTunes</a>/<a href="http://en.wikipedia.org/wiki/Front_Row_(software%29">Front Row</a>.</p>
<h3>Electronics</h3>
<p>I already had an iMac that had ended up at a common-area computer desk in my apartment. This seemed a reasonable choice for a media server, though I suppose I could've shot for something that had a concept of running headless (another <a href="http://www.apple.com/macmini/">Mac Mini</a>).</p>
<p>Output streams to the TVs had two options: the Mac Mini, or an <a href="http://www.apple.com/appletv/">Apple TV</a>. The Apple TV is smaller and cheaper, but you're locked out of all the real computing functionality (the LAN-party-on-TVs option disappears). It would be nice to be able to control these with just Apple's <a href="http://store.apple.com/us_smb_78313/product/MC377LL/A">media remote</a>, but it's just not practical; OS X is interrupty as hell, with updates and license agreements splattered all over. The <a href="http://www.amazon.com/gp/product/B0011FOOI2/ref=oss_product">diNovo Mini</a> makes a decent keyboard/mouse combo that you can stuff in a drawer, but don't expect to game on it.</p>
<p>As actual displays, I went with <a href="http://www.samsung.com/us/consumer/tv-video/televisions/led-tv/UN40B7000WFUZA/index.idx?pagetype=prd_detail&amp;returnurl=">LED-backlit Samsung LCDs</a>, for the lower power usage and the light weight for wall hanging. Add in <a href="http://www.monoprice.com/products/product.asp?c_id=102&amp;cp_id=10246&amp;cs_id=1024603&amp;p_id=5994&amp;seq=1&amp;format=2">some</a> <a href="http://www.monoprice.com/products/product.asp?c_id=102&amp;cp_id=10218&amp;cs_id=1021802&amp;p_id=5576&amp;seq=1&amp;format=2">cables</a> and we're good to go...except that it's all sitting on the floor.</p>
<h3>Wall mounting</h3>
<p>Fortunately, my two TVs were wall mount efforts #6 and 7 for Kacirek, so this went really smoothly. I picked up <a href="http://www.monoprice.com/products/product.asp?c_id=108&amp;cp_id=10828&amp;cs_id=1082812&amp;p_id=5918&amp;seq=1&amp;format=2">wall mount kits</a> from Monoprice. In short: stud finder, level, pilot holes, lag bolts, bolts to the TV, hang, done. There are even nice <a href="http://www.amazon.com/gp/product/B000UWI2LC/ref=oss_product">wall mount kits for Mac Minis</a>, naturally at more than twice the price of the LCD mounts, since they count as "designer". The Mac Mini power adapter fits really nicely in a cable-management cutout at the back of the TV. Add in an extension cord and some cable management from Fry's, and voila:</p>
<p>[images lost in Picasa shutdown]</p>
<h3>Front Row love and hate</h3>
<p>Front Row is, at times, awesome. It remembers pause position across different streaming clients. The interface is simple and useful. Over a fast network, seeking and fast-forward are lightning-quick. It doesn't let you set a default streaming source, but that only adds a couple of clicks.</p>
<p>Sometimes, it's horribly frustrating. It hangs indefinitely and uninterruptably trying to load remote library contents. It forgets pause position, even on the same machine. None of these are repeatable, so trying to solve them seems nigh-impossible.</p>
<h3>Unofficial content</h3>
<p>iTunes also doesn't want you using their fancy toys with torrented files; it won't let you add them to your library, and if you change the file type to work around that, it still won't stream them to remote clients. Fortunately, this is pretty simple to work around. You need <a href="http://www.apple.com/quicktime/pro/">Quicktime Pro</a>, which comes with Final Cut Studio, is cheap to buy separately, or can be obtained by whatever means you like. It hides in Utilities once installed, and is easy to confuse with Apple's stripped-down but base-install Quicktime Player. Follow steps 1-4 <a href="http://www.apple.com/quicktime/tutorials/hinttracks.html">here</a>, and your torrented content is now draggable into iTunes and streamable to Front Row clients. It doesn't re-encode unless you do steps 5-8, so it's fast and you don't lose quality.</p>
<h3>Automatic wake-up</h3>
<p>I also wanted waking up the Mini clients to automatically wake up the iMac file server, so I didn't have to leave it running all the time. Again, this isn't too hard. First, pick up <a href="http://www.bernhard-baehr.de/">SleepWatcher</a>, clearly written and packaged by someone who's never heard of dmg or a Makefile (but it works). Install <a href="http://gsd.di.uminho.pt/jpo/software/wakeonlan/">wakeonlan</a>, a tiny little PERL script that sends <a href="http://en.wikipedia.org/wiki/Wake-on-LAN">Wake-on-LAN</a> magic packets. Then, add something to /etc/rc.wakeup like:</p>
<pre><code>COUNT=0
while [ ${COUNT} -lt 10 ]; do
/usr/local/sbin/wakeonlan 00:23:df:fe:c6:6d
COUNT=$((COUNT + 1))
sleep 1
done
</code></pre>
<p>Your path to wakeonlan, MAC address (of your fileserver) and packet count (and time) required for your network interface to come online may vary.</p>
<h3>Hello, iPad?</h3>
<p>It would be really great to be able to pull a Minority Report-style video transfer, moving streaming video seamlessly from a TV to the iPad and walking away with it. This is a pipe dream, however, until Apple decides to actually support streaming on the iPad. Seriously, Apple, I have to plug this thing in and copy the whole video to it to watch it?</p>
<!--# include file="include/bottom.html" -->

View File

@@ -20,6 +20,8 @@
<li>2016-Feb-15: <a href="2016-02-15-cable-modem-channel-party.html">Cable modem channel party</a></li>
<li>2016-Feb-01: <a href="2016-02-01-how-to-enrage-your-cable-modem.html">How to enrage your cable modem</a></li>
<li>2016-Feb-01: <a href="2016-02-01-hall-of-2-4-ghz-shame-2016-edition.html">Hall of 2.4 GHz Shame, 2016 Edition</a></li>
<li>2010-Apr-10: <a href="2010-04-10-home-video-rethink.html">Home video re-think</a></li>
<li>2010-Apr-07: <a href="2010-04-07-wireless-network-optimization-2010-edition.html">(Wireless) network optimization, 2010 edition</a></li>
<li>2010-Apr-05: <a href="2010-04-05-comcast-hacking.html">Comcast hacking</a></li>
<li>2010-Mar-26: <a href="2010-03-26-fun-with-map-visualizations.html">Fun with map visualizations</a></li>
<li>2010-Mar-09: <a href="2010-03-09-karaoke-project.html">Karaoke project</a></li>

View File

@@ -0,0 +1,54 @@
<!--# set var="title" value="(Wireless) network optimization, 2010 edition" -->
<!--# set var="date" value="April 7, 2010" -->
<!--# include file="include/top.html" -->
After getting the Internet connection all tuned up, it's time to talk network speed.
### How fast do you need to go?
Talking about gigabit speeds around the office drew some incredulity. Most users seem to be used to talking about Internet connection speeds in the sub-10mbit range, so a 10mbit hub (which my new apartment came prewired with) and 802.11b (6mbit/s TCP) or at least 802.11g (~30mbit/s TCP) will pretty much suffice. Political arguments about the mess that is US last-mile Internet connections aside, however, there are expensive options at higher speeds. Some areas have FiOS (though Verizon has apparently stopped rolling it out), and Comcast has a 50mbit/s "Extreme" plan in my area for $115/month. DOCSIS 3 supports up to ~160mbit/s link speed. Broadband speeds don't obey Moore's law (mostly due to the enormous infrastructure investment required to deploy new tech), but we'll still probably see cable plans breaking the 100mbit/s barrier in 3 or 4 years max. In short, it's a gigabit ethernet (~700mbit/s in real life) and 802.11n (~150mbit/s with today's gear) world for the short- to medium-term.
### Defining your users
My use cases for wireless at home divide pretty neatly into two categories: high-bandwidth, low-latency streaming to fixed points (Mac Minis hooked up to my TVs), and bursty-bandwidth, can-survive-momentary-latency clients that move around a lot (laptop, cellphone, iPad). I'd like both to be able to max out my Internet connection, but the video streaming needs to be able to do better inside my network (streaming from my iMac). This may get murkier once Apple get iTunes streaming to the iPad working.
### The first hop
No amount of optimization on the wireless side is going to help if the cable modem to router hop can't push the full speed of the 'net connection (this presumes that they're two different devices for you). First, both should support GigE (I have a Motorola SB6120 and a D-Link DIR-855). It's harder than it should be to verify the connection speed between these two; in the end, I had to force the link on the router end to 1000mbit/s-only, then make sure it still connected.
My apartment isn't wired ideally, so the cable modem and router are in different places. The apartment has ethernet throughout, but it's only wired with 2 pairs (out of the 4 pairs in an RJ45 connector); that's only sufficient for 100mbit/s links. Kacirek brought over the toolkit and we appropriated some telephone wiring to serve as the extra two pairs, replacing the 10mbit hub with an ethernet coupler.
### Going N-only
The 802.11b to 802.11g migration was a mess; networks effectively dropped back to all-B in the presence of even a single B device. G to N isn't as bad, but it's not great; 802.11 continues to accumulate backwards-compatibility hacks all over the place. However, I was surprised to find that every device except my old T60 supports N, including my Nexus One. It didn't ship with the support, and Google never indicated that an upgrade to it was forthcoming, but it must have snuck out with a firmware upgrade somewhere. After digging out an old 802.11n mini-PCI card that I bought years ago and upgrading the T60, I was able to switch from G/N to just N. This is probably a significant win, if you can manage to upgrade all your devices. If not, confining the older ones to 2.4GHz (leaving 5GHz to pure-N, rather than A/N) is probably your best bet.
### There's N, then there's N
802.11n has to be one of the most consumer-confusing specs ever. N works by using multiple antennas to build virtual "spatial streams". For example, radio one has antennas 1A and 1B; radio two has 2A, 2B and 2C. The silicon supports 2 spatial channels, which get built between, e.g. 1A and 2B, 1B and 2C. These spatial channels are treated as separate links, even though they're on the same frequency. There are 16 possible antenna/radio configurations and 30 antenna/radio/spatial channel configurations. The configurations are abbreviated AxB:C (A: transmit radios/antennas, B: receive radios/antennas, C: processor-supported spatial channels). The spec goes up to 4x4:4. Unfortunately, this means that 3-antenna systems aren't necessarily 3-stream (and most sold today aren't). You can't have more streams than your lowest radio/antenna count, and your maximum speed is determined by your number of streams and frequency width. N can use 20MHz or 40MHz of radio spectrum. The DIR-855 I bought seems to be either 2x3:2 or 3x3:2; 300mbit/s max at 40MHz. It seems to be impossible to buy 3- or 4-stream consumer gear at the moment (and you need client gear to support it, so it wouldn't be too useful).
### 2.4GHz vs. 5GHz
802.11n makes the frequency choice even harder than it used to be. 2.4GHz is an overpopulated ghetto unless you live on double-digit acreage. It penetrates walls significantly better than 5GHz, but that's a blessing and a curse: you can use it from further away, but your neighbors interfere from further away. Even worse, at 40MHz, 802.11n takes 2 of the 3 non-overlapping 2.4GHz channels. That means that if you can see two or more neighboring access points, you're not getting full speed. The penetration advantages are significant, though: my iPad gets 6mbit/s link speed on 5GHz at the furthest point in my apartment from my access point. At 2.4GHz, it gets 26mbit/s.
Dual-band solutions help, but you have to be careful. Assign different SSIDs to your 2.4GHz and 5GHz networks, so you can force clients to one or the other. Put things like video streaming in 5GHz, where a neighbor download isn't likely to cause hiccups. Test your other devices at maximum range, and see whether you can live with the 5GHz signal level.
### A little more range
If you'd like to squeak just a little more range out of your access point, either to be able to use 5GHz where you would've used 2.4GHz, or to be able to reach far-away spots with anything at all, consider replacement antennas. Higher-grade access points support them, and they'll buy you a little bit, though don't expect miracles. I picked up 3 of these, which help a bit without taking it to ridiculous extremes.
### Other optimizations
Location, location, location: put your access point in the middle of your coverage area. It's the simplest thing you can do to get massive speed gains.
Make sure 802.11n short guard interval is enabled: without it, you lose about 10% of speed.
Plug it in: if you can wire it, do. This is especially true for things like home fileservers, as wiring things that you copy from to wireless effectively doubles your transfer speed and halves your latency.
Screw the neighbors: some access points have options to disable being friendly to other 802.11a/b/g devices.
Disable all the complex router filtering: turn off web filtering, try things without QoS, disable the "firewall" and "security" features. Usually processors in routers are pretty light-weight, and you can be wasting CPU time on faux-security that could be spent moving more packets faster.
Fix DNS: good chunks of interactive browsing time is spent waiting for DNS servers. Your router may be doing DNS relaying (running a local DNS server); try with and without it, to see if it sucks. If your ISP's DNS servers suck, try Google Public DNS; it's further from you network-wise, so it can't possibly be as fast as your ISP's DNS servers could be, but it's quite likely faster than they actually are.
<!--# include file="include/bottom.html" -->

View File

@@ -0,0 +1,51 @@
<!--# set var="title" value="Home video re-think" -->
<!--# set var="date" value="April 10, 2010" -->
<!--# include file="include/top.html" -->
### Choosing a platform
There's no shortage of alternatives to the traditional cable box + TV model, from cable provider DVRs to [TiVo](http://www.tivo.com/) (yes, people actually still own those) to more obscure offerings like [Myka](http://www.myka.tv/), or [MythTV](http://www.mythtv.org/) running on your closest whitebox. However, if you want to combine easy content sourcing, central storage/management with streaming, a nice remote control interface and solid, attractive hardware, there's really only one option: for better or worse, Apple's [iTunes](http://www.apple.com/itunes/)/[Front Row](http://en.wikipedia.org/wiki/Front_Row_(software%29).
### Electronics
I already had an iMac that had ended up at a common-area computer desk in my apartment. This seemed a reasonable choice for a media server, though I suppose I could've shot for something that had a concept of running headless (another [Mac Mini](http://www.apple.com/macmini/)).
Output streams to the TVs had two options: the Mac Mini, or an [Apple TV](http://www.apple.com/appletv/). The Apple TV is smaller and cheaper, but you're locked out of all the real computing functionality (the LAN-party-on-TVs option disappears). It would be nice to be able to control these with just Apple's [media remote](http://store.apple.com/us_smb_78313/product/MC377LL/A), but it's just not practical; OS X is interrupty as hell, with updates and license agreements splattered all over. The [diNovo Mini](http://www.amazon.com/gp/product/B0011FOOI2/ref=oss_product) makes a decent keyboard/mouse combo that you can stuff in a drawer, but don't expect to game on it.
As actual displays, I went with [LED-backlit Samsung LCDs](http://www.samsung.com/us/consumer/tv-video/televisions/led-tv/UN40B7000WFUZA/index.idx?pagetype=prd_detail&returnurl=), for the lower power usage and the light weight for wall hanging. Add in [some](http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10246&cs_id=1024603&p_id=5994&seq=1&format=2) [cables](http://www.monoprice.com/products/product.asp?c_id=102&cp_id=10218&cs_id=1021802&p_id=5576&seq=1&format=2) and we're good to go...except that it's all sitting on the floor.
### Wall mounting
Fortunately, my two TVs were wall mount efforts #6 and 7 for Kacirek, so this went really smoothly. I picked up [wall mount kits](http://www.monoprice.com/products/product.asp?c_id=108&cp_id=10828&cs_id=1082812&p_id=5918&seq=1&format=2) from Monoprice. In short: stud finder, level, pilot holes, lag bolts, bolts to the TV, hang, done. There are even nice [wall mount kits for Mac Minis](http://www.amazon.com/gp/product/B000UWI2LC/ref=oss_product), naturally at more than twice the price of the LCD mounts, since they count as "designer". The Mac Mini power adapter fits really nicely in a cable-management cutout at the back of the TV. Add in an extension cord and some cable management from Fry's, and voila:
[images lost in Picasa shutdown]
### Front Row love and hate
Front Row is, at times, awesome. It remembers pause position across different streaming clients. The interface is simple and useful. Over a fast network, seeking and fast-forward are lightning-quick. It doesn't let you set a default streaming source, but that only adds a couple of clicks.
Sometimes, it's horribly frustrating. It hangs indefinitely and uninterruptably trying to load remote library contents. It forgets pause position, even on the same machine. None of these are repeatable, so trying to solve them seems nigh-impossible.
### Unofficial content
iTunes also doesn't want you using their fancy toys with torrented files; it won't let you add them to your library, and if you change the file type to work around that, it still won't stream them to remote clients. Fortunately, this is pretty simple to work around. You need [Quicktime Pro](http://www.apple.com/quicktime/pro/), which comes with Final Cut Studio, is cheap to buy separately, or can be obtained by whatever means you like. It hides in Utilities once installed, and is easy to confuse with Apple's stripped-down but base-install Quicktime Player. Follow steps 1-4 [here](http://www.apple.com/quicktime/tutorials/hinttracks.html), and your torrented content is now draggable into iTunes and streamable to Front Row clients. It doesn't re-encode unless you do steps 5-8, so it's fast and you don't lose quality.
### Automatic wake-up
I also wanted waking up the Mini clients to automatically wake up the iMac file server, so I didn't have to leave it running all the time. Again, this isn't too hard. First, pick up [SleepWatcher](http://www.bernhard-baehr.de/), clearly written and packaged by someone who's never heard of dmg or a Makefile (but it works). Install [wakeonlan](http://gsd.di.uminho.pt/jpo/software/wakeonlan/), a tiny little PERL script that sends [Wake-on-LAN](http://en.wikipedia.org/wiki/Wake-on-LAN) magic packets. Then, add something to /etc/rc.wakeup like:
COUNT=0
while [ ${COUNT} -lt 10 ]; do
/usr/local/sbin/wakeonlan 00:23:df:fe:c6:6d
COUNT=$((COUNT + 1))
sleep 1
done
Your path to wakeonlan, MAC address (of your fileserver) and packet count (and time) required for your network interface to come online may vary.
### Hello, iPad?
It would be really great to be able to pull a Minority Report-style video transfer, moving streaming video seamlessly from a TV to the iPad and walking away with it. This is a pipe dream, however, until Apple decides to actually support streaming on the iPad. Seriously, Apple, I have to plug this thing in and copy the whole video to it to watch it?
<!--# include file="include/bottom.html" -->

View File

@@ -19,6 +19,8 @@
1. 2016-Feb-15: [Cable modem channel party](2016-02-15-cable-modem-channel-party.html)
1. 2016-Feb-01: [How to enrage your cable modem](2016-02-01-how-to-enrage-your-cable-modem.html)
1. 2016-Feb-01: [Hall of 2.4 GHz Shame, 2016 Edition](2016-02-01-hall-of-2-4-ghz-shame-2016-edition.html)
1. 2010-Apr-10: [Home video re-think](2010-04-10-home-video-rethink.html)
1. 2010-Apr-07: [(Wireless) network optimization, 2010 edition](2010-04-07-wireless-network-optimization-2010-edition.html)
1. 2010-Apr-05: [Comcast hacking](2010-04-05-comcast-hacking.html)
1. 2010-Mar-26: [Fun with map visualizations](2010-03-26-fun-with-map-visualizations.html)
1. 2010-Mar-09: [Karaoke project](2010-03-09-karaoke-project.html)