|
通过v4l2设置帧率后仍没有效果。
设置部分如下
{
struct v4l2_streamparm Stream_Parm;
memset(&Stream_Parm, 0, sizeof(struct v4l2_streamparm));
Stream_Parm.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
Stream_Parm.parm.capture.timeperframe.denominator =30;;
Stream_Parm.parm.capture.timeperframe.numerator = 1;
ret = ioctl(fd, VIDIOC_S_PARM, &Stream_Parm);
}
在驱动代码里寻找线索发现
.name = "4208x3120_20fps",
.name = "2096x1560_30fps",
请问,我想要获取1920x1080_30fps,我需要怎么做?
|
|