I love my new GoPro to death, but there are times when I don't want the fisheye effect that comes naturally as a result of the camera's wide-angle optics. I've read a tutorial in these forums on how to correct this in the free video editor, VirtualDub, and it works quite well. The only major issue I have found with that is VirtualDub's plug-in to remove the fisheye effect isn't 64-bit compatible yet. That's a shame, since many of us have the hardware and would like to be able to use more than ~3 gigs of ram and make use of the sweet 64-bit cpu benefits while rendering. So a friend and I set out to do the same thing using the venerable Adobe After Effects CS5. I really must thank my friend Pat for his multiple, in-depth trial-and-error sessions with a lot of different footage, subjects, etc to find good general settings. He drove the vast majority of this project, and I followed his lead. He's an AE master and he deserves a lot of credit. After Effects is an expensive program, but I'd say the results are noticeably better than VirtualDub on a pixel-per-pixel accuracy basis (probably due to more complex algorithms to keep pixel smear and distortion at bay). VirtualDub is great for those on a budget, but AE wins the blue ribbon in this project. If you have access to AE and a GoPro, this will really be helpful.
So here it is. I'll explain what to do, then I'll post dl links to my server (hope that's kosher), where you can download the .ffx animation presets I made, just in case you're feeling lazy
1) Open AE and start a new composition with the resolution and frame-rate settings that match the footage you're going to import.
2) Import your footage and drag it into the timeline.
3) Look in your Effects Presets window under the label 'Distortion.' You'll find one called 'Optics Compensation'.
4) Dag the Optics Compensation preset into the composition window to the left of the timeline. This window will usually be labeled something like 'Comp 1' or similar at the top. Drop the effect on the clip title. The effect will be added to the entire clip.
5) The project window (upper left corner that has all your source clips in it) will change to the Effects Controls window, showing you the settings for the Optics Compensation effect. Here's where the magic happens.
6) Settings for 720p video:
Field of View: 83.0
Reverse Lens Distortion: CHECK
FOV Orientation: Horizontal
View Center 640.0, 360.0
Optimal Pixels: NOT CHECKED
Resize: OFF
For 1080p video:
Field of View: 63.0
Reverse Lens Distortion: CHECK
FOV Orientation: Horizontal
View Center 960.0, 540.0
Optimal Pixels: NOT CHECKED
Resize: OFF
7) Export your video. Go to Composition > Add to Render Queue. Go to the render queue at the bottom of the screen, and change the export settings to whatever you want. Then click the Render button on the top right of the render queue window. It'll start rendering the corrected video.
8) Done! Go show it off to your friends.
These settings should be a pretty good place to start. Feel free to tweak them as you see fit to get the best balance between lens correction and smearing/distorting the footage. As far as minor adjustments to the above settings are concerned, sometimes I like to tweak the FoV value up or down a bit, or until the fisheye effect seems to be mostly eliminated. Some footage seems to distort if I correct it completely, so I find a happy balance between the two. New guys, be sure not to mess with the View Center values too much or apply a 1080 preset to 720 footage (or vice versa), or it will correct the image off-center and will look awful.
As promised, for those lazy editors that just want to download the presets and apply them without poking around themselves, here are the links. Just right-click and Save As:
720p: http://root.blue10media.com/dl/After%20 ... 20720p.ffx
1080p: http://root.blue10media.com/dl/After%20Effects%20GoPro%20barrel%20correction%201080p.ffx
Anyway, I hope that helps. Let me know if you have questions or suggestions. Best wishes to all, and happy filming!


