Ask Your Question

denorb's profile - activity

2016-07-05 06:23:26 -0600 received badge  Student (source)
2015-04-03 17:17:59 -0600 received badge  Famous Question (source)
2014-11-14 00:16:49 -0600 received badge  Notable Question (source)
2014-07-10 03:08:38 -0600 received badge  Popular Question (source)
2013-01-07 02:20:42 -0600 asked a question How can I get one single frame from a video file?

I would like to use Python and the OpenCV wrapper to display a video that is just being recorded to the hard drive in a Python program. To achieve this I have to get the last single frame from the video that is just being written to. Is there a way to get only the last frame (or any other single frame for that matter) from the video file without loading all the frames into memory first? The video is saved as single frame bitmaps, so decoding should not be a problem.

Alternatively I could also use Python and OpenCV itself for recording the video, however I need to be able to set a fixed recording frame rate and I could not find any way to achieve that with OpenCV.

Thanks for your help!