We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
There is a bug on line 678 of __init__py.
output_video = cv2.VideoWriter(output_video_filepath, cv2.VideoWriter_fourcc(*"MP4V"), frames_per_second, (frame_width, frame_height))
Should be
output_video = cv2.VideoWriter(output_video_filepath, cv2.VideoWriter_fourcc(*"mp4v"), frames_per_second, (frame_width, frame_height))
Note the case of mp4v. Without the fix, it produces a warning:
OpenCV: FFMPEG: tag 0x5634504d/'MP4V' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)'
I hope it will be patched in the next version.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
There is a bug on line 678 of __init__py.
output_video = cv2.VideoWriter(output_video_filepath, cv2.VideoWriter_fourcc(*"MP4V"), frames_per_second, (frame_width, frame_height))
Should be
output_video = cv2.VideoWriter(output_video_filepath, cv2.VideoWriter_fourcc(*"mp4v"), frames_per_second, (frame_width, frame_height))
Note the case of mp4v. Without the fix, it produces a warning:
OpenCV: FFMPEG: tag 0x5634504d/'MP4V' is not supported with codec id 12 and format 'mp4 / MP4 (MPEG-4 Part 14)'
I hope it will be patched in the next version.
The text was updated successfully, but these errors were encountered: