;UVC Camera Application configuration file ;it need to be located at /etc/ directory [stream] ; width-height-fps,width-height-fps fmt1 = yuyv,640-360-30,1280-720-13; fmt2 = nv21,640-360-30,1280-720-13,1920-1080-30; fmt3 = mjpeg,640-360-30,1280-720-30,1920-1080-30; fmt4 = h264,640-360-30,1280-720-30,1920-1080-30; ;fmt5 = h265,640-360-30,1280-720-30,1920-1080-30; [uvc] ; set max PayloadImage size imagesize = 0x200000 bulksize = 0x200000 ; set cache node number cache_count = 3 ; 0x1: IO_METHOD_MMAP, 0x2: IO_METHOD_USERPTR iomethod = 2 ; cat /sys/kernel/config/usb_gadget/camera/functions/uvc.usb0/streaming_maxpacket maxpacket = 3072