VideoWriter() missing required argument 'frameSize' code example
Example: cv2 videowriter python not working
Check syntax of cv2.VideoWriter , if checked, then , check that dimensions of the cv2.VideoWriter is same as that of your video .
Check syntax of cv2.VideoWriter , if checked, then , check that dimensions of the cv2.VideoWriter is same as that of your video .