VideoHelp Forum
+ Reply to Thread
Results 1 to 26 of 26
Thread
  1. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    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.
    Quote Quote  
  2. 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
    Quote Quote  
  3. Member dragonkeeper's Avatar
    Join Date
    Jul 2003
    Location
    United States
    Search Comp PM
    Check this forum out, it demonstrates methods to remove fisheye and other annoyances.
    Murphy's law taught me everything I know.
    Quote Quote  
  4. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Originally Posted by dragonkeeper View Post
    Check this forum out, it demonstrates methods to remove fisheye and other annoyances.
    Hell yeah, homefrog! Thanks
    Quote Quote  
  5. VC Mohan's DeBarrel filter for AviSynth should be able to do it:

    http://avisynth.org/vcmohan/DeBarrel/DeBarrel.html
    Quote Quote  
  6. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Originally Posted by manono View Post
    VC Mohan's DeBarrel filter for AviSynth should be able to do it:

    http://avisynth.org/vcmohan/DeBarrel/DeBarrel.html
    I don't know how to script

    I do have MeGUI, but I only know how to use one filter to make 60p interpolated from 30p.
    Quote Quote  
  7. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    Originally Posted by budwzr
    I don't know how to script
    I feel your pain! I know I've been led by the hand on my limited script experience when I dived into some sbs to anaglyph conversions awhile back.

    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 19:29.
    Donatello - The Shredder? Michelangelo - Maybe all that hardware is for making coleslaw?
    Quote Quote  
  8. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Originally Posted by yoda313 View Post
    Originally Posted by budwzr
    I don't know how to script
    Perhaps a kind soul on this website will be able to give you a briefing on scripting.
    I installed Avisynth, but I can't find it, hahaha.
    Quote Quote  
  9. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    Originally Posted by budwzr View Post
    Originally Posted by yoda313 View Post
    Originally Posted by budwzr
    I don't know how to script
    Perhaps a kind soul on this website will be able to give you a briefing on scripting.
    I installed Avisynth, but I can't find it, hahaha.
    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?
    Quote Quote  
  10. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    OK, thanks Yoda, I found everything I need to know.

    I guess nobody here actually knows how it works.
    Quote Quote  
  11. Member yoda313's Avatar
    Join Date
    Jun 2004
    Location
    The Animus
    Search Comp PM
    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?
    Quote Quote  
  12. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    I'm gonna remember who failed to help me when they want to learn how to make this

    Quote Quote  
  13. 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
    Quote Quote  
  14. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    OK, you cut out some popcorn pieces and a popcorn box from Google, and shoot 'em out a particle emitter.
    Quote Quote  
  15. FIshEye removal

    Name:  fisheye.jpg
Views: 12236
Size:  66.4 KB
    Quote Quote  
  16. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Hehehe

    Last edited by budwzr; 31st May 2012 at 17:23.
    Quote Quote  
  17. 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)
    Original

    Click image for larger version

Name:	10-original.png
Views:	317
Size:	1,009.4 KB
ID:	12645


    Defish(fov=85)

    Click image for larger version

Name:	10-defish_fov85.png
Views:	339
Size:	969.7 KB
ID:	12644



    Defish(fov=85, scale=0.7)

    Click image for larger version

Name:	10-defish_fov85_scale0.7.png
Views:	668
Size:	955.6 KB
ID:	12643


    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
    Quote Quote  
  18. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    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.
    Quote Quote  
  19. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Vegas Deform gave me this:



    I think repairs like this can be used with crop, then played in their own space, but not zoomed to full rez, so the usefulness is limited.
    Quote Quote  
  20. 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/
    Quote Quote  
  21. Originally Posted by yoda313 View Post
    Actually as an fyi I actually have .net version 4 installed but for some reason that avsedit program is insisting on 1.1.
    Unlike most libraries which have backward compatibility, each version of .net is separate. A program that requires .net 1.1 will not run on .net 2, 3, or 4.
    Quote Quote  
  22. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    What the hell is that? Jeezuz Kroist!
    Quote Quote  
  23. Member budwzr's Avatar
    Join Date
    Apr 2007
    Location
    City Of Angels
    Search Comp PM
    Originally Posted by GoProWarrior View Post
    There is also the plugin for Virtualdub called Barrel distortion correction from Emiliano Ferrari that can do the job.
    Thanks, I'm looking at that. This one too.

    Originally Posted by manono View Post
    VC Mohan's DeBarrel filter for AviSynth should be able to do it:

    http://avisynth.org/vcmohan/DeBarrel/DeBarrel.html
    Quote Quote  
  24. 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 06:22.
    Quote Quote  
  25. Member
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    did you ever think about taking it apart and changing the lens
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!