0

I want to output NV12 or NV21, but only MJPEG and YUY2 (aka YUYV) show up as available on the client. The available formats are determined by the UVC gadget driver. I checked /sys/kernel/config/usb_gadget/g1/functions/uvc.0/streaming/uncompressed/u/guidFormat

and it's always YUY2. In the source code, it's even hard coded to YUY2!

Curiously, I tried listing formats on several web cams and none of them support NV12. Always either YUYV or MJPEG. Is NV12/21 supported without recompiling the driver? If so, how?

Yale Zhang
  • 1,447
  • 12
  • 30

0 Answers0