I wanted to write a small script to extract a frame from a video file. OpenCV seems great library for it. But, there is one point that was not clear. After capturing the video file with 'VideoCapture()', every read() function capture the next frame every time. But, It starts from the 0th frame. It creates unknownth frame from the 5th second If I put 5 second of sleep.
My question is this. Should I wait 60 seconds to reach the frame that time, or is there any way to start the video capturing from a certain time?