Jetson card + Ricoh Theta Z1

Hi

I’ve read a lot of posts on getting things done using jetson card + Ricoh Theta cam. I’m still facing the same issues…
that one

and that one

and others :-/

First, my material :

  • Jetson Xavier AGX (I get the same error using Jetson xavier NX)
  • I use the Ricoh Theta Z1.

I followed the guide : RICOH THETA Development on Linux

I’ve installed
libuvc-theta → ok

libuvc-theta-sample
I change the line (related to gst_loopback) of gst_viewer.c to
pipe_proc = “nvv4l2decoder ! autovideoconvert !”
“video/x-raw,format=I420 ! identity drop-allocation=true !”
“nv3dsink device=/dev/video0 sync=false”;

./gst_viewer is running and I see the stream
./gst_loopback is running and I also see the video stream
./gst_loopback
Opening in BLOCKING MODE
Opening in BLOCKING MODE
start, hit any key to stop
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261

I’ve successfully installed the module v4l2loopback

~/ricoh/libuvc-theta-sample/gst$ lsmod
Module Size Used by
v4l2loopback 42831 0

when I run cvlc … I got a seg fault error …

ricoh/libuvc-theta-sample/gst$ cvlc v4l2:///dev/video0
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[000000557ba0cfd0] dummy interface: using the dummy interface module…
Opening in BLOCKING MODE
Segmentation fault (core dumped)

when I run v4l2-ctl --list-formats I do not see the camera

~/ricoh/libuvc-theta-sample/gst$ v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT

gst-launcher does not work neither…

~/ricoh/libuvc-theta-sample/gst$ gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,framerate=30/1 ! xvimagesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …

DOes someone could help me with that?

Thanks…

Please post:

  • the version of Jetpack you are using (or specify version of ROS)
  • link to the specific Jetson hardware you are using

I only have a Nano for testing due to my limited budget. I can’t replicate the problem.

Community member nickel110 developed a plug-in for gstreamer that bypassing v4l2loopback.

There is some additional information on the plug-in here: