openCV: video does not get saved correctly
The output video has only 1kB and can not be opened. What is wrong?
This is my code:
OpenCV fails to capture frames
I am using OpenCV to extract frames from a video. It opened sucessfully but failed to capture any frames. Anyone knows what the problem might be? Thanks. I used the codes below, not sure if it helps with anything but just in case it does: