About the QuickTime gamma bug
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 was 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 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 do I 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 that 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’s 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.
Get MyComet’s G3 x264 codec
Go to http://www003.upp.so-net.ne.jp/mycometg3/ and download the latest x264 encoder. (Current version is 1.1.2). Inside the disc image(.dmg) you’ll find the following file “x264Encoder.component” The icon looks like a Lego block.
Place the file in: MainHarddrive/library/QuickTime. You’ll see a bunch of other .component files there.
Export using Quicktime Player 7
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).
Go to File > Export and chose ‘Movie to QuickTime-Movie’.
In the encoder drop-down list you’ll now find ‘x264Encoder’. Pick it and render your video as you normally would. Now your exported movie should look just fine. Easy as pie :)
If you really want to get down ‘n dirty with the video settings, 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. Please do leave any comments below if you need something elaborated or I’ve provided wrong information of any kind.