int argc=1, width=640, height=512, fps=5, format=V4L2_PIX_FMT_YUYV, i; 可知默认设备/dev/camera,默认格式V4L2_PIX_FMT_YUYV 并且从 /* y, yuv */ case 8: case 9: DBG("case 8,9\n"); format = V4L2_PIX_FMT_YUYV; break; 可知指定 -y后格式也是V4L2_PIX_FMT_YUYV 其中init_videoIn...
When calling the “extract_pixel_format()” function, make sure “*format” is assigned a value of “V4L2_PIX_FMT_YUYV”, i.e “*format = V4L2_PIX_FMT_YUYV;” To ensure V4L2_PIX_FMT_YUYV format, force assignment to “MEDIA_BUS_FMT_YUYV8_2X8” in the v4l2sd_set_fmt() function...
1837 views 0 members are here mjpg-streamer-r63 V4L2_PIX_FMT_YUYV Tags More This thread has been locked. If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question. ...