try adding a “-n” option to your make command. that will show you what command make wants to execute. that might help show what command is not found. usually i would have guessed that the makefile line would have looked something like:
all: gst_loopback gst_viewer
“make -n” gives gst_loopback gst_viewer
Hi @craig , could you please tell me why does the error “make: gst_viewer: Command not found ” come? Thanks!
No, it did not. I did a couple of edits, as mentioned in one of the replies . Finally, when I executed “make”, I got the error “make: gst_viewer: Command not found”. Thanks.
craig
May 6, 2021, 5:50pm
26
I recently recorded the process of downloading and compiling On Ubuntu 21.04 x86.
This is in addition to the previous video walkthrough with 20.04 (slightly older repo)
This is the build on Jetson Nano
I can try to show what works on common systems, but I am unable to help with your specific configuration as I cannot replicate the problem you have.
This person also has a problem with h264
opened 08:21AM - 06 May 21 UTC
closed 01:05AM - 07 May 21 UTC
Hello
I'm now trying to get Ubuntu to livestream with the "THETA Z1 51G"
…
But, both "gst / gst_viewer" and "gst / gst_loopback" become "Error: Internal data stream error."
What causes this ERR and how can it be resolved?
My environment is as follows.
****************************************
$ lsmod
~~
v4l2loopback 45056 0
~~
****************************************
$ glxinfo -B
~~
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
~~
****************************************
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
****************************************
$ ls
Makefile gst_viewer gst_viewer.o thetauvc.h v4l2loopback
gst_loopback gst_viewer.c thetauvc.c thetauvc.o
****************************************
$ ./gst_loopback
start, hit any key to stop
Error: Internal data stream error.
stop
****************************************
pmbhat
May 11, 2021, 4:42pm
27
Thank you for your response, @craig ! I copied the libuvc folder from libuvc-theta into the libuvc-theta-sample/gst folder, and it worked!
Do you know how I could get the livestream in ROS?
Thanks!
craig
May 11, 2021, 6:03pm
28
Great to hear that you have it working.
Do you have libuvc.h in /usr/local/include/libuvc ?
You also need the libuvc libraries in /usr/local/lib (default install location)
In /etc/ld.so.conf/, one of the files should have /usr/local/lib
If it wasn’t there before, and you added it, you need to run sudo ldconfig
Example of streaming from one ROS node to another.
Examples - RICOH THETA Development on Linux
Use the example from zdydek