I made the change you recommended to gst_viewer.c
and recompiled with and rebuilt with make
.
I don’t perceive any difference:
What I did:
- made the change to
video0
ings_viewer.c
- ran
make
- manually loaded the module with
sudo modprobe v4l2loopback
What I see is:
-
gst_viewer
still works; I can see the video stream on screen - both
/dev/v4l2loopback
and/dev/video0
are present -
ls -1 /sys/devices/virtual/video4linux
returns:video0
However:
- The gst-launch command still stops as before
-
v4l2-ctl --list-formats-ext --device /dev/video0
still returnsioctl: VIDIOC_ENUM_FMT
as before - OBS still does not see the video device
Another test I performed was to run libuvc-theta-sample/gst/gst_loopback
:
ali@ali-nano:~/Documents/Dev/libuvc-theta-sample/gst$ ./gst_loopback
start, hit any key to stop
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
Error: Internal data stream error.
stop
Something I have noticed all along is that the OBS recognizes the microphone on the Theta V and I do get sound input; but no video.
What do you think?