Is there a fisheye or dual fisheye to equirectangular filter for ffmpeg?

后端 未结 2 508
后悔当初
后悔当初 2021-02-04 12:01

Or a way to do it with an existing filter? So that you could take in video from a fisheye or dual fisheye camera (such as the Ricoh Theta) and directly output equirectangular,

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-04 12:38

    In the latest ffmpeg, you can do this to convert fisheye video to equirectangular now

    ffmpeg -y -i in.mp4 -vf v360=dfisheye:e:yaw=-90 -c:v libx265 -b:v 40000k -bufsize 5000k -preset ultrafast -c:a copy out.mp4
    

    Docs: https://ffmpeg.org/ffmpeg-filters.html#v360

提交回复
热议问题