Ask Your Question

Revision history [back]

I am having the same problem with the Hauppauge USB Live-2. Had this problem for years. Although I program in C++ but likely you problem comes from the same place as mine.

A quick hack is to identify how long does it take for opencv to retrieve a frame and if it is too long ~1 second then restart the connection to the video device, not a pretty hack but it has helped me many times.

I have try to figure out where the problem is happening and It has to do with the videoInput library which opencv uses internally. I have Tested the videoInput by itself and I have managed to reproduce the same problem.