Ask Your Question
1

OpenCV VideoCapture.open() IP Camera unstable...

asked 2013-02-13 17:24:16 -0500

Hi, all:

Environment: OS: Ubuntu 12.10 OpenCV: 2.4.9 SVN

VideoCapture.open(URL) sometimes successfully open the IP camera and starts streaming from URL. However, it's not very stable. Sometimes, it fails. The most probable reason is: the streaming from the certain URL hasn't closed the connection yet.

Any recommendations to open an IP camera stream (URL) ? Maybe, not use OpenCV to do this?

Cheers Pei

edit retag flag offensive close merge delete

Comments

Rui Marques gravatar imageRui Marques ( 2013-03-07 13:34:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-02-14 00:35:00 -0500

Try to call VideoCapture.release() to close camera connection after its usage.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-02-13 17:24:16 -0500

Seen: 2,437 times

Last updated: Feb 14 '13