2

I am trying to convert dual fisheye image captured in an insta360 camera to equirectangular format using the ffmpeg package but I am unable to get the correct result. I used the following code,

ffmpeg -i input.jpg -vf v360=dfisheye:equirect:ih_fov=360:iv_fov=360 output.jpg

the input image,input_image

the output image, output_image

thank you in advance.

Soumyarian
  • 21
  • 1

1 Answers1

3

Bot horizontal and vertical Field Of View of the cameras can't be 360, they are by sure just a little more than 180, try this:

ffmpeg -i input.jpg -vf v360=dfisheye:equirect:ih_fov=190:iv_fov=190 output.jpg

Hint: add "yaw" parameter to move the camera right and left:

ffmpeg -i input.jpg -vf v360=dfisheye:equirect:ih_fov=190:iv_fov=190:yaw=90 output.jpg

Examples

source dual fisheye

result equirectangular

View result pasting here the equirectangular image: https://renderstuff.com/tools/360-panorama-web-viewer/

jumpjack
  • 841
  • 1
  • 11
  • 17