Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IP camera input source #38

Closed
valera-rozuvan opened this issue Jan 9, 2016 · 7 comments
Closed

Add IP camera input source #38

valera-rozuvan opened this issue Jan 9, 2016 · 7 comments

Comments

@valera-rozuvan
Copy link
Contributor

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?

@applemuncy
Copy link
Contributor

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.

@juliena82
Copy link
Member

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.

@juliena82
Copy link
Member

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...

@juliena82
Copy link
Member

I will add the option to specify manually the URL.

@juliena82
Copy link
Member

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

@applemuncy
Copy link
Contributor

Yes, change in the GUI is what I meant : )

Yes, move to #36

@valera-rozuvan
Copy link
Contributor Author

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants