pipeline could not be constructed: no element "nvarguscamerasrc"

How is nvarguscamerasrc installed? I’m trying to connect and stream from a CSI camera (IMX219 https://www.amazon.com/gp/product/B07VFFRX4C/). I have OpenCV 3.3.1 installed, but can’t seem to get any pipeline with nvarguscamerasrc (or nvcamerasrc) to work.

Trying the following code from

$ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=616' ! nvvidconv ! nvegltransform ! nveglglessink -e
ERROR: pipeline could not be constructed: no element "nvarguscamerasrc".

(This also occurs with $ gst-launch-1.0 nvarguscamerasrc)

Thanks!

Hi ntensor,

Please check for blacklisted elements, nvarguscamerasrc may be blacklisted by Gstreamer.

gst-inspect-1.0 -b

Nvarguscamerasrc should be enabled by default after flashing with SDK manager.

Regards,
Greivin F.

1 Like

hello ntensor,

nvarguscamerasrc should be installed by default,
please also share which JetPack release you’re working,
thanks

$ gst-inspect-1.0 -b
Blacklisted files:
  libgstnvvideo4linux2.so
  libgstnvvidconv.so
  libgstnvjpeg.so
  libgstnvcompositor.so
  libgstnvarguscamerasrc.so
  libgstnvivafilter.so
  libgstnvvideoconvert.so
  libgstnvvideosinks.so
  libgstomx.so

Total count: 9 blacklisted files

Not sure what version of Jetpack is installed, I flashed it about a month or so ago. I guess I need to reflash?

I just have a blacklist

Blacklisted files:
  libgstopencv.so

Total count: 1 blacklisted file

But nvarguscamerasrc doesn’t work for me.

ERROR: pipeline could not be constructed: no element "nvarguscamerasrc".

How could I install it or add it to gstreamer without SDK manager

hello barzanhayati,

nvarguscamerasrc was included in JetPack OS image, it’s an interface and you may found pre-built library named libgstnvarguscamerasrc.so

however, you may access L4T Multimedia API to build samples for executing camera frames.
for an alternative approach, you may also download L4T Sources, and untar nvgstapps_src.tbz2 to work with nvgstcapture-1.0.

please also refer to documentation, L4T Multimedia API Reference for more details.
thanks