Ask Your Question
1

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

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

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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

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

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 2,772 times

Last updated: Feb 14 '13