- 我设备采集支持的帧率如下
[0]: ‘YUYV’ (YUYV 4:2:2)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Interval: Discrete 0.200s (5.000 fps)
我代码之中设置的参数如下
nRet = av_dict_set(&lpOptions,“video_size”, “640x480”, 0);
nRet = av_dict_set(&lpOptions,“framerate”, “30”, 0); //无论怎么改都不行
采集到之后播放ffplay -s 640x480 -pix_fmt yuyv422 video3.yuv 速度太快,