Closed valera-rozuvan closed 8 years ago
This is good to know. Perhaps the test-webcan.exe should be changed to test that the URL of the IP camera is correct and working.
Actually, I think (but not recently tested on this version of software) that IP camera are already supported! In fact, the API is the same as when you read a video file. Only instead of specifying a file path, you provide a RTSP (for instance) url. I already used it, but on another project.
PS: the only limitation in the current GUI, is that it does not let you enter manually a URL / PATH. This is very easy to change...
I will add the option to specify manually the URL.
It would just need the option to specify manually the URL. But since this not an urgency, and as proposed in issue #36 , the way the inputs are selected will problably change soon, I propose to close this issue and add a remark about IP camera in issue #36
Yes, change in the GUI is what I meant : )
Yes, move to #36
+1
OpenCV comes with support for IP Cameras out of the box (I believe this is the case if OpenCV was compiled with FFmpeg support). Since in our build instructions we include ffmpeg, we can provide an option to use an IP camera as video source. The user just has to provide a URL to the video source.
Please see this simple example of how to get frame-by-frame visuals from an IP camera: http://answers.opencv.org/question/58360/ip-camera-with-opencv-c/ .
PS: for your information, IP cameras utilize the RTSP protocol. This protocol is supported by many video players, such as VLC media player.
@juliena82 What do you think?