erroneous pipeline: no element "nvcamerasrc"

Hi I’m using Jetson TX2 with the newest Jetpack 4.2, and I want to test my onboard camera, because I also failed to open my GoPro Camera on Tx2. With this command :

gst-launch-1.0 nvcamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -ev

I got following error

WARNING: erroneous pipeline: no element "nvcamerasrc"

Any solution?

nvcamerasrc is deprecated. Use nvarguscamerasrc instead.

Hi,
Please check if GoPro Hero 5 is a valid USB camera first:
https://devtalk.nvidia.com/default/topic/1050691/jetson-tx2/gopro-camera-not-working-in-jetson-tx2/post/5332502/#5332502

Not sure if GoPro is a good USB camera, but obviously it is not a Bayer camera, hence cannot run nvarguscamerasrc.

@Honey_Patouceul Thanks it works. 1 question, after enter that command it will enter full screen, and I couldn’t exit the full screen mode except by resetting the board. Any tips?

You may maximize the terminal where you launch the pipeline. Don’t click mouse that could change the focused window, so typing Ctrl-C will be catched by the terminal and close the pipeline.
Alternately, you can use xvimagesink display if you are running the GUI:

gst-launch-1.0 nvcamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvvidconv ! xvimagesink

@Honey_Patouceul Thanks! Works like charm. Now I only need to figure out how to open my GoPro camera

If your GoPro camera is plugged in and has video node /dev/video1, what gives:

v4l2-ctl -d /dev/video1 --list-formats-ext

(v4l2-ctl is provided by package v4l-utils, you can install it with apt).

@Honey_Patouceul it gives :

ioctl: VIDIOC_ENUM_FMT
	Index       : 0
	Type        : Video Capture
	Pixel Format: 'YUYV'
	Name        : YUYV 4:2:2
		Size: Discrete 640x360
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 640x480
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 720x480
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 720x576
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 768x576
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 800x600
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 856x480
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 960x540
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1024x576
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1024x768
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1280x720
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1280x800
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1280x960
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1280x1024
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1368x768
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1440x900
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1600x1200
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1680x1050
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1920x1080
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)
		Size: Discrete 1920x1200
			Interval: Discrete 0.017s (60.000 fps)
			Interval: Discrete 0.017s (59.940 fps)
			Interval: Discrete 0.020s (50.000 fps)
			Interval: Discrete 0.033s (30.000 fps)
			Interval: Discrete 0.033s (29.970 fps)
			Interval: Discrete 0.040s (25.000 fps)

I already made separate topic for that, but still no luck https://devtalk.nvidia.com/default/topic/1050691/jetson-tx2/gopro-camera-not-working-in-jetson-tx2/post/5332502/#5332502