If you’re using opencv as your goal, can you use gstthetauvc instead of the loopback?
See the last post.
Do you have multiple versions of libuvc installed on your system? The Linux driver for the THETA installs a patched version of libuvc. Verify that your OS didn’t already come with a libuvc version already installed. It may conflict with the patched version of libuvc.
In the sourcecode, did you change this line to /dev/video0?