Control RICOH THETA using a USB cable
RICOH THETA S, V, SC, and Z1 models can be controlled through the USB cable using the PTP or MTP protocol.
Linux libptp
Windows MTP Extensions or WpdMtp
Example
First, To set video mode :
ptpcam --set-property=0x5013 --val=0x8002
And start shooting :
ptpcam -R 0x101C
Finally, stop shooting :
ptpcam -R 0x1018,0xFFFFFFFF