Thread:Talk:R-Car/Boards/Yocto-Gen3/How to use usb webcam in H3??/reply

Hi

I write information when I checked the usb webcam using Yocto v2.23.0.

I don't understand your detailed environment, but I am glad if this is helpful for you.

Environment:

- H3 Starter Kit

- Yocto v2.23.0

- USB Webcam Logicool C920t

1. Enable the following kernel config. Device Drivers --> Multimedia support ---> [*] Media USB Adapters [*] USB Video Class (UVC) [*] UVC input events device support (NEW)

2. Modify the gstreamer1.0-plugin-vspfilter {GST_VIDEO_FORMAT_UYVY, V4L2_PIX_FMT_UYVY, V4L2_MBUS_FMT_AYUV8_1X32, 1}, + {GST_VIDEO_FORMAT_YUY2, V4L2_PIX_FMT_YUYV, V4L2_MBUS_FMT_AYUV8_1X32, 1},
 * 1) vi gst/vspfilter/vspfilterutils.c

3. bitbake

4. How to run Ex)
 * 1) gst-launch-1.0 v4l2src device=/dev/video16 ! video/x-raw,width=1920,height=1080 ! vspfilter ! video/x-raw,format=BGRA ! waylandsink

* videoN: Please set according to your environment. Ex) In case of M3 SK it was video8.