[i.MX 8M] How to use multi webcam when using USB3.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX 8M] How to use multi webcam when using USB3.0

Jump to solution
7,085 Views
xoduddk123
Contributor II

I have the MCIMX8M-EVKB.
The OS I use is L4.14.98_2.0.0.

I also have two USB Webcams.
My goal is to play several USB Webcams using USB3.0 of MCIMX8M-EVKB.

I connected the USB3.0 hub to the USB3.0 connector.
And I connected my USB Webcam to USB3.0 hub.

Since MCIMX8M-EVKB supports USB3.0, i expected that two webcams will be displayed.
However, when i play the second webcam, an error occurs.

debug console
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 5, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 7, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 10, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 2: Dev 16, If 3, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 2: Dev 16, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 2: Dev 16, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 2: Dev 16, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 15, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 15, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 15, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 3: Dev 15, If 3, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 4: Dev 13, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 14, If 0, Class=Hub, Driver=hub/4p, 480M
root@imx8mqevk:~#
root@imx8mqevk:~# ls /dev/video*
/dev/video0 /dev/video1 /dev/video2 /dev/video3
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! waylandsink name=sink window-width=320 window-height=240 &
[1] 3986
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video3 ! waylandsink name=sink window-width=320 window-height=240
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 40.968368] usb 1-1.3: Not enough bandwidth for new device state.
[ 40.975277] usb 1-1.3: Not enough bandwidth for altsetting 5
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../../../git/sys/v4l2/gstv4l2src.c(658): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.021582481
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mqevk:~#
root@imx8mqevk:~#

I expected the MCIMX8M-EVKB to play multiple webcams because it supports USB3.0.
How do I play multiple webcams using MCIMX8M-EVKB?


Below is my test.

pastedImage_3.png

I'm sorry I do not have enough English. :smileyhappy:
Thank you.

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
6,253 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Kwon,

That’s part of the expected behavior. USB 3.0 Hosts should be backward compatible with USB 2.0, including a complementary USB 2.0 controller when not using the USB 3.0 exclusive pins; so, USB 3.0 peripherals are logically attached to USB 3.0 controller, and USB 2.0 peripherals to USB 2.0 controller.

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
4 Replies
6,253 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Kwon,

Having a USB 3.0 Host controller is irrelevant (in terms of transfer speed) when connecting USB 2.0 Devices, because it will operate in backward compatible mode (USB 2.0 HS, as indicated on the log ->“480M”).

You could take a look to the following Community document for useful related information:

Using a USB Camera with GStreamer 

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 Kudos
Reply
6,253 Views
xoduddk123
Contributor II

Hi. CarlosCasillas‌,

I have tested with USB 2.0 camera and USB 3.0 Stroage.
The USB 3.0 device was recognized on Bus 02(5000M).
The USB 2.0 device was recognized on Bus 01(480M).

[USB 3.0 Storage]
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
root@imx8mqevk:~#
root@imx8mqevk:~# [ 175.264213] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 175.303946] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 175.313246] scsi host0: usb-storage 2-1:1.0
[ 176.560468] scsi 0:0:0:0: Direct-Access Samsung Flash Drive 1100 PQ: 0 ANSI: 6
[ 176.569981] sd 0:0:0:0: [sda] 62652416 512-byte logical blocks: (32.1 GB/29.9 GiB)
[ 176.578229] sd 0:0:0:0: [sda] Write Protect is off
[ 176.583738] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 176.597723] sda: sda1
[ 176.603107] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 176.805196] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
root@imx8mqevk:~#

[USB 2.0 Camera]

root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
root@imx8mqevk:~#
root@imx8mqevk:~#
[ 25.796517] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 25.997112] uvcvideo: Found UVC 1.00 device USB2.0 Camera (1871:0142)
[ 26.005196] uvcvideo 1-1:1.0: Entity type for entity Extension 4 was not initialized!
[ 26.013170] uvcvideo 1-1:1.0: Entity type for entity Processing 3 was not initialized!
[ 26.021266] uvcvideo 1-1:1.0: Entity type for entity Camera 1 was not initialized!
[ 26.029475] input: USB2.0 Camera: USB2.0 Camera as /devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/input/input3
[ 26.042960] usbcore: registered new interface driver uvcvideo
[ 26.048916] USB Video Class driver (1.1.1)
[ 26.331168] usb 1-1: 3:1: cannot get freq at ep 0x84
[ 26.343089] usb 1-1: Warning! Unlikely big volume range (=8191), cval->res is probably wrong.
[ 26.351695] usb 1-1: [3] FU [Mic Capture Volume] ch = 1, val = 0/8191/1
[ 26.359142] usbcore: registered new interface driver snd-usb-audio
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 2, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
root@imx8mqevk:~#

[USB 3.0 Hub + USB 3.0 Storage]

root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
root@imx8mqevk:~#
[ 28.380822] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 28.605308] hub 1-1:1.0: USB hub found
[ 28.609348] hub 1-1:1.0: 4 ports detected
[ 28.701416] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 28.765380] hub 2-1:1.0: USB hub found
[ 28.769441] hub 2-1:1.0: 4 ports detected
[ 29.722149] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 29.812402] usb 2-1.4: new SuperSpeed USB device number 3 using xhci-hcd
[ 29.886194] hub 2-1.4:1.0: USB hub found
[ 29.890436] hub 2-1.4:1.0: 4 ports detected
[ 31.193377] usb 2-1.4.4: new SuperSpeed USB device number 4 using xhci-hcd
[ 31.276604] hub 2-1.4.4:1.0: USB hub found
[ 31.281014] hub 2-1.4.4:1.0: 4 ports detected
[ 31.484761] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[ 31.612192] hub 1-1.4:1.0: USB hub found
[ 31.616650] hub 1-1.4:1.0: 4 ports detected
[ 31.936802] usb 1-1.4.4: new high-speed USB device number 6 using xhci-hcd
[ 32.061282] hub 1-1.4.4:1.0: USB hub found
[ 32.065778] hub 1-1.4.4:1.0: 4 ports detected
root@imx8mqevk:~#
[ 52.585588] usb 2-1.4.4.1: new SuperSpeed USB device number 5 using xhci-hcd
[ 52.631598] usb-storage 2-1.4.4.1:1.0: USB Mass Storage device detected
[ 52.641624] scsi host0: usb-storage 2-1.4.4.1:1.0
[ 53.905844] scsi 0:0:0:0: Direct-Access Samsung Flash Drive 1100 PQ: 0 ANSI: 6
[ 53.915390] sd 0:0:0:0: [sda] 62652416 512-byte logical blocks: (32.1 GB/29.9 GiB)
[ 53.923623] sd 0:0:0:0: [sda] Write Protect is off
[ 53.929395] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 53.943434] sda: sda1
[ 53.948665] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 54.138879] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 5, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
root@imx8mqevk:~#

[USB 3.0 Hub + USB 3.0 Storage]
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
root@imx8mqevk:~#
[ 39.649175] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 39.860893] hub 1-1:1.0: USB hub found
[ 39.865008] hub 1-1:1.0: 4 ports detected
[ 39.965802] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 40.038582] hub 2-1:1.0: USB hub found
[ 40.042641] hub 2-1:1.0: 4 ports detected
[ 40.975264] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
[ 41.064826] usb 2-1.4: new SuperSpeed USB device number 3 using xhci-hcd
[ 41.141260] hub 2-1.4:1.0: USB hub found
[ 41.145574] hub 2-1.4:1.0: 4 ports detected
[ 42.453736] usb 2-1.4.4: new SuperSpeed USB device number 4 using xhci-hcd
[ 42.534252] hub 2-1.4.4:1.0: USB hub found
[ 42.538672] hub 2-1.4.4:1.0: 4 ports detected
[ 42.753178] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[ 42.901732] hub 1-1.4:1.0: USB hub found
[ 42.906490] hub 1-1.4:1.0: 4 ports detected
[ 43.237166] usb 1-1.4.4: new high-speed USB device number 6 using xhci-hcd
[ 43.381829] hub 1-1.4.4:1.0: USB hub found
[ 43.386267] hub 1-1.4.4:1.0: 4 ports detected
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
root@imx8mqevk:~#
[ 58.940643] usb 1-1.4.4.1: new high-speed USB device number 7 using xhci-hcd
[ 59.114568] uvcvideo: Found UVC 1.00 device USB2.0 Camera (1871:0142)
[ 59.122553] uvcvideo 1-1.4.4.1:1.0: Entity type for entity Extension 4 was not initialized!
[ 59.131070] uvcvideo 1-1.4.4.1:1.0: Entity type for entity Processing 3 was not initialized!
[ 59.139748] uvcvideo 1-1.4.4.1:1.0: Entity type for entity Camera 1 was not initialized!
[ 59.148381] input: USB2.0 Camera: USB2.0 Camera as /devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4.1/1-1.4.4.1:1.0/input/input3
[ 59.164703] usbcore: registered new interface driver uvcvideo
[ 59.170615] USB Video Class driver (1.1.1)
[ 59.462023] usb 1-1.4.4.1: 3:1: cannot get freq at ep 0x84
[ 59.477920] usb 1-1.4.4.1: Warning! Unlikely big volume range (=8191), cval->res is probably wrong.
[ 59.487162] usb 1-1.4.4.1: [3] FU [Mic Capture Volume] ch = 1, val = 0/8191/1
[ 59.495935] usbcore: registered new interface driver snd-usb-audio
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 7, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 7, If 3, Class=Audio, Driver=snd-usb-audio, 480M
root@imx8mqevk:~#


I have connected a USB2.0, 3.0 device to the same port, but the bus number will be different.
I was thinking of the bus in lsusb as physical port information.
Does the i.MX 8 automatically change bus depending on USB 2.0, 3.0?
Or is this normal operation of Linux USB 3.0?

I will buy and test a USB 3.0 camera.
After the test, I will add a comment here.:smileyhappy:

0 Kudos
Reply
6,254 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Kwon,

That’s part of the expected behavior. USB 3.0 Hosts should be backward compatible with USB 2.0, including a complementary USB 2.0 controller when not using the USB 3.0 exclusive pins; so, USB 3.0 peripherals are logically attached to USB 3.0 controller, and USB 2.0 peripherals to USB 2.0 controller.

Hope this will be useful for you.
Best regards!
/Carlos
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

-------------------------------------------------------------------------------

0 Kudos
Reply
6,253 Views
xoduddk123
Contributor II

Hi CarlosCasillas

The USB 3.0 camera arrived and tested and shared the results.
I bought two USB 3.0 cameras.
https://www.aliexpress.com/item/32900431061.html?spm=a2g0s.9042311.0.0.5e294c4dORsvEH

aaa.png


USB 3.0 webcam x 2

The USB 3.0 camera was recognized on the 5000M bus.
Even if i try to play two USB 3.0 cameras, the same "Not enough bandwidth for new device state" error occurred and playback did not work.

USB 3.0 webcam x 2

root@imx8mqevk:~#
root@imx8mqevk:~# ls /dev/video*
/dev/video0 /dev/video1 /dev/video2 /dev/video3
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 7, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 7, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 5, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 5, If 0, Class=Video, Driver=uvcvideo, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=2
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=3
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! waylandsink name=sink window-width=640 window-height=480 &
[1] 3961
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 347.065233] usb 2-1.4.4.1: WARN: Max Exit Latency too large
[ 347.070844] usb 2-1.4.4.1: Could not enable U1 link state, xHCI error -22.
[ 347.555943] audit: type=1006 audit(1550694601.460:3): pid=3967 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=2 res=1
root@imx8mqevk:~#
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw,width=640,height=480 ! waylandsink name=sink window-width=640 window-height=480
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 380.746197] usb 2-1.4.1: Not enough bandwidth for new device state.
[ 380.752631] usb 2-1.4.1: Not enough bandwidth for altsetting 17
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory.
Additional debug info:
../../../git/sys/v4l2/gstv4l2src.c(658): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.154576686
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mqevk:~#

USB 2.0 webcam + USB 3.0 webcam

Simultaneous playback of USB 2.0 webcam and USB 3.0 webcam was successful.
I tested the playback of a total of three cameras.
/dev/video0: MINISASTOCSI(MIPI-CSI Camera Module)
/dev/video2: USB 2.0 webcam
/dev/video3: USB 3.0 webcam

USB 2.0 webcam + USB 3.0 webcam

root@imx8mqevk:~# ls -al /dev/video*
crw-rw---- 1 root video 81, 0 Feb 20 20:24 /dev/video0
crw-rw---- 1 root video 81, 1 Feb 20 20:24 /dev/video1
crw-rw---- 1 root video 81, 2 Feb 20 21:11 /dev/video2
crw-rw---- 1 root video 81, 3 Feb 20 21:11 /dev/video3
root@imx8mqevk:~#
root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 3: Dev 5, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 3: Dev 5, If 1, Class=Video, Driver=uvcvideo, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 11, If 0, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 11, If 1, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 11, If 2, Class=Audio, Driver=snd-usb-audio, 480M
|__ Port 1: Dev 11, If 3, Class=Audio, Driver=snd-usb-audio, 480M
root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=0
[ 2839.547838] ov5640_mipi 1-003c: Please assign pixel format, width and height
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 720x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2592x1944
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 0x0

root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=2
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 352x288
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 176x144
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 160x120
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.050s (20.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)

root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=3
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,width=640,height=480 ! waylandsink name=sink window-width=640 window-height=480 &
[1] 4163
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video3 ! video/x-raw,width=640,height=480 ! waylandsink name=sink window-width=640 window-height=480 &
[2] 4185
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 3080.523213] usb 2-1.4.4.3: WARN: Max Exit Latency too large
[ 3080.528838] usb 2-1.4.4.3: Could not enable U1 link state, xHCI error -22.
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! waylandsink name=sink window-width=640 window-height=480 &
[3] 4196
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 3141.840638] ov5640_mipi 1-003c: s_stream: 1
[ 3142.037321] skip frame 1

3camera.png


USB 3.0(1920x1080) kernel error

I do not know why, but there is a slight problem with the playback of the USB 3.0 camera.
I purchased a USB 3.0 camera that supports a total of three resolutions (1920x1080, 1280x720, 640x480).

1280x720 and 640x480 are normal, but when playing back at 1920x1080, many error messages will be output as below.
And the overall system is very slow.
The output of the terminal was also very slow.

USB 3.0(1920x1080) kernel error 

root@imx8mqevk:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 5000M
|__ Port 1: Dev 5, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 1: Dev 5, If 1, Class=Video, Driver=uvcvideo, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 4: Dev 7, If 0, Class=Hub, Driver=hub/4p, 480M
root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=2
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! video/x-raw,width=1920,height=1080 ! waylandsink name=sink window-width=640 window-height=480
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
[ 57.929183] usb 2-1.4.4.1: WARN: Max Exit Latency too large
[ 57.934939] usb 2-1.4.4.1: Could not enable U1 link state, xHCI error -22.
[ 58.240416] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.324931] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.407900] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.414236] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 6 ep 2
[ 58.487849] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.494175] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 6 ep 2
[ 58.572811] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.650325] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.716991] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.802131] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.881978] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 58.888304] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 6 ep 2
[ 58.896969] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 58.907491] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 000000004493e050 trb-start 000000004493e060 trb-end 000000004493e060 seg-start 000000004493e000 seg-end 000000004493eff0
[ 59.012604] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.018940] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 6 ep 2
[ 59.094966] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.101299] xhci-hcd xhci-hcd.0.auto: WARN: HC couldn't access mem fast enough for slot 6 ep 2
[ 59.109964] xhci-hcd xhci-hcd.0.auto: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 1
[ 59.120485] xhci-hcd xhci-hcd.0.auto: Looking for event-dma 000000004493d680 trb-start 000000004493d690 trb-end 000000004493d690 seg-start 000000004493d000 seg-end 000000004493dff0
[ 59.155437] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:sink: A lot of buffers are being dropped.
Additional debug info:
../../../../git/libs/gst/base/gstbasesink.c(2902): gst_base_sink_i[ 59.227528] [CRTC:33:crtc-0] vblank wait timed out
[ 59.231337] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.232395] ------------[ cut here ]------------
[ 59.243045] WARNING: CPU: 2 PID: 3377 at /usr/src/kernel/drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
s_too_late (): /GstPipeline:pipel[ 59.256603] Modules linked in: uvcvideo crc32_ce crct10dif_ce qca6174(O) galcore(O)
[ 59.267125] CPU: 2 PID: 3377 Comm: kworker/u8:4 Tainted: G O 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea #1
[ 59.277469] Hardware name: Freescale i.MX8MQ EVK (DT)
[ 59.282526] Workqueue: dcss_nonblock_commit_wq dcss_commit_work
[ 59.288447] task: ffff8000b4528d80 task.stack: ffff0000217f8000
[ 59.294369] PC is at drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 59.301243] LR is at drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 59.308116] pc : [<ffff000008678068>] lr : [<ffff000008678068>] pstate: 40000145
[ 59.315509] sp : ffff0000217fbcd0
[ 59.318822] x29: ffff0000217fbcd0 x28: 000000000000038d
[ 59.324134] x27: 0000000000000000 x26: 0000000000000001
[ 59.329447] x25: 0000000000000038 x24: ffff8000b87b7800
[ 59.329930] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.334759] x23: 0000000000000001 x22: 0000000000000000
ine0/GstWaylandSink:sink:
There [ 59.346160] x21: ffff8000b5766700 x20: ffff8000b9090820
may be a timestamping problem, or[ 59.354333] x19: 0000000000000000 x18: 0000000000000010
[ 59.362505] x17: 0000000000000000 x16: 0000000000000000
[ 59.367816] x15: ffffffffffffffff x14: ffff0000896a5547
[ 59.373129] x13: ffff0000096a5555 x12: ffff0000094f8df8
[ 59.378441] x11: ffff00000862e478 x10: ffff0000217fb9f0
[ 59.383753] x9 : 0000000000000006 x8 : 206b6e616c627620
[ 59.389065] x7 : 5d302d637472633a x6 : 0000000000000003
[ 59.394377] x5 : 0000000000000000 x4 : 0000000000000000
[ 59.399690] x3 : 0000000000000000 x2 : ffff8000bdf8def0
[ 59.405002] x1 : ffff8000b4528d80 x0 : 0000000000000026
[ 59.410315] Call trace:
[ 59.412762] Exception stack(0xffff0000217fbb90 to 0xffff0000217fbcd0)
[ 59.419203] bb80: 0000000000000026 ffff8000b4528d80
[ 59.427032] bba0: ffff8000bdf8def0 0000000000000000 0000000000000000 0000000000000000
[ 59.434862] bbc0: 0000000000000003 5d302d637472633a 206b6e616c627620 0000000000000006
[ 59.440659] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.442693] bbe0: ffff0000217fb9f0 ffff00000862e478 ffff0000094f8df8 ffff0000096a5555
this computer is too slow.
[ 59.456608] bc00: ffff0000896a5547 ffffffffffffffff 0000000000000000 0000000000000000
[ 59.466953] bc20: 0000000000000010 0000000000000000 ffff8000b9090820 ffff8000b5766700
[ 59.474783] bc40: 0000000000000000 0000000000000001 ffff8000b87b7800 0000000000000038
[ 59.482611] bc60: 0000000000000001 0000000000000000 000000000000038d ffff0000217fbcd0
[ 59.490441] bc80: ffff000008678068 ffff0000217fbcd0 ffff000008678068 0000000040000145
[ 59.498269] bca0: ffff8000b89a9500 ffff8000b9090010 ffffffffffffffff 0000000000000000
[ 59.506097] bcc0: ffff0000217fbcd0 ffff000008678068
[ 59.510982] [<ffff000008678068>] drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 59.518901] [<ffff000008678094>] drm_atomic_helper_wait_for_vblanks+0x14/0x28
[ 59.526037] [<ffff0000086cdc1c>] dcss_drm_atomic_commit_tail+0xdc/0x158
[ 59.532649] [<ffff0000086cdf04>] dcss_commit_work+0xc/0x18
[ 59.535890] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.538137] [<ffff0000080e75ec>] process_one_work+0x1d4/0x348
[ 59.538143] [<ffff0000080e77a8>] worker_thread+0x48/0x470
[ 59.555369] [<ffff0000080edaac>] kthread+0x12c/0x130
[ 59.560334] [<ffff000008084ed8>] ret_from_fork+0x10/0x18
[ 59.565644] ---[ end trace 553746b18b27bd73 ]---
[ 59.618068] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.681182] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.742120] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.798561] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.859004] [CRTC:33:crtc-0] vblank wait timed out
[ 59.863241] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.863870] ------------[ cut here ]------------
[ 59.874532] WARNING: CPU: 1 PID: 3377 at /usr/src/kernel/drivers/gpu/drm/drm_atomic_helper.c:1240 drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 59.888090] Modules linked in: uvcvideo crc32_ce crct10dif_ce qca6174(O) galcore(O)
[ 59.895763] CPU: 1 PID: 3377 Comm: kworker/u8:4 Tainted: G W O 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea #1
[ 59.906107] Hardware name: Freescale i.MX8MQ EVK (DT)
[ 59.911165] Workqueue: dcss_nonblock_commit_wq dcss_commit_work
[ 59.916286] xhci-hcd xhci-hcd.0.auto: ERROR unknown event type 37
[ 59.917086] task: ffff8000b4528d80 task.stack: ffff0000217f8000
[ 59.917092] PC is at drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 59.935966] LR is at drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 59.942839] pc : [<ffff000008678068>] lr : [<ffff000008678068>] pstate: 40000145
[ 59.950231] sp : ffff0000217fbcd0
[ 59.953543] x29: ffff0000217fbcd0 x28: 000000000000039b
[ 59.958855] x27: 0000000000000000 x26: 0000000000000001
[ 59.964167] x25: 0000000000000038 x24: ffff8000b87b7800
[ 59.969479] x23: 0000000000000001 x22: 0000000000000000
[ 59.974791] x21: ffff8000b50c7900 x20: ffff8000b9090820
[ 59.980103] x19: 0000000000000000 x18: 0000000000000010
[ 59.985415] x17: 0000000000000000 x16: 0000000000000000
[ 59.990727] x15: ffffffffffffffff x14: ffff0000896a5547
[ 59.996039] x13: ffff0000096a5555 x12: ffff0000094f8df8
[ 60.001351] x11: ffff00000862e478 x10: ffff0000217fb9f0
[ 60.006662] x9 : 0000000000000006 x8 : 74696177206b6e61
[ 60.011974] x7 : 6c6276205d302d63 x6 : 0000000000000007
[ 60.017286] x5 : 0000000000000000 x4 : 0000000000000000
[ 60.022598] x3 : 0000000000000000 x2 : ffff8000bdf75ef0
[ 60.027909] x1 : ffff8000b4528d80 x0 : 0000000000000026
[ 60.033221] Call trace:
[ 60.035668] Exception stack(0xffff0000217fbb90 to 0xffff0000217fbcd0)
[ 60.042107] bb80: 0000000000000026 ffff8000b4528d80
[ 60.049935] bba0: ffff8000bdf75ef0 0000000000000000 0000000000000000 0000000000000000
[ 60.057763] bbc0: 0000000000000007 6c6276205d302d63 74696177206b6e61 0000000000000006
[ 60.065591] bbe0: ffff0000217fb9f0 ffff00000862e478 ffff0000094f8df8 ffff0000096a5555
[ 60.073419] bc00: ffff0000896a5547 ffffffffffffffff 0000000000000000 0000000000000000
[ 60.081248] bc20: 0000000000000010 0000000000000000 ffff8000b9090820 ffff8000b50c7900
[ 60.089076] bc40: 0000000000000000 0000000000000001 ffff8000b87b7800 0000000000000038
[ 60.096904] bc60: 0000000000000001 0000000000000000 000000000000039b ffff0000217fbcd0
[ 60.104733] bc80: ffff000008678068 ffff0000217fbcd0 ffff000008678068 0000000040000145
[ 60.112561] bca0: ffff8000b89a9500 ffff8000b9090010 ffffffffffffffff 0000000000000001
[ 60.120388] bcc0: ffff0000217fbcd0 ffff000008678068
[ 60.125267] [<ffff000008678068>] drm_atomic_helper_wait_for_vblanks.part.7+0x248/0x260
[ 60.133182] [<ffff000008678094>] drm_atomic_helper_wait_for_vblanks+0x14/0x28
[ 60.140316] [<ffff0000086cdc1c>] dcss_drm_atomic_commit_tail+0xdc/0x158
[ 60.146929] [<ffff0000086cdf04>] dcss_commit_work+0xc/0x18
[ 60.152416] [<ffff0000080e75ec>] process_one_work+0x1d4/0x348
[ 60.158160] [<ffff0000080e77a8>] worker_thread+0x48/0x470
[ 60.163559] [<ffff0000080edaac>] kthread+0x12c/0x130
[ 60.168524] [<ffff000008084ed8>] ret_from_fork+0x10/0x18
[ 60.173834] ---[ end trace 553746b18b27bd74 ]---
...
...
...
(repeat)
...
...

1920x1080.png

Webcam output in MJPEG format

The USB 3.0 camera I purchased supports the MJPEG format.
So I tried to play it in MJPEG format as follows.
However, an error occurred and playback did not work.
How do I play webcam in MJPEG format on i.MX 8M?
I looked for community posts, but I could not find a way.
Or do you have to write a new article because the topic is slightly different?

Webcam output in MJPEG format

root@imx8mqevk:~#
root@imx8mqevk:~# ls -al /dev/video*
crw-rw---- 1 root video 81, 0 Feb 20 20:24 /dev/video0
crw-rw---- 1 root video 81, 1 Feb 20 20:24 /dev/video1
crw-rw---- 1 root video 81, 2 Feb 20 20:24 /dev/video2
crw-rw---- 1 root video 81, 3 Feb 20 20:24 /dev/video3
root@imx8mqevk:~#
root@imx8mqevk:~# v4l2-ctl --list-formats-ext --device=2
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'MJPG' (compressed)
Name : Motion-JPEG
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)

Index : 1
Type : Video Capture
Pixel Format: 'YUYV'
Name : YUYV 4:2:2
Size: Discrete 1920x1080
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.017s (60.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
root@imx8mqevk:~#
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg,width=640,height=480,framerate=30/1 ! jpegparse ! jpegdec ! waylandsink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@imx8mqevk:~# ^C
root@imx8mqevk:~#
root@imx8mqevk:~# export GST_DEBUG=4
root@imx8mqevk:~# gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg,width=640,height=480,framerate=30/1 ! jpegparse ! jpegdec ! waylandsink
0:00:00.000209640 3957 0x21e27a00 INFO GST_INIT gst.c:586:init_pre: Initializing GStreamer Core Library version 1.14.4
0:00:00.000310920 3957 0x21e27a00 INFO GST_INIT gst.c:587:init_pre: Using library installed in /usr/lib
0:00:00.000360720 3957 0x21e27a00 INFO GST_INIT gst.c:607:init_pre: Linux imx8mqevk 4.14.98-imx_4.14.98_2.0.0_ga+g5d6cbea #1 SMP PREEMPT Sun Apr 14 10:53:57 UTC 2019 aarch64
0:00:00.001082400 3957 0x21e27a00 INFO GST_INIT gstmessage.c:127:_priv_gst_message_initialize: init messages
0:00:00.002602080 3957 0x21e27a00 INFO GST_INIT gstcontext.c:84:_priv_gst_context_initialize: init contexts
0:00:00.003170880 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:317:_priv_gst_plugin_initialize: registering 0 static plugins
0:00:00.003460440 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:225:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.003502320 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:227:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.003564000 3957 0x21e27a00 INFO GST_REGISTRY gstregistry.c:1727:ensure_current_registry: reading registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.029058601 3957 0x21e27a00 INFO GST_REGISTRY gstregistrybinary.c:621:priv_gst_registry_binary_read_cache: loaded /home/root/.cache/gstreamer-1.0/registry.aarch64.bin in 0.025404 seconds
0:00:00.029261281 3957 0x21e27a00 INFO GST_REGISTRY gstregistry.c:1583:scan_and_update_registry: Validating plugins from registry cache: /home/root/.cache/gstreamer-1.0/registry.aarch64.bin
0:00:00.036747721 3957 0x21e27a00 INFO GST_REGISTRY gstregistry.c:1685:scan_and_update_registry: Registry cache has not changed
0:00:00.036784081 3957 0x21e27a00 INFO GST_REGISTRY gstregistry.c:1762:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.036807841 3957 0x21e27a00 INFO GST_INIT gst.c:807:init_post: GLib runtime version: 2.54.3
0:00:00.036831601 3957 0x21e27a00 INFO GST_INIT gst.c:809:init_post: GLib headers version: 2.54.3
0:00:00.036849001 3957 0x21e27a00 INFO GST_INIT gst.c:810:init_post: initialized GStreamer successfully
0:00:00.036915241 3957 0x21e27a00 INFO GST_PIPELINE gstparse.c:337:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video2 ! image/jpeg,width=640,height=480,framerate=30/1 ! jpegparse ! jpegdec ! waylandsink '
0:00:00.436664418 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstvideo4linux2.so" loaded
0:00:00.436750578 3957 0x21e27a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "v4l2src"
0:00:00.440148138 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSrc@0x21fa0240> adding pad 'src'
0:00:00.441795018 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstjpegformat.so" loaded
0:00:00.441836058 3957 0x21e27a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "jpegparse"
0:00:00.442103658 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseParse@0x21fa5b70> adding pad 'sink'
0:00:00.442171698 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseParse@0x21fa5b70> adding pad 'src'
0:00:00.443332098 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstjpeg.so" loaded
0:00:00.443368578 3957 0x21e27a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "jpegdec"
0:00:00.443607498 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstVideoDecoder@0x21fabc60> adding pad 'sink'
0:00:00.443675658 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstVideoDecoder@0x21fabc60> adding pad 'src'
0:00:00.445513578 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstwaylandsink.so" loaded
0:00:00.445552218 3957 0x21e27a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "waylandsink"
0:00:00.446215338 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseSink@0x21fb4c70> adding pad 'sink'
0:00:00.446277858 3957 0x21e27a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "pipeline"
0:00:00.446522898 3957 0x21e27a00 INFO GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstV4l2Src named v4l2src0 to some pad of GstJpegParse named jpegparse0 (0/0) with caps "image/jpeg, width=(int)640, height=(int)480, framerate=(fraction)30/1"
0:00:00.447610218 3957 0x21e27a00 INFO GST_PLUGIN_LOADING gstplugin.c:901:_priv_gst_plugin_load_file_for_registry: plugin "/usr/lib/gstreamer-1.0/libgstcoreelements.so" loaded
0:00:00.447636258 3957 0x21e27a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:361:gst_element_factory_create: creating element "capsfilter"
0:00:00.447815898 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseTransform@0x21fbe200> adding pad 'sink'
0:00:00.447882018 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:670:gst_element_add_pad:<GstBaseTransform@0x21fbe200> adding pad 'src'
0:00:00.447925578 3957 0x21e27a00 INFO GST_STATES gstbin.c:2089:gst_bin_get_state_func:<pipeline0> getting state
0:00:00.805229672 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to NULL
0:00:00.805284512 3957 0x21e27a00 INFO GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
0:00:00.805337672 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element capsfilter0:sink
0:00:00.805379912 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:00.805417832 3957 0x21e27a00 INFO GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: v4l2src0 and capsfilter0 in same bin, no need for ghost pads
0:00:00.805478192 3957 0x21e27a00 INFO GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link v4l2src0:src and capsfilter0:sink
0:00:00.805539392 3957 0x21e27a00 INFO GST_PADS gstpad.c:4232:gst_pad_peer_query:<capsfilter0:src> pad has no peer
0:00:00.805599872 3957 0x21e27a00 INFO GST_PADS gstpad.c:2586:gst_pad_link_full: linked v4l2src0:src and capsfilter0:sink, successful
0:00:00.805629632 3957 0x21e27a00 INFO GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
0:00:00.805662272 3957 0x21e27a00 INFO GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<v4l2src0:src> Received event on flushing pad. Discarding
0:00:00.805728152 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element capsfilter0:src to element jpegparse0:(any)
0:00:00.805765232 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:920:gst_element_get_static_pad: found pad capsfilter0:src
0:00:00.805808192 3957 0x21e27a00 INFO GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link capsfilter0:src and jpegparse0:sink
0:00:00.805888112 3957 0x21e27a00 INFO GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: capsfilter0 and jpegparse0 in same bin, no need for ghost pads
0:00:00.805968752 3957 0x21e27a00 INFO GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link capsfilter0:src and jpegparse0:sink
0:00:00.806047712 3957 0x21e27a00 INFO GST_PADS gstpad.c:2586:gst_pad_link_full: linked capsfilter0:src and jpegparse0:sink, successful
0:00:00.806077592 3957 0x21e27a00 INFO GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
0:00:00.806107712 3957 0x21e27a00 INFO GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<capsfilter0:src> Received event on flushing pad. Discarding
0:00:00.806177792 3957 0x21e27a00 INFO GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstJpegParse named jpegparse0 to some pad of GstJpegDec named jpegdec0 (0/0) with caps "(NULL)"
0:00:00.806218712 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element jpegparse0:(any) to element jpegdec0:(any)
0:00:01.160400647 3957 0x21e27a00 INFO GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link jpegparse0:src and jpegdec0:sink
0:00:01.160460047 3957 0x21e27a00 INFO GST_PADS gstpad.c:4232:gst_pad_peer_query:<jpegdec0:src> pad has no peer
0:00:01.160560127 3957 0x21e27a00 INFO GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: jpegparse0 and jpegdec0 in same bin, no need for ghost pads
0:00:01.160610167 3957 0x21e27a00 INFO GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link jpegparse0:src and jpegdec0:sink
0:00:01.160657687 3957 0x21e27a00 INFO GST_PADS gstpad.c:4232:gst_pad_peer_query:<jpegdec0:src> pad has no peer
0:00:01.160735207 3957 0x21e27a00 INFO GST_PADS gstpad.c:2586:gst_pad_link_full: linked jpegparse0:src and jpegdec0:sink, successful
0:00:01.160764727 3957 0x21e27a00 INFO GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
0:00:01.160795207 3957 0x21e27a00 INFO GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<jpegparse0:src> Received event on flushing pad. Discarding
0:00:01.160861327 3957 0x21e27a00 INFO GST_PIPELINE grammar.y:652:gst_parse_perform_link: linking some pad of GstJpegDec named jpegdec0 to some pad of GstWaylandSink named waylandsink0 (0/0) with caps "(NULL)"
0:00:01.160901167 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstutils.c:1774:gst_element_link_pads_full: trying to link element jpegdec0:(any) to element waylandsink0:(any)
0:00:01.160943407 3957 0x21e27a00 INFO GST_PADS gstutils.c:1035:gst_pad_check_link: trying to link jpegdec0:src and waylandsink0:sink
0:00:01.161083927 3957 0x21e27a00 INFO GST_PADS gstutils.c:1588:prepare_link_maybe_ghosting: jpegdec0 and waylandsink0 in same bin, no need for ghost pads
0:00:01.161133367 3957 0x21e27a00 INFO GST_PADS gstpad.c:2378:gst_pad_link_prepare: trying to link jpegdec0:src and waylandsink0:sink
0:00:01.161263927 3957 0x21e27a00 INFO GST_PADS gstpad.c:2586:gst_pad_link_full: linked jpegdec0:src and waylandsink0:sink, successful
0:00:01.161293687 3957 0x21e27a00 INFO GST_EVENT gstevent.c:1517:gst_event_new_reconfigure: creating reconfigure event
0:00:01.161324167 3957 0x21e27a00 INFO GST_EVENT gstpad.c:5808:gst_pad_send_event_unchecked:<jpegdec0:src> Received event on flushing pad. Discarding
Setting pipeline to PAUSED ...
0:00:01.163222567 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current NULL pending VOID_PENDING, desired next READY
0:00:01.166284007 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<waylandsink0> completed state change to READY
0:00:01.166334287 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:01.519328701 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 2(READY) successfully
0:00:01.519386181 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegdec0> current NULL pending VOID_PENDING, desired next READY
0:00:01.519426621 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegdec0> completed state change to READY
0:00:01.519464301 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegdec0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:01.519514341 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegdec0' changed state to 2(READY) successfully
0:00:01.519561861 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegparse0> current NULL pending VOID_PENDING, desired next READY
0:00:01.519599781 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegparse0> completed state change to READY
0:00:01.519637101 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegparse0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:01.519687381 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegparse0' changed state to 2(READY) successfully
0:00:01.519736581 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<capsfilter0> current NULL pending VOID_PENDING, desired next READY
0:00:01.519774501 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to READY
0:00:01.519811461 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:01.519869061 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 2(READY) successfully
0:00:01.519912501 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<v4l2src0> current NULL pending VOID_PENDING, desired next READY
0:00:01.520251021 3957 0x21e27a00 INFO v4l2 v4l2_calls.c:625:gst_v4l2_open:<v4l2src0:src> Opened device '3.0 USB Camera: 3.0 USB Camera' (/dev/video2) successfully
0:00:01.520289781 3957 0x21e27a00 WARN v4l2 v4l2_calls.c:543:gst_v4l2_subscribe_event:<v4l2src0> Cannot subscribe V4L2_EVENT_SOURCE_CHANGE or V4L2_EVENT_EOS event for device '/dev/video2'.
0:00:01.520346421 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<v4l2src0> completed state change to READY
0:00:01.520386621 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:01.870351635 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 2(READY) successfully
0:00:01.870409235 3957 0x21e27a00 INFO GST_STATES gstelement.c:2651:gst_element_continue_state:<pipeline0> committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:01.870448475 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed NULL to READY (PAUSED pending)
0:00:01.870561635 3957 0x21e27a00 INFO GST_STATES gstelement.c:2658:gst_element_continue_state:<pipeline0> continue state change READY to PAUSED, final PAUSED
0:00:01.870632915 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.870700355 3957 0x21e27a00 INFO GST_STATES gstbin.c:2960:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' is changing state asynchronously to PAUSED
0:00:01.870748475 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegdec0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.870812435 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegdec0> completed state change to PAUSED
0:00:01.870850955 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegdec0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:01.870901355 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegdec0' changed state to 3(PAUSED) successfully
0:00:01.870947795 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegparse0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.871189955 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegparse0> completed state change to PAUSED
0:00:01.871232435 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegparse0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:01.871283795 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegparse0' changed state to 3(PAUSED) successfully
0:00:01.871330955 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<capsfilter0> current READY pending VOID_PENDING, desired next PAUSED
0:00:01.871386035 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:01.871424435 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.221123289 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 3(PAUSED) successfully
0:00:02.221191329 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<v4l2src0> current READY pending VOID_PENDING, desired next PAUSED
0:00:02.221288889 3957 0x21e27a00 INFO basesrc gstbasesrc.c:1358:gst_base_src_do_seek:<v4l2src0> seeking: time segment start=0:00:00.000000000, offset=0:00:00.000000000, stop=99:99:99.999999999, rate=1.000000, applied_rate=1.000000, flags=0x00, time=0:00:00.000000000, base=0:00:00.000000000, position 0:00:00.000000000, duration 99:99:99.999999999
0:00:02.221374089 3957 0x21e27a00 INFO task gsttask.c:457:gst_task_set_lock: setting stream lock 0x21fa2180 on task 0x21fa63b0
0:00:02.221409609 3957 0x21e27a00 INFO GST_PADS gstpad.c:6154:gst_pad_start_task:<v4l2src0:src> created task 0x21fa63b0
0:00:02.222022209 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<v4l2src0> completed state change to PAUSED
0:00:02.222065049 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.222117729 3957 0x21e27a00 INFO GST_STATES gstbin.c:2997:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll
0:00:02.222168849 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<pipeline0> completed state change to PAUSED
0:00:02.222207969 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to PAUSED (VOID_PENDING pending)
Pipeline is live and does not need PREROLL ...
0:00:02.222779769 3957 0x21fa4450 INFO GST_ELEMENT_PADS gstelement.c:917:gst_element_get_static_pad: no such pad 'sink' in element "v4l2src0"
0:00:02.222965769 3957 0x21fa4450 FIXME videodecoder gstvideodecoder.c:933:gst_video_decoder_drain_out:<jpegdec0> Sub-class should implement drain()
0:00:02.223086489 3957 0x21fa4450 INFO v4l2 gstv4l2object.c:1220:gst_v4l2_object_fill_format_list:<v4l2src0:src> got 2 format(s):
0:00:02.223132449 3957 0x21fa4450 INFO v4l2 gstv4l2object.c:1226:gst_v4l2_object_fill_format_list:<v4l2src0:src> YUYV
0:00:02.223168929 3957 0x21fa4450 INFO v4l2 gstv4l2object.c:1226:gst_v4l2_object_fill_format_list:<v4l2src0:src> MJPG
Setting pipeline to PLAYING ...
0:00:02.223461969 3957 0x21fa4450 INFO v4l2 gstv4l2object.c:4403:gst_v4l2_object_probe_caps:<v4l2src0:src> probed caps: video/x-raw, format=(string)YUY2, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; video/x-raw, format=(string)YUY2, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; image/jpeg, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; image/jpeg, width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1; image/jpeg, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
0:00:02.223680009 3957 0x21e27a00 INFO GST_EVENT gstevent.c:1388:gst_event_new_latency: creating latency event 0:00:00.000000000
0:00:02.577069464 3957 0x21e27a00 INFO bin gstbin.c:2783:gst_bin_do_latency_func:<pipeline0> configured latency of 0:00:00.000000000
0:00:02.577096224 3957 0x21fa4450 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop:<v4l2src0> error: Internal data stream error.
0:00:02.577131384 3957 0x21fa4450 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop:<v4l2src0> error: streaming stopped, reason not-negotiated (-4)
0:00:02.577153464 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current READY pending PAUSED, desired next PLAYING
0:00:02.577192944 3957 0x21fa4450 INFO GST_ERROR_SYSTEM gstelement.c:2145:gst_element_message_full_with_details:<v4l2src0> posting message: Internal data stream error.
0:00:02.577195104 3957 0x21e27a00 INFO GST_STATES gstbin.c:2960:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' is changing state asynchronously to PLAYING
0:00:02.577386264 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegdec0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:02.577390224 3957 0x21fa4450 INFO GST_ERROR_SYSTEM gstelement.c:2172:gst_element_message_full_with_details:<v4l2src0> posted error message: Internal data stream error.
0:00:02.577486824 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegdec0> completed state change to PLAYING
0:00:02.577526664 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegdec0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.577577904 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegdec0' changed state to 4(PLAYING) successfully
0:00:02.577625424 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegparse0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:02.577662984 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegparse0> completed state change to PLAYING
0:00:02.577700784 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegparse0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.577750584 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegparse0' changed state to 4(PLAYING) successfully
0:00:02.577796784 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<capsfilter0> current PAUSED pending VOID_PENDING, desired next PLAYING
0:00:02.931839758 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to PLAYING
0:00:02.931881518 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.931934318 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 4(PLAYING) successfully
0:00:02.931987838 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<v4l2src0> completed state change to PLAYING
0:00:02.932026838 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.932076998 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 4(PLAYING) successfully
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error.
Additional debug info:
../../../../git/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.000269880
Setting pipeline to PAUSED ...
0:00:02.932464598 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current PAUSED pending VOID_PENDING, desired next PAUSED
0:00:02.932503718 3957 0x21e27a00 INFO GST_STATES gstbin.c:2623:gst_bin_element_set_state:<waylandsink0> skipping transition from PAUSED to PAUSED
0:00:02.932542958 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 3(PAUSED) successfully
0:00:02.932588678 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegdec0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:02.932625758 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegdec0> completed state change to PAUSED
0:00:02.932663438 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegdec0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:02.932712998 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegdec0' changed state to 3(PAUSED) successfully
0:00:02.932759198 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegparse0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:02.932796638 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegparse0> completed state change to PAUSED
0:00:02.932833598 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegparse0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:03.287214252 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegparse0' changed state to 3(PAUSED) successfully
0:00:03.287265252 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<capsfilter0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:03.287304252 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to PAUSED
0:00:03.287342172 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:03.287391372 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 3(PAUSED) successfully
0:00:03.287434572 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<v4l2src0> current PLAYING pending VOID_PENDING, desired next PAUSED
0:00:03.287473212 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<v4l2src0> completed state change to PAUSED
0:00:03.287510772 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:03.287560212 3957 0x21e27a00 INFO GST_STATES gstbin.c:2997:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll
0:00:03.287601972 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<pipeline0> completed state change to PAUSED
Setting pipeline to READY ...
0:00:03.287706012 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current PAUSED pending VOID_PENDING, desired next READY
0:00:03.288350652 3957 0x21fa4450 INFO task gsttask.c:316:gst_task_func:<v4l2src0:src> Task going to paused
0:00:03.289628892 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<waylandsink0> completed state change to READY
0:00:03.289672092 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:03.289723692 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 2(READY) successfully
0:00:03.289771452 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegdec0> current PAUSED pending VOID_PENDING, desired next READY
0:00:03.289836372 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegdec0> completed state change to READY
0:00:03.289893372 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegdec0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:03.652099227 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegdec0' changed state to 2(READY) successfully
0:00:03.652151067 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegparse0> current PAUSED pending VOID_PENDING, desired next READY
0:00:03.652213347 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegparse0> completed state change to READY
0:00:03.652252827 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegparse0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:03.652303827 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegparse0' changed state to 2(READY) successfully
0:00:03.652350867 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<capsfilter0> current PAUSED pending VOID_PENDING, desired next READY
0:00:03.652410147 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to READY
0:00:03.652448427 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:03.652497987 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 2(READY) successfully
0:00:03.653082867 3957 0x21fa4450 INFO task gsttask.c:318:gst_task_func:<v4l2src0:src> Task resume from paused
0:00:03.653217507 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<v4l2src0> completed state change to READY
0:00:03.653258667 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:03.653309067 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 2(READY) successfully
0:00:03.653354787 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<pipeline0> completed state change to READY
0:00:03.653393307 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:03.653482827 3957 0x21e27a00 INFO GST_STATES gstbin.c:2089:gst_bin_get_state_func:<pipeline0> getting state
Setting pipeline to NULL ...
0:00:03.653574387 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<waylandsink0> current READY pending VOID_PENDING, desired next NULL
0:00:03.654092667 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<waylandsink0> completed state change to NULL
0:00:03.998795321 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<waylandsink0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:03.998852201 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'waylandsink0' changed state to 1(NULL) successfully
0:00:03.998902481 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegdec0> current READY pending VOID_PENDING, desired next NULL
0:00:03.998950241 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegdec0> completed state change to NULL
0:00:03.998988641 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegdec0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:03.999038201 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegdec0' changed state to 1(NULL) successfully
0:00:03.999084521 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<jpegparse0> current READY pending VOID_PENDING, desired next NULL
0:00:03.999130001 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<jpegparse0> completed state change to NULL
0:00:03.999168041 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<jpegparse0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:03.999228881 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'jpegparse0' changed state to 1(NULL) successfully
0:00:03.999275801 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<capsfilter0> current READY pending VOID_PENDING, desired next NULL
0:00:03.999320441 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<capsfilter0> completed state change to NULL
0:00:03.999358721 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<capsfilter0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:03.999408041 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'capsfilter0' changed state to 1(NULL) successfully
0:00:03.999451481 3957 0x21e27a00 INFO GST_STATES gstbin.c:2506:gst_bin_element_set_state:<v4l2src0> current READY pending VOID_PENDING, desired next NULL
0:00:03.999626561 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<v4l2src0> completed state change to NULL
0:00:03.999667361 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<v4l2src0> notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:03.999718001 3957 0x21e27a00 INFO GST_STATES gstbin.c:2954:gst_bin_change_state_func:<pipeline0> child 'v4l2src0' changed state to 1(NULL) successfully
0:00:04.347255415 3957 0x21e27a00 INFO GST_STATES gstelement.c:2676:gst_element_continue_state:<pipeline0> completed state change to NULL
0:00:04.347298255 3957 0x21e27a00 INFO GST_STATES gstelement.c:2579:_priv_gst_element_state_changed:<pipeline0> notifying about state-changed READY to NULL (VOID_PENDING pending)
Freeing pipeline ...
0:00:04.347399295 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking v4l2src0:src(0x21fa2110) and capsfilter0:sink(0x21fa2ef0)
0:00:04.347455935 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked v4l2src0:src and capsfilter0:sink
0:00:04.347515935 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking capsfilter0:src(0x21fa3140) and jpegparse0:sink(0x21fa2360)
0:00:04.347567055 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked capsfilter0:src and jpegparse0:sink
0:00:04.347614455 3957 0x21e27a00 INFO GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "capsfilter0"
0:00:04.347678415 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<capsfilter0> 0x21fbe200 dispose
0:00:04.347715615 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<capsfilter0> removing pad 'sink'
0:00:04.347778255 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<capsfilter0> removing pad 'src'
0:00:04.347824095 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<capsfilter0> 0x21fbe200 parent class dispose
0:00:04.347861055 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<capsfilter0> 0x21fbe200 finalize
0:00:04.347895855 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<capsfilter0> 0x21fbe200 finalize parent
0:00:04.347946975 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking jpegdec0:src(0x21fa2a50) and waylandsink0:sink(0x21fa2ca0)
0:00:04.347997735 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked jpegdec0:src and waylandsink0:sink
0:00:04.348048255 3957 0x21e27a00 INFO GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "waylandsink0"
0:00:04.348096735 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<waylandsink0> 0x21fb4c70 dispose
0:00:04.348132135 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<waylandsink0> removing pad 'sink'
0:00:04.348176655 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<waylandsink0> 0x21fb4c70 parent class dispose
0:00:04.348215055 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<waylandsink0> 0x21fb4c70 finalize
0:00:04.693438269 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<waylandsink0> 0x21fb4c70 finalize parent
0:00:04.693497069 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2134:gst_pad_unlink: unlinking jpegparse0:src(0x21fa25b0) and jpegdec0:sink(0x21fa2800)
0:00:04.693549989 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstpad.c:2188:gst_pad_unlink: unlinked jpegparse0:src and jpegdec0:sink
0:00:04.693603149 3957 0x21e27a00 INFO GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "jpegdec0"
0:00:04.693653549 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<jpegdec0> 0x21fabc60 dispose
0:00:04.693688709 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<jpegdec0> removing pad 'sink'
0:00:04.693732749 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<jpegdec0> removing pad 'src'
0:00:04.693777389 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<jpegdec0> 0x21fabc60 parent class dispose
0:00:04.693829109 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<jpegdec0> 0x21fabc60 finalize
0:00:04.693864989 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<jpegdec0> 0x21fabc60 finalize parent
0:00:04.693938429 3957 0x21e27a00 INFO GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "jpegparse0"
0:00:04.693989429 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<jpegparse0> 0x21fa5b70 dispose
0:00:04.694024229 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<jpegparse0> removing pad 'sink'
0:00:04.694067429 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<jpegparse0> removing pad 'src'
0:00:04.694111109 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<jpegparse0> 0x21fa5b70 parent class dispose
0:00:04.694165709 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<jpegparse0> 0x21fa5b70 finalize
0:00:04.694201109 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<jpegparse0> 0x21fa5b70 finalize parent
0:00:04.694250429 3957 0x21e27a00 INFO GST_PARENTAGE gstbin.c:1801:gst_bin_remove_func:<pipeline0> removed child "v4l2src0"
0:00:04.694298669 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<v4l2src0> 0x21fa0240 dispose
0:00:04.694333109 3957 0x21e27a00 INFO GST_ELEMENT_PADS gstelement.c:789:gst_element_remove_pad:<v4l2src0> removing pad 'src'
0:00:04.694376429 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<v4l2src0> 0x21fa0240 parent class dispose
0:00:05.043497003 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<v4l2src0> 0x21fa0240 finalize
0:00:05.043535883 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<v4l2src0> 0x21fa0240 finalize parent
0:00:05.043572843 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3251:gst_element_dispose:<pipeline0> 0x21fb6040 dispose
0:00:05.043641243 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3297:gst_element_dispose:<pipeline0> 0x21fb6040 parent class dispose
0:00:05.043677723 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3328:gst_element_finalize:<pipeline0> 0x21fb6040 finalize
0:00:05.043711563 3957 0x21e27a00 INFO GST_REFCOUNTING gstelement.c:3334:gst_element_finalize:<pipeline0> 0x21fb6040 finalize parent
0:00:05.043746243 3957 0x21e27a00 INFO GST_INIT gst.c:1083:gst_deinit: deinitializing GStreamer
0:00:05.049683003 3957 0x21e27a00 INFO GST_INIT gst.c:1231:gst_deinit: deinitialized GStreamer
root@imx8mqevk:~#


Best regards!
/Kwon

0 Kudos
Reply