Exported H264 movies too light

hello all:

i recently started playing with building animated slide shows of my photos from my Aperture photographs. i dragged a bunch of photos from the Aperture library into the clips section, put some transitions between the shots, adjusted duration, ken burns effect, and added some music.

i exported the movie to iTunes, with the largest setting selected (for AppleTV). when i play the movies back in iTunes, the resulting movie looks way too light. i've lost all depth in the shadows and it is not at all like what i see when viewing the movie in the iMovie 08 interface (either in the app's preview pane or in the full-screen mode, both of which look fine). it almost looks as if its exported at the wrong gamma (1.8 instead of 2.2). my monitors are hardware calibrated and it just looks like something is broken with the managed color workflow.

anyone having the same problem? any advice on how to remedy this problem?


thanks,
scott

Message was edited by: scott nichol - added comment about gamma and color workflow

PowerMac G5 2.5GHz, Mac OS X (10.4.10), MacBook Pro 2.0GHz

Posted on Aug 29, 2007 8:11 AM

Reply
6 replies

Sep 19, 2007 10:05 AM in response to scott nichol

I replied to another post like this. I am having the exact same issue. It isn't just getting darker in imovie as one person thought. I am familiar with how many of the videos look and imovie is exporting the movie much lighter. I don't get that at all. It looks just like you said, the gamma looks shifted to 1.8 instead of 2.2 and my monitors are calibrated using Spyder Pro2 every few weeks since I work in print much of the time.

Can't figure this one out either and have been trying every export configuration I can to fix it...

Oct 8, 2007 11:08 PM in response to scott nichol

Same problem here, when exporting either through 'Export Movie' (h.264) or 'Export using Quicktime' and choosing ProRes I get photos that are too bright, like the gamma is incorrect. Video clips in the exported movie look correct though, so you can't even fix by applying a filter, if you did the video clips would end up too dark while the images would be correct.

I'm importing images from Aperture, haven't tried through IPhoto or directly from filesystem.

Oct 11, 2007 4:10 PM in response to Kahli Burke

I am having this same trouble in exporting either directly or through quicktime. It is definitely a lot lighter that what I started with and what displays in imovie. The other problem I am having is once it is exported I am trying to save it as a flash movie with visual hub and this makes it lighter once again and its completely washed out. I am going to try and see if converting it with adobe flash works better. I can manually adjust each clip darker but obviously this is much less than ideal and even with performing the darkening adjustment it doesn't look very good.

Oct 21, 2007 9:31 PM in response to glyphforge

I solved one of my problems. On exporting the resulting mp4 to flash. If I go to visualhub advanced options and force it to use the ffmpeg decoder. The conversion to flash looks the same as the outputted mp4 file. The mp4 file is still a bit light though. I have also tried just encoding the mov files generated for imovie directly with visualhub but this causes visualhub to choke if I use the ffmpeg encoder. It only seems to work with the quicktime encoder which washes out the colors.

Mar 14, 2008 4:23 PM in response to scott nichol

I have been spending the better part of 2 days trying to figure this out. So far I have learned that Quicktime (through iMovie) is displaying a gamma shift in the rendered video and that the actual file is okay, it is quicktime that is messing it up. This also goes for anything that uses quicktime, like safari, itunes, imovie and similar players/ editors that use the Core Video hardware acceleration. Computers or Players that don't use hardware acceleration will show the same file correctly when played. But of course this is still an issue for anyone viewing your video on another computer with hardware acceleration enabled. To them your video will look faded.

It happens far worse on windows machines where the gamma is set to 2.2 (my mac was set to 2.2 until I found this nasty H.264 bug in quicktime rendering.) In the 2.2 gamma environment the shift in brightness is very pronounced. In the 1.8 mac gamma environment, it is less pronounced but still problematic enough that many of the studios that I know won't use Quicktime or the H.264 codec until this bug is corrected.

This problem is documented all over the web and it has caused major headaches for a lot of people for somewhere around 3 years. So far Apple hasn't done anything to fix it (or can't fix it) even though it is a persistent problem, especially for people who calibrate their monitors or people on PC's.

It's really frustrating and after hours of scouring the net for an acceptable solution, I still haven't found anything that doesn't involve simply not using quicktime or h.264. Here is one (partial) solution I found:

This tip from Mitch Gates:
As you may have noticed, the current implementation of the H.264 compressor for Quicktime has the nasty side-effect of raising the gamma or black levels of the resulting movie file. In order to fix this you must have Quicktime Pro (otherwise the fix will not hold since you can't save the updated .mov). Here are the steps?

Open the QT
Go to "Window/Show Movie Properties"
Select "Video Track", then click the "Visual Settings" tab
At the bottom left, change the transparency to "Blend" then move the slider to 100
Change the transparency to "Straight Alpha"
Close the Movie Properties window, then play or scrub the QT. Your black levels should now look correct
Save over old .mov

This is for PC's. On the mac you change the transparency to "composition."
The problem with this solution however is that doing this disables the settings that allow fast playback (playing the movie before it is completely downloaded.) Another issue with this solution is that, while it fixes the look of the video in Quicktime, VLC player still exhibits the 'washed out' look on the same file. Finally, this "solution" isn't actually a solution at all.

An interesting thing about this is that the video file itself is not really washed out as far as I can tell. There are a few things that point to this. One, exporting the h.264 file and changing the codec to "Animation" or "None" corrects the gamma shift and returns the colors to where they should be, but this increases file size dramatically. Second, I noticed that when I select the h.264 file and choose "get info" the preview thumbnail shows the poster frame with correct colors. Third, when I put the h.264 file online Safari shows it all washed out but FireFox shows it correctly. Strange...

At this point I think the only viable solution is to do this:

MacInTouch Reader
I too have been plagued by this H264 problem for the past 2 years it seems.
I have a suspicion that if we polled the users experiencing this effect that it would result they all use custom or modified Display Profiles in the Display System Preferences.
My temporary (and somewhat silly workaround) has been to change my display profile to the standard "Cinema HD Display" instead of my user-created "Cinema HD Display Calibrated" profile.
It does alter the gamma of my display to a unpleasing value, but after changing it, the H264 export works beautifully. No gamma shift at all.
I have read all the suggestions on trying the quicktime "filter then colorsync" export and always got unsatisfactory results. My silly workaround always produces the best results. I just have to change the dang setting back after I export so my eye don't burn out of my skull.

So it all comes down to a gamma shift on the part of Quicktime's render of H.264. You would think that after so many years of this issue going on Apple would have fixed it since they have documented that they know of the problem. A little baffling.

If you want to research this further, as I will continue to, just type "h.264 gamma" into google and you will find a ton of fellow frustrated users trying to figure this out. Most just switch to Sorenson 3 it seems or "un-calibrate" their displays when doing the render export. None of this is perfect unfortunately and I find myself using "Animation" even though the file size is insanely huge. It is better that having upset clients telling me that the video is washed out.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Exported H264 movies too light

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.