Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Accessing IP Camera Feed

Hi All, Thanks for taking time to view my post. I have been trying for several days to access feed from an IP Camera. Mentioned below are my code and the steps that i have done thus far, based upon information received in the forums.

  1. IP Camera Make : Vstarcam ; Model Number : T7892WIP ; Based upon the information on the website (iSpy) the details for accessing the ip camera are given below

T7892WIP MJPEG (Image Format)

http://IPADDRESS:554/videostream.cgi?user=[USERNAME]&pwd=[PASSWORD]&resolution=32&rate=0

  1. Platform Windows 7 (32 bit) + OPENCV 2.4.5 and Qt 5.4.1

  2. Code

capture.open("http://192.168.1.50:8080/videostream.cgiuser=admin&pwd=888888&resolution=32&rate=10.mpeg"); if(!capture.isOpened()) { qDebug()<<"Cannot Open Camera"; exit(1); } else { //Capture Frame and Process }

When i try to execute the above code, I get the following message

Cannot Open Camera warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:529).

  1. Steps that i have followed

a). I used iSpy software to get the IP camera link and used the same. I am able to open the IP Camera Feed on the web-browser and iSpy software as well. Both are working without any issues.

b). Used the same link and opened in VLC Media Player and that too is able to open the video feed.

c). I replaced the url with 0, to detect the default camera, and the webcam is detecting and displaying the image correctly.

Please Help.

[SOLVED] Accessing IP Camera Feed

Hi All, Thanks for taking time to view my post. I have been trying for several days to access feed from an IP Camera. Mentioned below are my code and the steps that i have done thus far, based upon information received in the forums.

  1. IP Camera Make : Vstarcam ; Model Number : T7892WIP ; Based upon the information on the website (iSpy) the details for accessing the ip camera are given below

T7892WIP MJPEG (Image Format)

http://IPADDRESS:554/videostream.cgi?user=[USERNAME]&pwd=[PASSWORD]&resolution=32&rate=0

  1. Platform Windows 7 (32 bit) + OPENCV 2.4.5 and Qt 5.4.1

  2. Code

capture.open("http://192.168.1.50:8080/videostream.cgiuser=admin&pwd=888888&resolution=32&rate=10.mpeg"); if(!capture.isOpened()) { qDebug()<<"Cannot Open Camera"; exit(1); } else { //Capture Frame and Process }

When i try to execute the above code, I get the following message

Cannot Open Camera warning: Error opening file (../../modules/highgui/src/cap_ffmpeg_impl.hpp:529).

  1. Steps that i have followed

a). I used iSpy software to get the IP camera link and used the same. I am able to open the IP Camera Feed on the web-browser and iSpy software as well. Both are working without any issues.

b). Used the same link and opened in VLC Media Player and that too is able to open the video feed.

c). I replaced the url with 0, to detect the default camera, and the webcam is detecting and displaying the image correctly.

Please Help.