📜  为什么视频不写opencv - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:41.547000             🧑  作者: Mango

代码示例1
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