Live Stream RICOH THETA X on Ubuntu 22.04

Originally published at: Live Stream RICOH THETA X on Ubuntu 22.04 - RICOH THETA Developer Community

I recently upgraded to Ubuntu 22.04 Jammy Jellyfish and successfully tested the RICOH THETA X live streaming capability with both Wayland and X11.

I’m running the newest firmware for the THETA X, version 1.10.1.

I’m running libuvc-theta and libuvc-theta-sample.

nvidia driver 510.60

nvidia-smi
Mon May 9 15:24:06 2022
±—————————————————————————-+
| NVIDIA-SMI 510.60.02 Driver Version: 510.60.02 CUDA Version: 11.6

running wayland

echo $XDG_SESSION_TYPE
wayland

Testing v4l2loopback with an X session

Add Definition for THETAX

In thetauvc.c

You can figure out that the THETA X is 0x2717 with lsusb while the THETA is in live streaming mode.

After you add the definition, add an or check in the if statement that checks for the idProduct and have it accept the THETAX in addition to THETAV and THETAZ1.

Testing with OpenCV

with OpenCV 4.5.4 and RICOH THETA X with firmware 1.10.1. Python3, Ubuntu 22.04, NVIDIA driver 510.