videocapture open blocks

asked 2017-09-13 07:45:24 -0500 gravatar image


I''m using the VideoCapture class in opencv 2.4.13 in order to display images from an IP camera. I've noticed that when I perform a"<address">) and the camera is not available, the function does not seem to return.

I've attempted to compile opencv myself with a modification in "cap_ffmpeg_impl.hpp" on line 196/197:



where I've set the values to 3000 instead. This does not seem to remedy the issue.

Would anyone happen to know how else I could remedy having the function blocking?

edit retag flag offensive close merge delete