PDA

View Full Version : Need Help with IP Web CAM Re-broadcasting


dguo
09-02-2004, 06:39 PM
Problem:

I have an Orite IP-CAM, a standalone CMOS camera with a webserver built-in. It plugs directly in to router and sends motion JPEG images to any client on the net. Unfortunately the built-in webserver can only support several users and I need to support more, hence an re-broadcasting solution.

The camera can basically do 3 things to stream motion JPEG:

1. User opens a browser and download a Java Applet to receive JPEG images and control the camera - the most common (but I can't use this, since I can't have everyone connect directly to the camera…) Here's a camera demo site: http://202.164.186.36
2. User configures the FTP settings on the camera to upload to a JPEG image to FTP server, and user can open a web browser and view the JPEG images on the server. There are two issues with is:
- a) The camera automatically creates a directory and inserts a time stamp in the filename. This means that I have a file for every single frame of image.
- b) I can get a java script to refresh the image, so only the last image is displayed, but since the filenames has timestamp, I don't know the filename of the last image.
-3. The manufacturer makes available a CGI script on the camera to automatically stream out the motion JPEG, http://202.164.186.36/GetData.cgi, but when I talk to my ISP, they don't have a ready solution to call this CGI script and save to a JPEG file.

Possible solutions, perhaps you can provide:

Streaming method #1: They call this Java Applet, but can we setup a proxy server to work as if was the camera?, i.e. re-broadcast the exact stream?
Streaming method #2: They call this the FTP push, can you either:
- a) write a client script to find the last file written to the directory or
- b) write a server script to copy the last file written to a "static" file name
Streaming method #3: They call this the JPEG push, can you either:
- a) write a server app to call the CGI and save to a static JPEG file or
- b) write a server app to call the CGI and stream as an AVI file

If all possible, I would like to stay away from use of dedicated servers to keep my cost down. I really don't need any storage because none of the streams will be saved.

Please let me know if you can help, and I'm willing to pay a reasonable price for the development work.

Thanks,

David
dguo@attglobal.net
650-483-4721

bcarl314
09-02-2004, 07:09 PM
Hmm, All I get on the demo is "Please use Internet Explorer 5.0 or higher".


Using FireFox on Linux btw

dguo
09-02-2004, 11:24 PM
The java applet only supports IE5.0 or higher, this is another reason why I want to move away from using the camera client directly and go with a re-broadcast. Any ideas?

az_max
12-29-2004, 08:03 PM
Hi,
I have a similar camera, made by AvioSys. I too hate the FTP options they give you.

First, get v2.32 of the firmware from the vendor. it supports mozilla and foxfire.
Second, this link will get a still pic from the camera
http://IPAddress: port/Jpeg/CamImg.jpg

You can get a stream from :
http://IPAddress: port/GetData.cgi?Status=1

There's code to get the video stream on another page available too:

<script language="JavaScript" type="text/JavaScript">
function showCamera(o)
{
// Replace this url with your own ip camera url...
o.URL = "http://209.78.110.168";
// Set your camera window's width here
o.CamWidth = 640;
}
</script>

<OBJECT onreadystatechange="showCamera(this);" CODEBASE="WinWebPush.cab#version=1,0,1,3" CLASSID="CLSID:7876E4A5-78B7-4020-B08F-C960A1ED54C9"><./OBJECT>
You need put "WinWebPush.cab" file on web root directory. Active X code is available at: http://www.tlcstream.com/WinWebPush.cab


Another option is to use the VFW plugin on a win32 server, it can save the pic to a file to be used by a web page. Supervisioncam.com allows the images to be used as a security device also.

mrsnappy
07-24-2006, 02:53 AM
I get this message each time I pull up my camera configuration files and it says Windows Blocked this file because it was not known. Can anyone tell me how to unblock this so I can use. Please help we are using these camera's in our work to catch wrongdoers.


I need them operational.

Sonicfire1980
07-25-2006, 08:43 AM
From where did this thread got its over 3000 view??:eek:

billytkid
02-16-2007, 05:19 PM
Hi guys, im a newb to the forum but I hope to be able to get some info off you!

I use an orite ip cam, and another cam on my hobby site (www.fish-cam.co.uk) and it all seems to work ok, however Ive built a google homepage gadget and am making a Vista one too - but the problem is Im now getting hit in the thousands a month.

I know its not a massive amount, but my poor home dsl connection is suffering!

I want to be able to take one single stream from my camera, and then restream it from my website - does anyone know how to do this?

Also the stream link you gave above "/GetData.cgi?Status=1" what type of stream is that?

Many thanks

Will

nb:/ now 7001 viewers!!

billytkid
02-16-2007, 06:02 PM
Hiya,

ive just found this and it works with the mjpeg stream, could this be implemented?

http://www.charliemouse.com/code/cambozola/

billytkid
02-27-2007, 03:20 PM
Hey, anyone still on this thread?

Ive now used the above applet and implemented it on both my google gadget, and site homepage - www.fish-cam.co.uk

I still however have the hassle of too many users, any ideas about the rebroadcast?

Also this forum doent seem to allow me to subscribe to a thread, any ideas?

jshayden
06-27-2007, 11:56 PM
I've been using cambozola, but, I can't get it working in a google gadget. I thought it was required that the .jar file be in the same directory as the script?

How'd you get it working?

Thanks,
Josh

webhostingdesig
07-04-2007, 11:48 PM
Problem:

I have an Orite IP-CAM, a standalone CMOS camera with a webserver built-in. It plugs directly in to router and sends motion JPEG images to any client on the net. Unfortunately the built-in webserver can only support several users and I need to support more, hence an re-broadcasting solution.

The camera can basically do 3 things to stream motion JPEG:

1. User opens a browser and download a Java Applet to receive JPEG images and control the camera - the most common (but I can't use this, since I can't have everyone connect directly to the camera…) Here's a camera demo site: http://202.164.186.36
2. User configures the FTP settings on the camera to upload to a JPEG image to FTP server, and user can open a web browser and view the JPEG images on the server. There are two issues with is:
- a) The camera automatically creates a directory and inserts a time stamp in the filename. This means that I have a file for every single frame of image.
- b) I can get a java script to refresh the image, so only the last image is displayed, but since the filenames has timestamp, I don't know the filename of the last image.
-3. The manufacturer makes available a CGI script on the camera to automatically stream out the motion JPEG, http://202.164.186.36/GetData.cgi, but when I talk to my ISP, they don't have a ready solution to call this CGI script and save to a JPEG file.

Possible solutions, perhaps you can provide:

Streaming method #1: They call this Java Applet, but can we setup a proxy server to work as if was the camera?, i.e. re-broadcast the exact stream?
Streaming method #2: They call this the FTP push, can you either:
- a) write a client script to find the last file written to the directory or
- b) write a server script to copy the last file written to a "static" file name
Streaming method #3: They call this the JPEG push, can you either:
- a) write a server app to call the CGI and save to a static JPEG file or
- b) write a server app to call the CGI and stream as an AVI file

If all possible, I would like to stay away from use of dedicated servers to keep my cost down. I really don't need any storage because none of the streams will be saved.

Please let me know if you can help, and I'm willing to pay a reasonable price for the development work.

Thanks,

David
dguo@attglobal.net
650-483-4721

contact me, we can do your web cam site, I recommend using php/mysql.