I created a virtual v4l2 video device with V4L2LOOPBACK driver,and recode the part of VIDIOC_ENUM_FRAMESIZES ioctl because orginal code has no support of multi-format.FORMAT INF