I have dual-fisheye MP4 files generated from a Rylo camera. Using FFmpeg on Windows, I want to convert the video into equirectangular format.
The command I have been trying is:
ffmpeg -t 5 -i input.mp4 -vf v360=dfisheye:e:ih_fov=208:iv_fov=208 -y output.mp4
The the catch is that the input fisheye video is rotated 90° like this:
Which is generating equirectangular output like below, but the fisheye video needs to be rotated first.
I've experimented with some of the command line switches like pitch, yaw, out_forder=brludf, and out_frot=222222
and none seem to make a difference. Can someone explain the command line parameter that will rotate the input video before stitching it?
The option you're looking for is roll
?
ffmpeg -t 5 -i input.mp4 -vf v360=dfisheye:e:ih_fov=208:iv_fov=208:roll=-90 -y output.mp4
Link to the documentation:
https://ffmpeg.org/ffmpeg-filters.html#v360