Using Elgato Camlink Video Capture Card with Clara AGX

Hello, I am attempting to display the input from an USB Elgato 4K video capture card using gstreamer. My current issue is the command below outputs a black screen.

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=3840, height=2160 ! videoconvert ! autovideosink

This is the formatting output.

v4l2-ctl --device=/dev/video1 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
	Type: Video Capture

	[0]: 'NV12' (Y/CbCr 4:2:0)
		Size: Discrete 3840x2160
			Interval: Discrete 0.033s (30.000 fps)
	[1]: 'NV12' (Y/CbCr 4:2:0)
		Size: Discrete 3840x2160
			Interval: Discrete 0.033s (30.000 fps)
	[2]: 'YU12' (Planar YUV 4:2:0)
		Size: Discrete 3840x2160
			Interval: Discrete 0.033s (30.000 fps)

Would anyone know how to solve the black screen issue? Thank you for your help!

Hi,
Do you use IGX developer kit or AGX Xavier developer kit? Would like to confirm which platform you are using. And please share the release version.

I use the AGX Xavier developer kit and am on release version R35.

Hi,
Please try the command and see if camera preview is present:

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw, format=NV12, width=3840, height=2160 ! videoconvert ! video/x-raw,format=I420 ! xvimagesink sync=0

Or try to save to a video file and check if it is valid:

gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=100 ! video/x-raw, format=NV12, width=3840, height=2160 ! x264enc ! h264parse ! matroskamux ! filesink location=test.mkv

The camera preview creates a new window, but it is fully black and I cannot see the input video feed. Similarly the video file is empty after I run the command.

Hi,
The sensor driver looks not ready. Please check if it needs additional driver for the device. And you may try USB cameras. To check if the issue is specific to the device.

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