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
This error happens when calling:
detections = self.video_detector.detectObjectsFromVideo(input_file_path=input_data, output_file_path=output_video_path, frames_per_second=frames_per_second, minimum_percentage_probability=min_percent_prob, video_complete_function=self.get_output)
I had a look under the hood and this line caused the problem:
output_video = cv2.VideoWriter(output_video_filepath, cv2.VideoWriter_fourcc(*"MP4V"), frames_per_second, (frame_width, frame_height))
According to this post https://stackoverflow.com/questions/57792837/opencv-ffmpeg-tag-is-not-supported-with-codec-id-12-and-format-mp4-mp4 changing MP4V to lowercase mp4v fixes the problem. I tried it and it fixed the problem. Please can you make this change? Thanks.
The text was updated successfully, but these errors were encountered:
@alexpavlidespyrra thanks, will effect this change in next update.
Sorry, something went wrong.
No branches or pull requests
This error happens when calling:
I had a look under the hood and this line caused the problem:
According to this post https://stackoverflow.com/questions/57792837/opencv-ffmpeg-tag-is-not-supported-with-codec-id-12-and-format-mp4-mp4 changing MP4V to lowercase mp4v fixes the problem. I tried it and it fixed the problem. Please can you make this change? Thanks.
The text was updated successfully, but these errors were encountered: