egjs-view360 icon indicating copy to clipboard operation
egjs-view360 copied to clipboard

Feature Request: Fisheye/Sphere Support

Open doktormerlin opened this issue 2 years ago • 1 comments

Description

A lot of IP cameras provide 360° video in a so called fisheye style. Currently, to my knowledge, the only option to dewarp fisheye videos in Javascript is the very outdated https://github.com/yanwsh/videojs-panorama VideoJS plugin. I would like to use egjs-vew360, so it would be great if this library would also implement the option to use fisheye optics.

doktormerlin avatar May 23 '23 08:05 doktormerlin

Hello @doktormerlin, thanks for the suggestion! We're planning to support additional projection types in the future. We'll definitely consider adding fisheye projection type then.

For now, you can try converting your video to other supported projection types. For example, you can use ffmpeg to do that.

ffmpeg -i input.mkv -vf v360=fisheye:equirect output.mkv

I haven't tested the result, so I can't guarantee whether it works great or not, but it's worth a try for now.

WoodNeck avatar May 23 '23 08:05 WoodNeck