[FFmpeg-trac] #10912(undetermined:new): d_fov and h_fov not working well when converting equirectangular to rectilinear (v360)
FFmpeg
trac at avcodec.org
Mon May 6 14:01:52 EEST 2024
#10912: d_fov and h_fov not working well when converting equirectangular to
rectilinear (v360)
-------------------------------------+-------------------------------------
Reporter: 0kajuna0 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: v360, | Blocked By:
equirect, rectilinear |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by 0kajuna0):
Replying to [comment:5 Michael Koch]:
> > We can try to correct this by specifying width and height, but the
result is still distorted
> > % ffmpeg -i in.png -vf
v360=e:rectilinear:h_fov=56:v_fov=112:w=1440:h=2880 d.png
>
> It's still distorted because you did use the wrong value for h.
> The correct value would be: h = 1440 / tan(28°) * tan(56°) = 4015
I agree with that. See comment #1. But shouldn't the output ratio be
correct if no w or h are specified?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10912#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list