I have a GoPro, and sometimes I wish the fisheye could be removed because it's too much, but I don't want to crop it and lose resolution or end up playing the cropped video at a smaller size.
+ Reply to Thread
Results 1 to 26 of 26
-
-
after effects
I think there are some stickies on how to do it in the go pro forum with AE
eg
http://forums.adobe.com/message/3739820
Avisynth has a "defish" plugin as well, but I've never tried it
http://forum.doom9.org/showthread.php?t=152860 -
VC Mohan's DeBarrel filter for AviSynth should be able to do it:
http://avisynth.org/vcmohan/DeBarrel/DeBarrel.html -
Originally Posted by budwzr
I wanted to let you know there is a download at the bottom of the page on the debarrel link - it contains the html file copy of the website and a dll file. I believe that is to aid you in the process. I'm not sure how that works either but just that there is more info available.
Perhaps a kind soul on this website will be able to give you a briefing on scripting.
Edit - out of curiosity I digged up this link:
http://www.afterdawn.com/guides/archive/avisynth_tutorial.cfm
I should invest some time in it myself. I really only have a sub-sub-sub beginner understanding of avisynth and its true potential. This should be a good place to start for us uninitiated neophytes.
edit - this program says it requires .net framework 1.1 to install. I just got a bunch of updates done for Vista Home Premium - the computer I'm currently typing at - I thought the newer .net was included in Vista? I have service pack 2 for home premium fy. Hmm....Last edited by yoda313; 30th May 2012 at 18:29.
Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw? -
I don't know if you caught my edits in time before posting:
http://www.afterdawn.com/guides/archive/avisynth_tutorial.cfm
There is a guide here for avisynth. However I can't seem to install it because of a .net requirement. I'm gonna check to see what version of .net I have on my vista pc.
I think there should be some other tutorials out there for avisynth. Unfortunaley there was another tutorial listed in the guides section but the link was dead.Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw? -
OK, thanks Yoda, I found everything I need to know.
I guess nobody here actually knows how it works. -
Thats good.
Actually as an fyi I actually have .net version 4 installed but for some reason that avsedit program is insisting on 1.1. I'm not changing it for one program. I'll leave it as it is.
I'll keep that link handy should I need something from it later.Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw? -
I'm gonna remember who failed to help me when they want to learn how to make this
-
Avisynth is just a frameserver. Open a file in notepad, type the commands in. You start with a source filter (to load the video), then the filters come after . You can preview the scripts in vdub or avspmod, and many media players will play avs scripts
eg.
AVISource("PATH\video.avi")
SomeFilter()
http://avisynth.org/mediawiki/Main_Page#New_to_AviSynth_-_start_here
http://avisynth.org/mediawiki/First_script
http://avisynth.org/mediawiki/Getting_started
http://avisynth.org/mediawiki/Filter_introduction
http://avisynth.org/mediawiki/Script_examples
I haven't used defish or debarrel before, but they come with documentation and instructions -
OK, you cut out some popcorn pieces and a popcorn box from Google, and shoot 'em out a particle emitter.
-
Get the defish plugin
Code:LoadPlugin("PATH\defish.dll") FFMpegSource2("PATH\Fisheye.mp4") AssumeFPS(30000,1001) #this is because ffms2 sometimes gets the framerate slightly off ConvertToRGB32() #req'd for defish, I'm using Rec.601 for this example, but you usually use Rec.709 for HD footage defish(fov=85)
Defish(fov=85)
Defish(fov=85, scale=0.7)
When you "undo" a barrel distortion or fisheye, you are left with "gaps" - areas than were never recorded. Most plugins will automatically "zoom in" to eliminate the black areas, but you're left with softer footage, and less field of view . You can use defish with scale to control the amount of zooming
(Get the pun??? "Defish with scale" hahahha!!! )
This plugin doesn't have an center offset parameter - in your footage the center isn't actually in the center, so the distortion and correction are skewed (notice the objects on the left of the frame are more distorted than the right)
Other FX programs can actually motion track background objects like the ground to (almost) automatically fill in the gaps, and there are other compositing "trickery" that you can do (e.g. the sky is easy to fill in for this particular) - so you try to get the "best" of both worlds - less zoom in , and no black gaps
Most people add sharpening afterwards (because the scaling and undistortion cause softness, especially on the periphery) - but the "ideal" way to do it is through a gradient - so objects in the center are less sharpened, objects in the periphery are sharpened to a larger degree
Of course you have to fiddle with the parameters and settings to get best results -
Nice work and explanation, thanks.
I ran across this free software called Hugin that does this stuff on stills, but not video.
Given the results above, the Vegas "Deform" tool is a lot easier to use and seems to accomplish the same result, gaps that need to be cropped.
OK, thanks. -
There is also the plugin for Virtualdub called Barrel distortion correction from Emiliano Ferrari that can do the job.
It gives a good image quality without loosing too much on the sides.
Here is an explanation on how to use it: http://skisoo.com/blog/en/2012/how-to-remove-the-fisheye-effect-from-gopro-hero-2-vide...free-software/ -
-
Nope Budwzr, didn't work. They found it again!
http://www.google.com/hostednews/ap/article/ALeqM5itAwBtxMa8_eIsnWTMLwvFfKrXZA?docId=2...223de06da1fd6b -
-
Has anyone tried Defishr or ProDRENALIN? Both tools from proDAD and designed for use with action camera footage (including GoPro).
Last edited by altarvic; 4th Jun 2013 at 05:22.
Similar Threads
-
Watermark removal
By Shrimpy72 in forum ffmpegX general discussionReplies: 3Last Post: 14th Jan 2011, 11:31 -
Looking for Fisheye lens for HV30 without allot of $$$
By Jensen in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 1Last Post: 7th May 2009, 20:53 -
Fisheye Lens
By JakkOne in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 9th Dec 2008, 01:10 -
WMP CP removal
By kookie2000 in forum AudioReplies: 2Last Post: 14th Jan 2008, 16:41 -
Fisheye Lenses?? What measurement is wider?? 0.25/0.42?
By plainfaced in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 1Last Post: 29th Dec 2007, 21:16