theta360

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

为君一笑 提交于 2020-01-01 02:50:13
问题 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, in real-time, to something like RTMP? 回答1: The Remap filter does just this: This filter copies pixel by pixel a source frame to a target frame. It remaps the pixels to a new x,y destination based on two files ymap/xmap. Basic command syntax is ffmpeg -i fisheye_grid_input.jpg -i fisheye_grid_xmap.pgm -i fisheye_grid

How do I figure out the UV Mapping from Ricoh Theta S Dual FIsh Eye to a Three.js r71 SphereGeometry

一曲冷凌霜 提交于 2019-12-24 19:08:05
问题 I am trying to reproduce the three.js panaorama dualfisheye example using Three.js r71. I need to stick to r71 because eventually I will use this code on autodesk forge viewer which is based on Three.js r71. I made some progress, but I need help in figuring out UV mapping. If you compare the result from this link three.js panaorama dualfisheye example with the code snippet there is obiously an issue. var camera, scene, renderer; var isUserInteracting = false, onMouseDownMouseX = 0,