Error while capturing I420 with v4l2src

Hi all,

I’m trying to capture I420 with a webcam on the Xavier. I’m using Logitech, Inc. HD Pro Webcam C920.
The following pipeline works fine on x86, TX1 and TX2:

gst-launch-1.0 v4l2src device=/dev/video1 ! "video/x-raw, width=1920, height=1080, format=I420" ! queue ! xvimagesink

But it fails on Xavier with:

streaming stopped, reason not-negotiated (-4)

Analyzing the Gstreamer debug output, I figured that v4l2src is not exposing all the webcam capture formats. I need to capture on I420 bacause it is the only raw format that this webcam outputs at 1080p 30 fps.

Is this a known problem? Is there a work around?

Thanks.

Hi miguel,
The gstreamer vision has been upgraded to 1.14.1. Looks like v4l2src does not do internal format conversion now.
Please run

$ gst-launch-1.0 v4l2src device=/dev/video1 ! "image/jpeg,width=1920,height=1080" ! jpegdec ! queue ! xvimagesink