Interface usb Webcam Linux

Connected Logitech usb Webcam and the module detected it.
root@apalis-imx6:~# [ 7298.117012] usb 1-1.2: new high-speed USB device number 6 using ci_hdrc
[ 7298.750274] uvcvideo: Found UVC 1.00 device HD Webcam C615 (046d:082c)
[ 7298.771576] input: HD Webcam C615 as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.2/1-1.2:1.2/input/input3

How to stream live video using gstreamer?

Dear @sharonroyal,

Thank you for contacting the Toradex community!

Which Linux image release you are using?

If you are using v2.8 or prior then Could you go through this documentation?

Already gone through those documentation and used the following command,

gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! videoconvert ! ximagesink

But the result is as below

root@apalis-imx6:~# gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! videoconvert ! ximagesink
[13881.116606] usb 1-1.2: reset high-speed USB device number 6 using ci_hdrc
[13881.688679] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
[13881.695291] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
[13881.703009] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
[13881.899831] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
[13881.905986] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
[13881.912184] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
Setting pipeline to PAUSED ...
[13881.955535] ERROR: v4l2 capture: slave not found! V4L2_CID_HUE
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video0' for reading and writing.
Additional debug info:
../../../git/sys/v4l2/v4l2_calls.c(668): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Resource temporarily unavailable
Setting pipeline to NULL ...
Freeing pipeline ...

What exact hardware (module and carrier board) and software versions of things are you talking about?

Module Apalis IMX6Q V1.1A
Carrier Board Apalis Evaluation Board V1.1A
Toradex Version 2.8
Distribution Ångström v2017.12
OpenEmbedded/Yocto Codename rocko
Yocto Project Release 2.4

Dear @sharonroyal.

I used this version of Linux image

root@apalis-imx6:~# uname -a Linux
apalis-imx6 4.9.166-dirty #8 SMP Tue
Dec 24 18:24:42 IST 2019 armv7l
GNU/Linux

with

opkg update
opkg install gstreamer1.0-plugins-base-ximagesink
gstreamer1.0-plugins-good-video4linux2
gstreamer1.0-plugins-base-videoconvert
gstreamer1.0-plugins-bad-fbdevsink

USB UVC camera video is running, I didn’t face the same issue. Did you do reboot and try once again.

Verify following packages installed on the module with this command :

opkg list-installed

gstreamer1.0-plugins-bad-fbdevsink - 1.12.2-r0.0
gstreamer1.0-plugins-base-meta - 1.12.2-r0.0
gstreamer1.0-plugins-base-videoconvert - 1.12.2-r0.0
gstreamer1.0-plugins-base-ximagesink - 1.12.2-r0.0
gstreamer1.0-plugins-good-meta - 1.12.2-r0.0
gstreamer1.0-plugins-good-video4linux2 - 1.12.2-r0.0

Verify video format available from the UVC camera by using the following command

v4l2-ctl --list-formats-ext

Please let us know if it is not helping with the uname -a output.