python cv2 video resolution - Stack Overflow
https://stackoverflow.com/questions/4560524210.08.2017 · Show activity on this post. I try to change video resolution (with mp4!) (to 800x600) in this way : but its doesn't work, when I use cap.get (3) and (4), its return every time defualt 1280x720! import cv2 cap = cv2.VideoCapture ('file') while (cap.isOpened ()): cv2.waitKey (10) ret, frame = cap.read () cap.set (3, 800) cap.set (4, 600) gray ...