Archive for the ‘Troubleshooting’ Category

HDR Time Lapse – deflicker

January 9, 2010 1 comment

This is my final post in the HDR series.  I’ve already discussed the basics of HDR photography and how I batch the HDR images.  This post is about finishing the process by eliminating flicker from your video.

What causes flicker?

Flicker occurs when each frame of a video has a different overall brightness.  When I began making time lapse videos, I often encountered some degree of flicker.  It was usually caused by forgetting to set the exposure manually, but it can also result from too small of an aperature or even an inconsistant camera.  Most of the time, I discarded the final footage.

In HDR photography, three to five images of different exposures are merged into one image.  Even though I use the same program with the same settings to process every image, there’s often enough difference in brightness between images to cause some flicker.  This difference becomes much more noticeable when the exposures are farther apart and when the HDR is strenghtened in processing, as shown in the above example.

Using a deflicker filter

I’ve talked before about the free video software VirtualDub.  One of the advantages to this software is that there are plenty of free filters available online.  I use the MSU Deflicker Filter in almost all of my HDR videos.

To install the filter, visit their site and find the download link toward the bottom of the page.  There’s an interesting overview of video flicker, a tutorial on using the filter, and links to some of their other free filters, so you might want to take a minute to read the whole page.

After you’ve downloaded the filter, unzip it and move the .vdf file to VirtualDub’s plugin folder.  On PCs, this folder is usually located here:  C:\Program Files\VirtualDub\plugins

Now open VirtualDub and the deflicker filter should be installed.

Choose the default settings if it’s your first time using this program, select your usual compression settings, and open the video file that has flicker.  Select File>Save as AVI… and choose a name and location.  Your video should now be flicker free.  If the filter causes any problems such as the video being too dark or if it doesn’t remove enough flicker, go back and adjust the filter settings until you’re happy.

If you make any HDR videos using this method, please post a link in the comments.  Good luck!



White Balance and Time Lapse

A white balance set to "daylight" will distort color under different lighting conditions.  (Daylight, tungsten (incandescent), halogen, and daylight/tungsten combination)

A white balance set to "daylight" will distort color under different lighting conditions. (Daylight, tungsten (incandescent), halogen, and daylight/tungsten combination)

Today’s post is about white balance (WB). There are plenty of good explanations of WB on the internet, so I won’t go into too much detail, but I’ll focus on its importance in time lapse video.  If you’re new to WB and want a detailed explanation, I’d suggest visiting Cambridge in Colour’s website.

A Quick Explanation of White Balance

White balance is how a camera determines the color range for a photograph. The human eye can see white under different lighting conditions and compensate, but a camera often has difficulty distinguishing appropriate colors under different light. For example, fluorescent light, incandescent light, and sunlight will create strange hues without proper compensation.

In the old days, film was marked “indoor” or “outdoor” and treated to provide appropriate colors under those two conditions. Most of us have seen old snapshots that were taken under inappropriate lighting conditions.  The one that stands out in my mind is a picture of my uncle taken inside his store with what I assume was outside film.  The picture, which isn’t very old, has a heavy yellow hue.  As a snapshot, the hue doesn’t matter too much, but it would ruin an artistic print.

Modern cameras often come with automatic white balance (AWB), which works under most conditions. It’s far from perfect, but the amateur photographer won’t notice much distortion. The trouble with using AWB in time lapse video is that the camera continuously adjusts to changing light conditions and the hue will be inconsistent throughout the video. Here’s an example of a good time lapse unfortunately set to AWB (note the color of the clouds): Nov. 20

How to Properly Adjust White Balance

The good news is that the solution is fairly simple. Most cameras will allow you to pick from a few preset WB modes. Of these, “sunny” and “cloudy” work well for most naturally lit environments, and thus for most time lapse videos. Other settings include tungsten (for incandescent bulbs), fluorescent, flourescent H (for newer fluorescents), and flash.  If you’re not sure whether your camera allows you to adjust WB, check your user’s manual.  And remember to change your settings back when you’re done if you want to take snapshots.

Professional photographers often use a set of white or gray cards which they can use to manually adjust the camera’s WB. I don’t use these often, but they’re simple to make, and you can even calibrate WB with an index card for a ten cent solution.

Auto WB vs. Manual WB

There are arguments to be made whether you should shoot time lapse videos in full manual or automatic modes for things such as aperature, focal length, and shutter speed, but I’ve found that a static white balance is always preferable to AWB.  The reason for this is that AWB will almost always be noticable in the final video. Manual WB might change hues during different lighting conditions, but the shift from sunny to cloudy is too subtle for most people to notice.  If your subject is going to go from daylight to artificial lighting, it might be worth experimenting with AWB, overwise, stick to manual.


Categories: Troubleshooting Tags: , ,
%d bloggers like this: