The Quicktime Conundrum
Ever since Quicktime 7, there’s been a weird bug when encoding h.264 videoes using Quicktime Pro. The gamma is being offset and the colors get washed out as shown below
Actually, in Snow Leopard, the entire system gamma has been shifted to 2.2 from the old 1.8, which means this problem, along with a bunch of other color-related ones, have been mostly fixed for people running that OS – More about that here…
However, this does not fix the gamma problem if users with Mac OS 10.5, or god forbid, windows, were to see your videos. That’s because the system gamma only affects how your monitor displays content it doesn’t actually alter the content.
How to fix it?
There’s a couple of ways to do it. One way is to change the videos transparency settings to “Straight Alpha” (Windows) or “Composition” (Mac OS) – And then save the video again.
The problem though, is this method disables fast playback, i.e. the ability to start playback of the video before it’s entirely downloaded. It also seems like too much of a pain in the ass, to re-save every single video you’ll ever encode with the h.264 encoder.
You could also change your monitor color profile, but once again that only changes your own perception of the video, not everybody else’s.
Yesterday i ran into this annoying problem again, and decided it was time to kill that bug once and for all. That’s when I found this nifty little encoder. It cured all my gamma and color problems entirely – And it even turned out to be a much easier work-around. than those mentioned above.
Step by step
1: Go to http://www003.upp.so-net.ne.jp/mycometg3/ and download the latest x264 encoder. (Current version is 1.1.2)
2: Inside the disc image(.dmg) you’ll find the following file “x264Encoder.component” The icon looks like a Lego block.
3: Place the file in: MainHarddrive/library/QuickTime. You’ll see a bunch of other .component files there.
4: Now open a video in the QuickTime Player. (If you’re running Snow Leopard you need to find QuickTime Player 7 under applications/utilities as QuickTime Player 10 has been stripped of the ‘pro’ export features).
5: Go to File > Export(cmd+e) and chose ‘Movie to QuickTime-Movie’ as you normally would.
6: In the encoder drop-down list you’ll find a new one, ‘x264Encoder’. Pick it and render your video as you normally would.
Now your exported movie should look just fine. Easy as pie :)
7 (Optional): Now, if you want to go the geek-route, and really get messy with the video settings, you can. The x264 Encoder adds a neat little ‘settings’ button below the quality-slider.
I hope this relieves some headaches and confusion around the QuickTime gamma bug. Do leave any comments below if you need something elaborated or I’ve provided wrong info of any kind.