First time here? Check out the FAQ!
answered 2016-04-12 02:25:56 -0600
frame size in out.write(frame) must be the same as the size argument in the constructor VideoWriter.
out.write(frame)
size
You could change the size properties to VideoCapture or resize the grabbed frame as your needs