Hi Ariel, Looking at the database I don't think that it has calibration data for the GoPro 6. It looks like the GoPro 4 and 5 are treated the same, so perhaps the GoPro 6 should use the same data as well, but I don't think anyone's tested it. That data is marked as being for a stereographic projection, so maybe it's not appropriate for the linear mode that you're using? I'm afraid I don't really know anything about GoPros. If you wanted to try it, looking at the database entry I think the correct commandline would probably be: ffmpeg -i input.mov -vf lensfun=make=GoPro:model="HERO5 Black":lens_model="fixed lens":focal_length=3:aperture=8 -c:v h264 -b:v 8000k output.mov (I've just left the aperture from the sample command -- I don't know if ffmpeg would need it, but it shouldn't matter for distortion correction anyway). It looks like the data was added by Torsten, so he may be able to shed more light on what the right thing is for linear mode or for the Hero6. If the corrections aren't right for your video and you want to submit calibration images then we can probably make some calibration data that would work.
Hope that helps, Graeme On Sat, 16 Mar 2019 at 19:17, Ariel Elkin <arielel...@gmail.com> wrote: > Hello, > > I’d like to use lensfun to do lens correction on footage from a GoPro HERO > 6. > > Here’s a snapshot from the footage: > https://i.imgur.com/0STHMkD.jpg > > Even though the footage was shot in linear mode, you can still see as a > result of the fisheye lens distortion: the window frame on the left appears > curved. > > Given this sample syntax from the ffmpeg documentation: > ffmpeg -i input.mov -vf lensfun=make=Canon:model="Canon EOS > 100D":lens_model="Canon EF-S 18-55mm f/3.5-5.6 IS > STM":focal_length=18:aperture=8 -c:v h264 -b:v 8000k output.mov > > I’m not clear what values I should put for make, model, lens_model, > focal_length, and aperture. On lensfun lens list I see GoPro and fixed_lens > but how exactly should I use that with ffmpeg? > > Thanks > > Ariel > > _______________________________________________ > Lensfun-users mailing list > Lensfun-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lensfun-users >
_______________________________________________ Lensfun-users mailing list Lensfun-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lensfun-users