<p>I want to remove fish eye effect using command line. I've found 2 ways. The simplest is using frei0r plugin called "defish0r" it has few parameters like 
fisheye type, scalling, interpol and video aspect. The second way is using ffmpeg with built-in lens correction filter (<a href="http://www.ffmpeg.org/ffmpeg-all.html#lenscorrection" rel="nofollow">http://www.ffmpeg.org/ffmpeg-all.html#lenscorrection</a>). The second way according to documentation needs camera calibration file e.g from opencv, it might be more adequate result when you calibrated camera. My question is, what is better ? Is built-in lens correction filter is not proper way to remove fish eye effect?  When use what?</p>

CC BY-SA 3.0
2015-08-02T11:09:18.080Z
related: http://video.stackexchange.com/questions/14772/correct-lens-distortion-with-ffmpeg
p2or
CC BY-SA 3.0
2015-08-02T16:28:08.317Z
When its about fisheye what might be better? lenscorrection or defish0r, what about camera's calibration advantages? Maybe its trivial or something, but It drives me crazy, I can't find unambiguous answer/explanation on internet
bumk5
CC BY-SA 3.0
2015-08-03T08:32:14.703Z
I assume it's the same procedure, but I'd like to have some docs too :) Might be a good idea to find the developer and ask him directly - when I have time I'll searching for it again. Please keep me posted :)
p2or
<ffmpeg>
ffmpeg lens correction, fisheye effect
bumk5
# ffmpeg lens correction, fisheye effect

(Asked by: username_0 on 2015-08-02)

I want to remove fish eye effect using command line. I've found 2 ways. The simplest is using frei0r plugin called "defish0r" it has few parameters like
fisheye type, scalling, interpol and video aspect. The second way is using ffmpeg with built-in lens correction filter (<http://www.ffmpeg.org/ffmpeg-all.html#lenscorrection>). The second way according to documentation needs camera calibration file e.g from opencv, it might be more adequate result when you calibrated camera. My question is, what is better ? Is built-in lens correction filter is not proper way to remove fish eye effect? When use what?

**Tags:** ffmpeg

> **Comments:**
> **username_1**: related: http://video.stackexchange.com/questions/14772/correct-lens-distortion-with-ffmpeg  
> **username_0**: When its about fisheye what might be better? lenscorrection or defish0r, what about camera's calibration advantages? Maybe its trivial or something, but It drives me crazy, I can't find unambiguous answer/explanation on internet  
> **username_1**: I assume it's the same procedure, but I'd like to have some docs too :) Might be a good idea to find the developer and ask him directly - when I have time I'll searching for it again. Please keep me posted :)  

---

## 0 answers

