Just purchased an(other) no-name IP camera from Amazon. The first I got last year has been great - well worth £30.
Anyway this one is slightly different. I never use the IE OCX, just the cameras own http server. So navigating to http://cameraip pulls up an index page, I login, and can see the picture framed in a control panel.
Inspecting the page shows that the picture is coming from / videostream.cgi?loginuse=admin&loginpas=123456
However if I browse to http//camerip/videostream.cgi?loginuse=admin&loginpas=123456
all I get is nothing.
Just wondered if anyone else had encountered this, before I dig out a test laptop to install loads of debug on ....
Didn't find your answer? Ask the community — no account required.
Information here may be outdated?
V
Vir Campestris
I assume the missing colon is a typo?
Andy
J
Jethro_uk
Yes.
Further digging shows that the camera is spitting out M-JPEG ...
Request URL:http://192.168.1.108/videostream.cgi?loginuse=admin&loginpas=123456 Request Method:GET Status Code:200 OK Request Headersview source Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/
Which a quick google reveals could be a problem. However I'm curious that the video does display within the frame in the control panel, but not directly in the browser.
TBH I'm not particularly fussed about viewing it in a browser - I just want Zoneminder to be able to see it (which at present it can't). At least I can trawl their forums now ...
T
Tim Watts
On Friday 13 December 2013 14:56 Jethro_uk wrote in uk.d-i-y:
Other post concerning missing colon notwithstanding:
Maybe some cookies get passed by the original request - although if they do, and are critical I wonder why the username and password are passed to the videostream "GET" request. Pretty crappy programming...
P
pklawit
Hello,
If anybody is still trying to utilize this cheap IP camera - I have managed this.
I have used Wireshark and also noticed, that "normally" the camera WEB server is using MD5 authentication / cookie combination. But there is a backdoor :-)
First try this in your WEB browser to get single screenshot: http://ipaddress:81/snapshot.cgi?user=admin&pwd=&1
Or this to get stream of pictures: http://ipaddress:81/videostream.cgi?user=admin&pwd=&1
For me it worked. If your password is not empty, please change pwd= with pwd=your_password The last part &1 is just to skip browser cache, at least I think so.
Then in ZoneMinder fill the source definition like this:
Remote Protocol: HTTP Remote Method: Simple Remote Host Name: your_IP Remote Host Port: 81 - at least this port was used by my camera Remote Host Path: /snapshot.cgi?user=admin&pwd=&1 Remote Image Colours: 24 bit colour Capture Width: 640 Capture Height: 480
Best Regards, Piotr
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.