I need a video plugin to correct fisheye distortion in video footage that has been shot with wide angled action cameras (like the GoPro). It needs to work directly as a plugin in my preferred video editor (Vegas Movie Studio) to ensure the most direct and lossess pipeline for editing.
There are two open source plugins that do this well (and can act as the starting point):
- Barrel Distortion by Emiliano Ferrari for VirtualDub (Second degree polynome - fast, two parameters that need to be tweaked by eye).
- Defish by David Horman for AVISynth (Third degree polynome - best results, single parameter, CPU heavy)
The source code for both aforementioned plugins is available, so the maths are already figured out. A plugin SDK is available for Vegas Movie Studio. The job would be to port the functionality of these plugins to the Vegas Movie Studio plugin framework. Vegas also supports OpenFX, which may actually be a more viable porting target.
This plugin would be for my personal use, but there are likely a lot of Vegas M.S. users with action cameras who would find this useful. Since it is derived from open source software, I suppose it can and should be released freely.
Why: No commercial plugins for Vegas that do it right are actually available! (Believe me: I have searched). I want to avoid the lossy, intermediate re-encoding pass of lens correcting my video footage in a separate program.