📅  最后修改于: 2022-03-11 15:00:41.547000             🧑  作者: Mango
cap = cv2.VideoCapture('vtest.avi')
...
out = cv2.VideoWriter('output.avi',fourcc, 20.0,(int(cap.get(3)),int(cap.get(4))))
make output size same as input size