A Job Well Done

So I’m making myself a pot of coffee this morning, and as I pull out the coffee filters, Benjamin runs over with his arm out, demanding one — one of whatever it is I’m having. So I take a paper filter for myself and hand him one to play with.
At first he’s not sure what to do with it. He carefully turns it around in his hands, inspecting all sides of it. Then he notices the tupperware cabinet beside him is open. His face lights up as the coffee filter becomes a piece of tupperware, and he carefully stacks it on top of the other plastic containers, and closes the door.
Suddenly, though, in mid close, it occurs to him that maybe it wasn’t tupperware after all. He flings the door back open, grabs the filter, and proceeds to scrub the floor with it. He does this for a minute or two, humming to himself as he cleans…
But then he has another idea! Perhaps it isn’t a scrub brush, either. Maybe its a cloth for wiping his face after he eats. So he picks it up and dabs his face with it, then reaches up to me to clean my face off too. Then he tosses the filter aside and waddles away…
Then jerks to a stop, turns around and runs back to it with a new idea! Perhaps its a wet wipe! So he picks it up and tries to reach around with his arm and wipe his bum with it!
Finally, having exhausted his known list of applications for similar looking devices, he drops it on the floor and walks away. A job well done.

What I've Learned

We are in the fight of our lives, against an enemy that wants us all in pain.
Sometimes in battle someone gets hit by some friendly fire.
If it happens to you: get up, find a place to heal, and get back in the fight.
Never forget who the real enemy is.
And never forget that we’re all on the same team.

Random Observations

– My back feels SO much better now that we have a good firm mattress. We paid $130 to upgrade to the next mattress up on the exchange, and it was so worth it. I haven’t woken up in pain at all since we got it!
– Abi is incredibly strong compared to Benjamin at her age. She can lift her head from lying on her belly and look around the room. If you lay her down on your stomach, she’ll wiggle her way up to your neck and start digging around for a nipple to suck on (I said she was strong, not smart — yet!)
– I have changed more diapers in the past week than I ever have in my life. Ben’s poop completely fill his diapers. Abi just poops every 30 minutes or so. Her poop isn’t supposed to stink yet, but it does.
– I think that if everyone who told us we should buy a house were to pitch in $5, we wouldn’t need a mortgage.
– 21 was a really fun and interesting movie. But given that this was the first time in months that two of us have gone out alone, I don’t think I would have cared if it was the worst movie in the world… It is kinda nice having in-laws around!
– There are a lot of birthdays in April.
– Yesterday was my first day back at work since Abi was born. It was nice to have a break — from the babies, that is!
– We have a place to stay in Canada now, so without the urgency for that, we were able to push Nic’s move back to April 19th.
– I’m going to miss my family when they’re gone…

Scr00ed

So Nic got a call today. From our moving company. Said due to government tariffs the deal we signed for on our move just went up $900. That’s 33%. From $3200 to $4100. Only I used to work for a customs broker, and I called my manager there. He said there are new tarriffs. But none of them have gone up that much.
Someone is about to hear the “Wise angry phone voice” on their voice mail…

HD Video – A Primer

This weekend I spent an exorbitant amount of time trying to deal with HD video in the same way I manage my digitized DVD collection. By that I mean, attempting to figure out how to get ripped HD movies into a format that I can play over my network, with the XBox 360, the Mac in our room and a PC as the target players. Things have not gone well, and while some people may have worked out a system they can live with, I’ve not found a solution that can be applied efficiently enough to make it worth the effort. Nonetheless, I’ll document what I’ve learned, in case its useful to anyone. There is no new information here — all of it is on the web somewhere — I’m just hoping to pull it into a coherent form…

MPEG4

For starters, high def content is invariably distributed in MPEG4-10 format. The different ways it can be bundled into a file will be discussed later on, but its important to first understand that not all MPEG4 is created equal.
MPEG4-2, or Part 2, is very common, and not really suitable for HD content. DivX and XVid are both implementations of MPEG4-2. DivX is MPEG4-2 with a couple extra features added. XVid is an independent re-implementation of DivX that, while usually compatible, is definitely a different beast. A player with DivX stamped on it can probably play any MPEG4-2 content, and probably play any XVid content. In cannot, however play MPEG4-10 content.
MPEG4-10, or Part 10, is relatively new and most commonly known as H.264. Its based on the same technology as its older cousin, but includes improvements to color handling, and allows higher quality content at lower bit rates.
Bit Rate: Loosely defined, the Bit Rate is the number of bits of data that go into showing 1 second of video. The higher the bit rate, the more information making up the image you see on the screen. Higher bit rates = better quality video.
H.264 can do better picture, with less artifacting, and less “chunkiness” (if you don’t know what I mean by chunkiness, watch a dark scene in any DivX movie) at a lower bit rate. A 2GB MPEG4-10 video will look better than a 4GB MPEG4-2 video.

Containers

All video, regardless of the codec (be it MPEG2, MPEG4-2, H.264, etc…) is typically distributed inside a container, bundling up the video track with an audio track, and possibly other features such as alternate audio tracks (containing a different language) or subtitles. Wikipedia has a good entry comparing the different container formats, but here are the common ones you’ll see for HD Video:
Quicktime (.MOV)
Quicktime is an incredibly flexible container that can hold virtually any collection of files, by using plug-in codec support. A .MOV container can hold an H.264 video track plus a DTS 5.1 surround sound audio track without any problem.
Limitations: There’s not many devices with full Quicktime support. Basically you’re stuck with something from Apple. The XBox does have basic support for .MOV containers, but doesn’t have the ability to plug-in codecs to extend its limited offering.
Windows Media File (.WMV)
Windows Media is actually very fully featured, with support for containing high bit-rate HD video and audio tracks with 5.1 surround sound.
Limitations: Its a fantastic format, despite being from Microsoft, but there aren’t many devices that support it, and I frankly hate Windows Media Player. You’ll rarely find any content distributed in a WMV container.
MP4 (.MP4)
By far the most popular, and infuriatingly limited container for H.264 (MPEG4-10). Do not confuse “MPEG4” for “MP4” — one is the video track, one is the container it travels in. MP4 supports H.264 video at all bit rates (but not all bit rates can be played on all devices, read about levels here) and can hold an AAC-LC audio track (probably more than one.) But herein lies the biggest problem with MP4: AAC-LC means “Low Complexity” or in other words “no digital surround sound.” You can encode Dolby Pro Logic II into the stereo track and thus get surround sound that way, but it won’t be DTS and it’ll basically suck.
Matroska (.MKV)
The Matroska container is the most common one you’ll see — both from ripped optical media, such as Bluray or HD-DVD discs, and online. Its very flexible, and can hold super high bit-rate H.264 video tracks as well as multiple audio tracks, including DTS (Digital Theater Surround).
Limitations: Apparently its a poorly defined standard and there are lots of different interpretations on how to implement it. No OS or media player software supports Matroska out-of-the-box. Few set-top devices can support Matroska. The XBox 360 does not.

Useage

None of these containers formats are really mature enough to be considered ready for consumer use. Different devices can handle different containers — but each with restrictions on what’s inside the container. Here’s a list of what the XBox 360 can handle.
The best standardized container, MP4, is missing a pretty critical piece of the home theater puzzle: digital surround sound. This is not a new feature here, folks. It needs to be supported for MP4 to be useful. The other containers, which do support surround sound, are either too proprietary or too disorganized to be useful yet.
If you were to obtain a MKV file with HD video inside (H.264) and a surround sound audio track, and you wanted to play it on your XBox, you’d basically have two choices on how to proceed:
Extraction and Re-bundling
Using an array of poorly-made tools and hacks available online, which I won’t cover here out of disdain for them and the hours of time I wasted on them, you can extract both the H264 video stream and the AC3 (digital surround sound) audio track into separate files. Then you can modify them to be playable on your target device, and re-contain them in a supported container.
For example, you could drop the bit rate on the H264 stream down to at least level 4.1, outputting it to a new, slightly more compressed, but certainly still “Hi-Def” file. Then you could pare the audio track down to Stereo, with Dolby PL2 intact. Finally you could combine the two files together into an .MP4 container and play them on your XBox 360, PS3, etc…
A friend claims to have this process down to a few clicks done in less than 10 minutes (he says 6 minutes or less, but I’ll chalk that up to bragging.) Using a Mac with Windows running in a VM, then later, after much frustration and waiting, using a well-equipped physical Windows PC after sneaker-netting the files, I was unable to complete all the steps of the process after 5 hours. The “software” is buggy, has poorly documented dependencies and 0 troubleshooting information if anything goes wrong.
My friend calls this operator error and says I’m technologically inept. I call it really bad software being used to do something it wasn’t really intended for. I finally gave up.
Down-sampling
The less attractive, but much easier option, is to simply down-sample the whole contained file into a MPEG4-2/DivX file. If you have a Matroska file, you might still want to do some conversion first — Quicktime Pro can ‘Save As’ a MKV file into a MOV in a couple seconds.
From there, many mature applications, like Handbrake or FFMPEGx on the Mac, will be able to convert the whole thing into something playable for you. It may take some time, and you’ll want to compress at a high bit-rate to keep as much of the video quality as possible (and don’t fool yourself — you will loose quality), but it’ll be a usable, decent-looking file that can play on a wide-range of devices, AND it can contain DTS 5.1 audio.

Conclusions

HD Video is the biggest screw-up in consumer technology history. We’ve been waiting for this for years… Waiting while they sort out 720p, 1080i, or 1080p as the resolution we’re supposed to buy. Waiting while the cable companies struggle to get a trickle of 720p content to our sets (then screw their customers around trying to save money on it.) Waiting while big companies publically fight over which optical format we’re supposed to go out and re-buy all our movies on…
In fact, “HD” video (eg: 1080p) describes only the resolution. You can have a 268kbps bit-rate video in 1920×1080 and call it “HD” if you want. It’ll look like crap, but it’ll be big!
Learning about the different container formats and how they’re still a fractured mess of incompatible technologies only makes me angrier. Here I stand, ready to jump on the Hi-Def band wagon, with my brand-new TV, my brand-new XBox 360, cash in my hand… and the only reasonable and affordable way to get HD content is the now-defunct $50 HD-DVD add-on player I bought on clearance.
Bluray is ridiculously expensive. No one offers 1080p downloads or subscription content. Even the pirate world can’t figure out how to distribute content playable on any common device…
Its a disaster. I spent the better part of a day trying to make it useful, and I’ve decided that, for now, I’ll be storing my content in high bit-rate DivX with my surround sound intact, thank you very much. I’ll re-visit this again sometime in 2009, and hope they’ve got their crap together…
Anyone have any corrections to this, or suggestions to make this space more understandable and usable?

  • Update: Gizmodo has a great article with more details on this topic.

My life is a stereo, how loud does it go? What songs do I know?

Yup, we’re buying a house.
Got approved for a pretty decent looking mortgage, optimized for a fast return, thanks to some tips from our friends Mark and Elisabeth.
Got a real estate agent looking for places we might be interested in, in a price range we’ve calculated that we can afford, thanks to some tips from our friends Chad and Jen.
Got a down payment, thanks to my parents.
Got a place to stay for a few months until we can close a deal, thanks to an old friend.
It’s gonna be a fun couple months back in Ontario, living out of boxes, but at the end of it, we’ll have our very own house. I can talk for hours about how I really have no objections at all to renting, but I have to admit, I am a little bit excited to have our own place that I can tinker with. I’m thinking home automation, solar cells, remote speakers, and a gigabit home network…

HD-DVD vs. Upconverted DVD – A real-life comparison

So I did pick up an HD-DVD, but both my Mac and my XBox do such an awesome job of upconverting DVDs that I wasn’t sure this whole next generation optical format war was even worth it. You can see lots of screen captures online, but those are usually under optimum conditions, and often biased. I wanted a real-life comparison, under normal home-viewing conditions — a real, human comparison.
So I set up a little tri-pod, put my Batman Begins DVD in my XBox, and my new Batman Begins HD-DVD in the XBox HD-DVD player, found the same scene on both, and took a picture. I didn’t get quite the same frame, but its close enough. Don’t look at actor — look at the stuff around him. The keyboard, for example, or the other things on the desk.
Even to my unscientific eye, HD-DVD does look significantly sharper and more detailed. What do you think? Click the picture for a larger version, and excuse the moire effect — that’s the fault of the camera, not the source…