Python, VideoWriter yields empty file (5.7kb), if the video isn't square
cv2.VideoWriter.write(frame)
This code simply does nothing if the frame is not square. Is there any solution for this issue?