Live Stream RICOH THETA X on Ubuntu 22.04

RICOH THETA X Live Streaming to Linux

Live Stream RICOH THETA X on Ubuntu 22.04

RICOH THETA X Linux Live Streaming

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.

image
RICOH THETA X with firmware 1.10.1

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

image
live streaming the RICOH THETA X with the sample application gst_viewer on Wayland

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

image
using vlc on /dev/video0 to stream a RICOH THETA X

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.

python3 with opencv and RICOH THETA X

Start the discussion at community.theta360.guide