[opensuse] web access ip camera
This is still about the ip camera I posted about earlier, but I'm getting closer. I've given up on using uPnP and I'm now making progress with plain access via the browser. The camera offers http access on a non-privileged port 28000+. With this I can adjust resolution, light sensitivity, reboot, do snapshots etc. What is _really_ weird though - it only works on Windows! When I load up the exact same url on Firefox on openSUSE, I get this: TTP/1.1 200 OK Connection: close cache-control: no-cache <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"> <HTML><HEAD><TITLE>IPCamera</TITLE> <META HTTP-EQUIV="expires" CONTENT="0"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> </HEAD> [snip] Images are available as individual JPEGs at http://<camera>/image.jpg - again, on Windows it works fine, on linux I get TTP/1.1 200 OK Connection: Keep-alive Content-Length: 30116 Content-Type: image/jpeg Server: vid=tutkp2p n=00 username=xxxxxxxx&userpwd=99999999 alarm=11101111 status=00000000 pksize=0900 uiv3.6 Cache-control: no-cache (snipped - binary jpeg data) On openSUSE, I've tried Firefox, Opera and Konqueror, wget - same result. I'm rapidly losing what little hair I have left. -- Per Jessen, Zürich (13.9°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
The last such ethernet cameras I used also provided images via ftp. I think it was that if you read a file called fullsize.jpg via ftp you got the most recent such image. They also had an HTTP interface, but the ftp one was easier. Any chance of an ftp interface as well? Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
The last such ethernet cameras I used also provided images via ftp. I think it was that if you read a file called fullsize.jpg via ftp you got the most recent such image. They also had an HTTP interface, but the ftp one was easier. Any chance of an ftp interface as well?
I doubt it, it's not mentioned in the manual. TCP, UDP, uPnP. It's worth a try - I don't know what the UDP-port is for either. This camera also supplies the video as a series of JPEG (Motion-JPEG) - you just keep requesting the next one, and the effect is video :-) I've now looked at the datastreams with tcpdump/windump, and they are _exactly_ the same. The output from the camera looks good. I've tried several different openSUSE desktops, from my old 10.3 to the shiny new 12.3. No luck. I've set up external access (for a few hours): http://minerva.enidan.com:25565 I've just tried with wget from an external address - it works fine!! If anyone tries the link above, I'd appreciate a short email off-line with the results. -- Per Jessen, Zürich (21.2°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Roger Oberholtzer wrote:
The last such ethernet cameras I used also provided images via ftp. I think it was that if you read a file called fullsize.jpg via ftp you got the most recent such image. They also had an HTTP interface, but the ftp one was easier. Any chance of an ftp interface as well?
I doubt it, it's not mentioned in the manual. TCP, UDP, uPnP. It's worth a try - I don't know what the UDP-port is for either.
This camera also supplies the video as a series of JPEG (Motion-JPEG) - you just keep requesting the next one, and the effect is video :-)
I've now looked at the datastreams with tcpdump/windump, and they are _exactly_ the same. The output from the camera looks good. I've tried several different openSUSE desktops, from my old 10.3 to the shiny new 12.3. No luck.
I've set up external access (for a few hours):
http://minerva.enidan.com:25565
I've just tried with wget from an external address - it works fine!!
If anyone tries the link above, I'd appreciate a short email off-line with the results.
I've switched off the port forwarding again. Many thanks to those who took the time to test this - much appreciated. I know now that my ip camera video can be seen in Denmark, in the UK and in Australia, but not on my laptop here in the office :-( -- Per Jessen, Zürich (17.8°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Per Jessen wrote:
Roger Oberholtzer wrote:
The last such ethernet cameras I used also provided images via ftp. I think it was that if you read a file called fullsize.jpg via ftp you got the most recent such image. They also had an HTTP interface, but the ftp one was easier. Any chance of an ftp interface as well?
I doubt it, it's not mentioned in the manual. TCP, UDP, uPnP. It's worth a try - I don't know what the UDP-port is for either.
This camera also supplies the video as a series of JPEG (Motion-JPEG) - you just keep requesting the next one, and the effect is video :-)
I've now looked at the datastreams with tcpdump/windump, and they are _exactly_ the same. The output from the camera looks good. I've tried several different openSUSE desktops, from my old 10.3 to the shiny new 12.3. No luck.
I've set up external access (for a few hours):
http://minerva.enidan.com:25565
I've just tried with wget from an external address - it works fine!!
If anyone tries the link above, I'd appreciate a short email off-line with the results.
I've switched off the port forwarding again. Many thanks to those who took the time to test this - much appreciated. I know now that my ip camera video can be seen in Denmark, in the UK and in Australia, but not on my laptop here in the office :-(
If anyone has been following this - I still don't know why the web-access only works from some places and not from others. I know the problem is truncation of the HTTP header, but I have not been able to find out why. Instead I wrote a tiny utility that is largely unconcerned with the correctness of the HTTP header, and with that I can now retrieve jpegs (Motion JPEG) from the camera at about 12fps at 640x320. -- Per Jessen, Zürich (17.4°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 05/13/2013 12:29 PM, Per Jessen wrote:
Per Jessen wrote:
Per Jessen wrote:
Roger Oberholtzer wrote:
The last such ethernet cameras I used also provided images via ftp. I think it was that if you read a file called fullsize.jpg via ftp you got the most recent such image. They also had an HTTP interface, but the ftp one was easier. Any chance of an ftp interface as well? I doubt it, it's not mentioned in the manual. TCP, UDP, uPnP. It's worth a try - I don't know what the UDP-port is for either.
This camera also supplies the video as a series of JPEG (Motion-JPEG) - you just keep requesting the next one, and the effect is video :-)
I've now looked at the datastreams with tcpdump/windump, and they are _exactly_ the same. The output from the camera looks good. I've tried several different openSUSE desktops, from my old 10.3 to the shiny new 12.3. No luck.
I've set up external access (for a few hours):
http://minerva.enidan.com:25565
I've just tried with wget from an external address - it works fine!!
If anyone tries the link above, I'd appreciate a short email off-line with the results. I've switched off the port forwarding again. Many thanks to those who took the time to test this - much appreciated. I know now that my ip camera video can be seen in Denmark, in the UK and in Australia, but not on my laptop here in the office :-( If anyone has been following this - I still don't know why the web-access only works from some places and not from others. I know the problem is truncation of the HTTP header, but I have not been able to find out why. Instead I wrote a tiny utility that is largely unconcerned with the correctness of the HTTP header, and with that I can now retrieve jpegs (Motion JPEG) from the camera at about 12fps at 640x320.
I would like to see your code send it to me direct -- Hans Krueger hanskrueger007@roadrunner.com registered Linux user 289023 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-05-08 at 09:51 +0200, Per Jessen wrote:
What is _really_ weird though - it only works on Windows! When I load up the exact same url on Firefox on openSUSE, I get this:
I know for sure that some cameras only work with iexplorer, and this is intentional. We had one on a lab, fresh from the box. Windows computers could connect, same LAN, Linux computers could not. As this was mentioned in the manual, we ditched it. I don't remember the brand name, but maybe I can ask. - -- Cheers, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAlGROSMACgkQtTMYHG2NR9XXuwCfcodhh7VZrPyZ2uMyBUDD+iIT ERsAn2ZGrhUGLp7LxxXxyAwoxX5bol43 =Cfdc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday, 2013-05-08 at 09:51 +0200, Per Jessen wrote:
What is _really_ weird though - it only works on Windows! When I load up the exact same url on Firefox on openSUSE, I get this:
I know for sure that some cameras only work with iexplorer, and this is intentional.
We had one on a lab, fresh from the box. Windows computers could connect, same LAN, Linux computers could not. As this was mentioned in the manual, we ditched it.
I don't remember the brand name, but maybe I can ask.
This one seems to be somewhat generic, I've seen it listed under multiple names, but the basic model is "IP-562M". I don't think it's the camera having a preference for Windows, it _does_ work with some of my systems, just not all. -- Per Jessen, Zürich (10.6°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
Hans Krueger
-
Per Jessen
-
Roger Oberholtzer