[FFmpeg-user] rounding error in v360

Michael Koch astroelectronic at t-online.de
Fri Jan 21 13:25:45 EET 2022

There is a rounding or +-1 error in the v360 filter when converting from 
double_fisheye to equirectangular. The error is visible with or without 
interpolation. Can be reproduced as follows:

ffmpeg -f lavfi -i color=black:s=160x80 -lavfi 
-frames 1 -y test.png

ffmpeg -i test.png -lavfi 
v360=dfisheye:e:ih_fov=180:iv_fov=180:interp=near -y eq.png


More information about the ffmpeg-user mailing list