uvc-gadget icon indicating copy to clipboard operation
uvc-gadget copied to clipboard

Support H264

Open dgsiegel opened this issue 4 years ago • 2 comments

Would be a great addition and maybe a better performance than MJPEG.

dgsiegel avatar Nov 16 '20 23:11 dgsiegel

USB gadget driver under Linux at this time support only two formats - V4L2_PIX_FMT_MJPEG and V4L2_PIX_FMT_YUYV. https://github.com/raspberrypi/linux/blob/rpi-5.4.y/drivers/usb/gadget/function/uvc_v4l2.c#L59

Here is some patch for adding framebased formats, but i don't test it yet, and it requires changes in uvc-gadget too. https://lore.kernel.org/patchwork/patch/1023642/

peterbay avatar Nov 27 '20 22:11 peterbay