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)


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.

Greivin F.

1 Like

hello ntensor,

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

$ gst-inspect-1.0 -b
Blacklisted files:

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:

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.

i installed jetpack 4.4.1 and cv2.VideoCapture( ‘nvarguscamerasrc …’ ) it is ok.
but after rebuild opencv 4.1.1 with CUDA … and cv2.VideoCapture( ‘nvarguscamerasrc …’ ) it does not work.
error message : no element nvarguscamerasrc .
what happen?

1 Like

If your gst-inspect is still able to find nvarguscamerasrc. Then I would suspect your new opencv does not build with gstreamer.

I have the same problem as ntensor.
Could you tell me how to solve it

Hi 1902203898,

Please help to open a new topic if still an issue. Thanks

I have solved this problem by reinstalling jetpack 4.4.1. I think some files may be destroyed before.Or maybe I installed it in Chinese that causing the problem.