$ 0 0 cv2.VideoWriter.write(frame) This code simply does nothing if the frame is not square. Is there any solution for this issue?