Answer the question
In order to leave comments, you need to log in
Why does VideoCapture in opencv stop taking image from buffer even though video hasn't finished yet?
I have a video file recorded from a gopro 9 camera. When I open it with cv2.VideoCapture, the images are captured for the first second, after which cv2.read() returns False, even though the video itself is 20 seconds long. I think it's the gopro, since any other video file that was not recorded with the gopro reads fine. I recorded video on gopro with different codecs (hevc / h.265, avc / h.264), with different resolutions and frame rates, anyway, after the first second, the video stream is interrupted. I tried to convert the video using the handBrake software, it all worked. Why can't I capture all frames from video recorded with gopro 9?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question