The above test (where the webcam worked) was with 5.15.0-40-generic (5.15.0-40.43). With 5.17.0-1012-oem #13-Ubuntu, gst-launch-1.0, firefox and chromium detect and can open the webcam but fail. Chromium says "The video track in paused". Firefox says the webcam shows a one-color filling, it streams video as a static image and has low frame rate. "GST_DEBUG=2,v4l2src:5 gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink" hangs with a black window while saying:
The above test (where the webcam worked) was with 5.15.0-40-generic (5.15.0-40.43). With 5.17.0-1012-oem #13-Ubuntu, gst-launch-1.0, firefox and chromium detect and can open the webcam but fail. Chromium says "The video track in paused". Firefox says the webcam shows a one-color filling, it streams video as a static image and has low frame rate. "GST_DEBUG= 2,v4l2src: 5 gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink" hangs with a black window while saying:
Setting pipeline to PAUSED ... c:550:gst_ v4l2src_ query_preferred _size:< v4l2src0> Detect input 0 as `loopback` c:601:gst_ v4l2src_ negotiate: <v4l2src0> caps of src: video/x-raw, format= (string) YUY2, width=(int)1280, height=(int)720, framerate= (fraction) 30/1; video/x- raw(format: Interlaced) , format= (string) YUY2, width=(int)1280, height=(int)720, framerate= (fraction) 30/1, interlace- mode=(string) alternate c:609:gst_ v4l2src_ negotiate: <v4l2src0> caps of peer: video/x-raw, format= (string) YV12, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate= (fraction) [ 0/1, 2147483647/1 ]; video/x-raw, format= (string) I420, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate= (fraction) [ 0/1, 2147483647/1 ]; video/x-raw, format= (string) NV12, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate= (fraction) [ 0/1, 2147483647/1 ]; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], framerate= (fraction) [ 0/1, 2147483647/1 ], format=(string){ ABGR64_LE, BGRA64_LE, AYUV64, ARGB64_LE, ARGB64, RGBA64_LE, ABGR64_BE, BGRA64_BE, ARGB64_BE, RGBA64_BE, GBRA_12LE, GBRA_12BE, Y412_LE, Y412_BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, GBRA, ABGR, VUYA, BGRA, AYUV, ARGB, RGBA, A420, AV12, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, Y444, RGBP, GBR, BGRP, NV24, xBGR, BGRx, xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, YV12, NV21, NV12, NV12_64Z32, NV12_4L4, NV12_32L32, Y41B, IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8 } c:615:gst_ v4l2src_ negotiate: <v4l2src0> intersect: video/x-raw, width=(int)1280, height=(int)720, framerate= (fraction) 30/1, format=(string)YUY2 c:406:gst_ v4l2src_ fixate: <v4l2src0> Fixating caps video/x-raw, width=(int)1280, height=(int)720, framerate= (fraction) 30/1, format=(string)YUY2 c:407:gst_ v4l2src_ fixate: <v4l2src0> Preferred size 3840x2160 c:430:gst_ v4l2src_ fixate: <v4l2src0> sorted and normalized caps video/x-raw, width=(int)1280, height=(int)720, framerate= (fraction) 30/1, format=(string)YUY2 c:488:gst_ v4l2src_ fixate: <v4l2src0> fixated caps video/x-raw, width=(int)1280, height=(int)720, framerate= (fraction) 30/1, format= (string) YUY2, interlace- mode=(string) progressive, colorimetry= (string) 2:4:7:1 c:647:gst_ v4l2src_ negotiate: <v4l2src0> fixated to: video/x-raw, width=(int)1280, height=(int)720, framerate= (fraction) 30/1, format= (string) YUY2, interlace- mode=(string) progressive, colorimetry= (string) 2:4:7:1 c:1049: gst_v4l2src_ create: <v4l2src0> ts: 0:10:15.901584000 now 0:10:15.901765719 delay 0:00:00.000181719 c:814:gst_ v4l2src_ query:< v4l2src0> report latency min 0:00:00.033333333 max 0:00:00.066666666 c:814:gst_ v4l2src_ query:< v4l2src0> report latency min 0:00:00.033333333 max 0:00:00.066666666
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
0:00:00.017008892 12697 0x5606205b31e0 INFO v4l2src gstv4l2src.
0:00:00.017102764 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017322363 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017356962 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017372396 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017378765 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017397150 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017439280 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
0:00:00.017447392 12697 0x5606205b31e0 INFO v4l2src gstv4l2src.
0:00:00.019053183 12697 0x5606205b31e0 DEBUG v4l2src gstv4l2src.
Redistribute latency...
0:00:00.025330717 12697 0x5606205b3580 DEBUG v4l2src gstv4l2src.
0:00:00.025385278 12697 0x560620595a10 DEBUG v4l2src gstv4l2src.
v4l2-relay says:
juil. 03 12:19:51 -XPS-9320 systemd[1]: Started v4l2-relay daemon service. 1BG203N3_ ADL.aiqb 1BG203N3_ ADL.aiqb 1BG203N3_ ADL.aiqb 1BG203N3_ ADL.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.805] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.807] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.807] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.807] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.807] CamHAL[INF] aiqb file name OV02C10_
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.808] CamHAL[INF] aiqb file name OV02C10_
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.808] CamHAL[ERR] Failed to find DevName for cameraId: 0, get video node: ov01a10 , devname: /dev/v4l-subdev1
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.812] CamHAL[ERR] MediaControl init failed
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.953] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.953] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.953] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.954] CamHAL[INF] aiqb file name ov01a10.aiqb
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.954] CamHAL[INF] aiqb file name OV02C10_
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.954] CamHAL[INF] aiqb file name OV02C10_
juil. 03 12:21:50 -XPS-9320 sh[1311]: [07-03 12:20:36.954] CamHAL[INF] <id0> has already opened