Skip to content
Advertisement

Tag: video-capture

How to add a delay when saving video frames as images

I have a series of videos and I want to save frames from them as images. This is my code: This code works but unfortunately, it takes a frame at every millisecond. This is not something I want. Instead, I want to save a frame at every 5 or 10 seconds. I thought about adding a time delay but that

Saving a video capture in python with openCV : empty video

I’m new in Python (2.7) and I try to work on video processing (with module openCv “cv2”). Starting with tutorials, I try to use the script of this tutorial : paragraph “Saving a video”. Everything works fine excepting that the video I’m saving is empty. I can find output.avi in my directory but its memory size is 0kb an, of

Advertisement