Welcome to PhantomPilots.com

Join fellow pilots on the largest DJI community and remove Google ads.

Sign Up

DJI Lens Correction for Videos

Discussion in 'Phantom 2 Vision Discussion' started by rmklaw, Dec 8, 2013.

  1. rmklaw

    rmklaw
    Expand Collapse

    Joined:
    Nov 27, 2013
    Messages:
    298
    Likes Received:
    0
    Help. I opened the video clip with Photoshop and applied the DJI lens correction to straighten out the fisheye effect. However, now when I play it back it plays in slow motion. Question: How do you get Photoshop to play the clip at regular speed? Thanks.
     
    Collapse Signature Expand Signature
  2. jimre

    jimre
    Expand Collapse

    Joined:
    Nov 24, 2013
    Messages:
    371
    Likes Received:
    1
    Location:
    North Bend, WA
    You need to render it back into a regular video file. File->Export->Render Video.

    Once you've applied the lens correction, Photoshop has to re-build every frame of this modified video in real-time - and your computer is NOWHERE NEAR FAST ENOUGH to do that.
     
  3. rmklaw

    rmklaw
    Expand Collapse

    Joined:
    Nov 27, 2013
    Messages:
    298
    Likes Received:
    0
    Thanks. I am doing it now. Slow process.
     
    Collapse Signature Expand Signature
  4. BenDronePilot

    BenDronePilot
    Expand Collapse

    Joined:
    Dec 7, 2013
    Messages:
    1,202
    Likes Received:
    100
    I've got a better solution for you. Shoot your videos in 90 degree angle like I do so you get virtually no lens distortion or fisheye that way.
     
  5. rmklaw

    rmklaw
    Expand Collapse

    Joined:
    Nov 27, 2013
    Messages:
    298
    Likes Received:
    0
    I will try that. Still new and experimenting.
     
    Collapse Signature Expand Signature
  6. jimre

    jimre
    Expand Collapse

    Joined:
    Nov 24, 2013
    Messages:
    371
    Likes Received:
    1
    Location:
    North Bend, WA
    Yep, Photoshop renders video very slowly, and has limited rendering choices. Dedicated video apps like Adobe Premiere, Adobe After Effects, Sony Vegas or others will render video much faster and make better use of your CPUs and GPUs processing power. Photoshop's automatic correction based on lens profiles is nice - but for video it may not be worth putting up with Photoshop's slow rendering.

    It may be better to use the built-in lens-distortion correction filters found in dedicated video apps - like the one in After Effects. Not automatic based on a lens profile, but it's easy to manually move a slider until it looks good. And they render a lot faster than Photoshop.
     
  7. Pull_Up

    Pull_Up
    Expand Collapse

    Joined:
    Nov 5, 2013
    Messages:
    3,689
    Likes Received:
    7
    Location:
    South Oxfordshire, UK
    A question for those more versed in the ins and outs of lenses than I...

    When DJI release the 46mm lens filter adapter kit, is there anything available that could be fitted to that to do a correction? Or is putting it in front of the lens just not going to work? As you can tell, I have no idea about any of this!

    Also, does anyone have any video they can share which they took with the 90 degree FOV, just to compare? Thanks...
     
    Collapse Signature Expand Signature
  8. MikeON

    MikeON
    Expand Collapse

    Joined:
    Nov 5, 2013
    Messages:
    198
    Likes Received:
    11
    Location:
    Pennsylvania, USA
     
  9. BenDronePilot

    BenDronePilot
    Expand Collapse

    Joined:
    Dec 7, 2013
    Messages:
    1,202
    Likes Received:
    100
    I have three videos on my Ben7seven7 YouTube channel currently showing the Phantom 2 vision with the 1080p 30 FPS 90 degree angle view. It's not 100% perfect but there is little to no obvious lens distortion, especially as compared to people filming video on wide. Here is a link to one of them.

    http://youtube.com/watch?v=tpaYVU5JTio
     
  10. Pull_Up

    Pull_Up
    Expand Collapse

    Joined:
    Nov 5, 2013
    Messages:
    3,689
    Likes Received:
    7
    Location:
    South Oxfordshire, UK
    Interesting, thanks Ben. As you say, very little lens distortion. It also seems to handle stabilization software much better without the curved horizon causing the banana bounce you get on stabilized vids with the wider FOV.

    Even with that, though, there's something a bit more dramatic about the wide FOV, a bit more "epic" especially when you get up good and high. Still, I guess we're very lucky in that we can change those settings on the fly, so on calmer days in atti mode you can get dramatic wide FOV video with limited wobble.

    I'm going to experiment a bit more with the FOV on my next sortie - thanks again!
     
    Collapse Signature Expand Signature
  11. gunslinger

    gunslinger
    Expand Collapse
    Moderator
    Staff Member

    Joined:
    Nov 3, 2013
    Messages:
    2,590
    Likes Received:
    310
    Location:
    Least Coast...

    Thanks for the info. I'm going to try this on my next flight. When my last video was "corrected" there was considerable "banana bounce." Enough to make you dizzy.

    Thanks again...

    -slinger
     
    Collapse Signature Expand Signature
  12. rmklaw

    rmklaw
    Expand Collapse

    Joined:
    Nov 27, 2013
    Messages:
    298
    Likes Received:
    0
    Thank you all for the valuable suggestions. It took almost an hour to do the rendering. It was just a test because it was my first flight. The rendering looks great without curves.
     
    Collapse Signature Expand Signature
  13. Firestat

    Firestat
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    274
    Likes Received:
    0
    Location:
    Columbus, Ohio USA
    Very nice video in Queens. But I am confused: How do you shoot at "90 degrees"? Not sure what that means.

    Thanks
    Chuck
     
  14. Pull_Up

    Pull_Up
    Expand Collapse

    Joined:
    Nov 5, 2013
    Messages:
    3,689
    Likes Received:
    7
    Location:
    South Oxfordshire, UK
    It's the field of view of the camera. You can select different FOVs (for video only, not stills) in 1080p mode - it's from within the app.
     
    Collapse Signature Expand Signature
  15. BenDronePilot

    BenDronePilot
    Expand Collapse

    Joined:
    Dec 7, 2013
    Messages:
    1,202
    Likes Received:
    100
    Thanks, glad you like the video, feel free to check the others out. I could give links if needed. And the field of view is selected to the right of your resolution setting.
     
  16. Firestat

    Firestat
    Expand Collapse

    Joined:
    Aug 3, 2013
    Messages:
    274
    Likes Received:
    0
    Location:
    Columbus, Ohio USA
    Pullup, thanks for that info. I will have to take a look at that.

    Chuck.
     
  17. hulihee

    hulihee
    Expand Collapse

    Joined:
    Dec 3, 2013
    Messages:
    26
    Likes Received:
    0
    I was able to get the photoshop lens correction for my video. It definitely takes some time to render, but I'm cutting down my footage first, and only lens correcting the clips that I'm going to use which is a huge time saver.

    What I'm not sure is, what export settings should I use within photoshop for exporting basic 720 and 1080 video shot at 30fps? I'm unfamiliar with DXF format?

    I'm editing primarily with Final Cut Pro (can't use .mp4)
     
  18. jimre

    jimre
    Expand Collapse

    Joined:
    Nov 24, 2013
    Messages:
    371
    Likes Received:
    1
    Location:
    North Bend, WA
    I think you meant to type DPX, not DXF (that would be an AutoCAD file). DPX = Digital Picture eXchange, a standardized format used to submit footage to professional Hollywood production & special-effect companies. Probably not something most of us would ever use.

    If you're going to do further video editing & processing on this footage, you'll get the best quality renders if you choose QuickTime->Uncompressed. This will result in huge files but you won't lose video quality at each intermediate step. Ideally, only the final version should be compressed into H.264/MP4.
     
  19. BigSky

    BigSky
    Expand Collapse

    Joined:
    Jan 8, 2014
    Messages:
    125
    Likes Received:
    0
    How will shooting at 90 degrees change that? And you would have to be horizontal to your subject to capture it that way. What if you want shots looking downward? I guess I don't understand something here.
     
  20. BigSky

    BigSky
    Expand Collapse

    Joined:
    Jan 8, 2014
    Messages:
    125
    Likes Received:
    0
    Is After Effects a free download App?
     
Loading...

Share This Page