The RICOH THETA S outputs a dual-fisheye video stream. To view and navigate the video stream, developers need to convert the video into equirectangular format.

Your App Sees Dual-Fisheye

You Want Equirectangular

What’s Available

  • THETA UVC FullHD Blender runs on Mac and Windows and will convert a dual-fisheye stream into equirectangular. You can then use your Mac or Windows machine to stream it to YouTube. There’s a step-by-step guide.

  • RICOH R Dev Kit will perform stitching inside of the camera and output an equirectangular stream from USB or HDMI. Available soon.

  • Devices like the Sony PlayStation VR Media Player can take equirectangular video files and stitch it in the media player. It can’t convert a stream in real-time right now.

When to Stitch the Spheres Yourself

The three most common applications where people want to stitch the spheres together themselves.

  1. Streaming from mobile phone to YouTube (or Periscope)
  2. Streaming directly into a headset or mobile phone
  3. Streaming from small device like a Raspberry Pi

Open Source Community Applications

NOTE: The problems described below apply to these open source projects as well as your own applications.

Problems Stitching Yourself

You will not get a perfect stitch on the edges. To get a good stitch, you will need the lens distortion data from RICOH, which is not available right now. At this stage, it’s best to use an official solution or wait for the RICOH R Development Kit. People have achieved fairly good-looking stitches without the lens distortion data.

General Theory of Stitching

Assuming that you’re a hobbyist and just want to quickly know what’s involved in stitching, here’s a quick overview.

The THETA camera is actually two cameras, one on each side of the camera body.

Each lens takes an angle slightly greater than 180 degrees. The image of each lens is a fisheye that is radially symmetric in longitude and proportional in latitude from the center of the fisheye circle. The two fisheyes are combined together into one equirectangular image by either using geometry alone or by detecting features points in each sphere and blending the spheres together.

Summary

There is no one go-to solution that works to stitch a dual-fisheye stream into equirectangular. This problem may go away in the next few years as the in-camera stitching technology evolves. RICOH apps and in-camera technology use lens distortion information to align the edges of the spheres closely. Developers can only take a best-guess as to sphere alignment. Due to the quality of the stitch on the Sony PlayStation VR video files, I’m speculating that RICOH may work with some large partners closely. I’d love to see this technology trickle down to independent and boutique development partners in the future.

If someone builds a live-streaming application with an open source stitching library, please leave a comment in the Unofficial Guide community so that the information can help other people.