Hi ShaneCCC,
This is result
gst-launch-1.0 v4l2src --gst-debug=GST_DEBUG=*:3,v4l2src:5 device=/dev/video1 ! nvvidconv ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:00.069154460 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:300:gst_v4l2src_negotiate:<v4l2src0> caps of src: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)YV12, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)BGR, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB; video/x-raw, format=(string)RGB, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB
0:00:00.069308924 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:301:gst_v4l2src_negotiate:<v4l2src0> thiscaps: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)YV12, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1; video/x-raw, format=(string)BGR, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB; video/x-raw, format=(string)RGB, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)sRGB
New clock: GstSystemClock
0:00:00.069532572 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:309:gst_v4l2src_negotiate:<v4l2src0> caps of peer: video/x-raw(memory:NVMM), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }; video/x-raw, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }
0:00:00.069596220 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:310:gst_v4l2src_negotiate:<v4l2src0> peercaps: video/x-raw(memory:NVMM), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }; video/x-raw, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }
0:00:00.069643900 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:320:gst_v4l2src_negotiate:<v4l2src0> peer: video/x-raw(memory:NVMM), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }
0:00:00.069674812 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:321:gst_v4l2src_negotiate:<v4l2src0> ipcaps: video/x-raw(memory:NVMM), width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }
0:00:00.069714877 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:320:gst_v4l2src_negotiate:<v4l2src0> peer: video/x-raw, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }
0:00:00.069742077 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:321:gst_v4l2src_negotiate:<v4l2src0> ipcaps: video/x-raw, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], format=(string){ I420, I420_10LE, UYVY, YUY2, YVYU, NV12, GRAY8, BGRx, RGBA }
0:00:00.069787837 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:333:gst_v4l2src_negotiate:<v4l2src0> intersect: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1
0:00:00.069818173 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:334:gst_v4l2src_negotiate:<v4l2src0> icaps: video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1
0:00:00.069850493 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:256:gst_v4l2src_fixate:<v4l2src0> fixating caps video/x-raw, format=(string)I420, framerate=(fraction)[ 0/1, 2147483647/1 ], width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1
0:00:00.069885789 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:282:gst_v4l2src_fixate:<v4l2src0> fixated caps video/x-raw, format=(string)I420, framerate=(fraction)100/1, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1
0:00:00.069913565 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:384:gst_v4l2src_negotiate:<v4l2src0> fixated to: video/x-raw, format=(string)I420, framerate=(fraction)100/1, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1
0:00:00.069937853 4060 0x6396d0 DEBUG v4l2src gstv4l2src.c:385:gst_v4l2src_negotiate:<v4l2src0> caps: video/x-raw, format=(string)I420, framerate=(fraction)100/1, width=(int)1280, height=(int)720, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)2:4:7:1
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video1' cannot capture in the specified format
Additional debug info:
gstv4l2object.c(3482): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
<b>Tried to capture in YU12, but device returned format UYVY</b>
Execution ended after 0:00:00.000736354
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
It seem like format did not match.
Thanks and Best Regards,
Vu Nguyen