How do you connect to the CCTV camera from the software?

We have Sony security cameras that have a built-in web server, providing a web interface to view and control the camera. We would like to integrate the camera image into a Java web application, is there a way to connect to the camera from my code?

I see a lot of common software (for PC, PDA, Iphone, etc.) where you just tell the software your camera model and IP address and it will pull the camera image - obviously it talks to the camera and bypasses the web interface because you are just giving the image, not the whole web interface. How do these programs work and how can I reproduce them?

+2


source to share


5 answers


This website for the Motion Camera software package contains many URLs for direct access to static or streaming images from different camera hardware.



0


source


They do not need to "bypass" the web interface, they can simply "surf" the camera programmatically. If the design of the camera is simple enough, the image might even have a static URI, for example. http: //camera.ip.address/images/image00.jpg or whatever can always return the last image.



You should probably read the HTML source that the camera will use to figure out how images are accessed and simulate that.

+1


source


Is this a video or just images? This should be pretty easy if you just use the url of these items in your Java application. Obviously the maintenance is tricky, it's pretty messy, but it will work.

For example, if a camera outputs images to a URL like:

192.168.0.2:80/camera

/cameraimage.jpg

or

192.168.0.2:80/camera/cameraimage.swf

,

you are just linking to this in your application. Shouldn't be too troublesome.

+1


source


Most of the CCTV cameras I've worked with (and I've worked for 2 CCTV camera companies) communicate directly with the camera using RS-232 or RS-423 (I think). Typically, cameras are connected directly to a remote system using some kind of serial protocol. You control a remote system using a broader network protocol. They usually connect to ISDN like or something similar.

Now there can be USB connections to cameras, but of course many of the existing systems use serial communications.

0


source


Typically, your Sony camera is going to stream video to a specific port. You will need to negotiate with a camera on this port to receive images. Some companies like Verint, Avigilon and others have added support for these cameras to their software. As for RS232 and 422 not 423, it is usually used for PTZ cameras. Video is only sent via COAX on older cameras and now TCP / IP. If you want to add Sony cameras for streaming via your software, please contact Sony for white papers and use their SDK.

0


source







All Articles