用opencv将视频按照帧率保存为图片 import cv2 vc = cv2.VideoCapture('ad3.avi') #读入视频文件 c=1 if vc.isOpened(): #判断是否正常打开 rval , frame = vc.read()