[FFmpeg-trac] #10912(undetermined:new): d_fov and h_fov not working well when converting equirectangular to rectilinear (v360)
FFmpeg
trac at avcodec.org
Fri May 3 18:18:38 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 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
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10912#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list