How to setup nano for camera input

Hi. So I have completed the initial setup. I can’t get input from my camera.
the manufacturer has the following code:
DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1’ ! nvoverlaysink -e

when I run it, i get these errors:
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:751 Failed to create CaptureSession
Got EOS from element “pipeline0”.

I know it regognizes the camera, since when i run
ls /dev/video*, it returns video0

I tried using a different sink, and I installed the updates with this:
sudo apt update
sudo apt install gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly

the code uses an HDMI LCD display, but I want to use my computer to display this, so thats already the first issue. The second issue is a need for another interface. Apparently, I need a graphical interface, not a ubuntu text interface. How can this be done?
Can someone guide me in installing the libraries,interface, and dependencies to have this work? I am new to this and my goal is to learn opencv and c++ with the nano.

What’s your camera?

v4l2-ctl --all

Its a stereo camera called the IMX210-83 Stereo Camera, with two IMX219’s joined together. I think they are treated as different cameras. The link below is the setup and info page. The example in the link uses an LCD display for output, but I want it to display on my computer.

Confirm below command due to nvoverlaysink was deprecated.
And for preview on your host, please check the RTSP via network.

DISPLAY=:0.0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=3280, height=2464, format=(string)NV12, framerate=(fraction)20/1' ! nvvidconv ! xvimagesink sync=false

How can I do that? Please guide me on RTSP, and what I should do to get it running.

Please search the RTSP in this forum to get much detail information.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.