Nvarguscamerasrc, nvoverlaysink missing?

I just attached a couple of RPi cameras to my Orin Nano dev kit, and I’m able to use the sample python code at this repo to display the camera output.

But it also shows using commands and plug-ins that I don’t seem to have on my system and googling them all I find is to install gstreamer, but a) I seem to already have that installed, and b) I can’t find clear instructions for how to install it (there are a LOT of libraries with suspicious names).

That repo suggests these commands, but on my machine they fail like this:

$ nvarguscamerasrc sensor_id=0
-bash: nvarguscamerasrc: command not found

$ gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! nvoverlaysink
WARNING: erroneous pipeline: no element "nvoverlaysink"

Is there some package I should install?

hello rmann,

it’s deprecated.
you may try using below to enable camera preview display.
for example, $ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),framerate=30/1,format=NV12' ! nvvidconv ! xvimagesink

please see-also developer guide, Accelerated GStreamer for more sample pipelines.
thaks

Oh! That explains it then, thanks. That command seemed to work. I’ll check out the link. Thank you!

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