Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Connect to IP Camera using Java

Posted on 2016-08-19
4
Medium Priority
?
655 Views
Last Modified: 2016-08-20
Hello there,

How can I connect to a IP camera and get its live view from Java.

cheers
Zolf
0
Comment
Question by:zolf
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:Dr. Klahn
ID: 41763510
IP camera protocols are tightly dependent on the camera model and manufacturer.  There's no universal or even widely accepted standard, so every manufacturer does what they think looks best and it varies all over the place.  See the manufacturer and camera list for the open-source ISpy product to get an idea of the magnitude of this issue.  Some stream binary, some stream in browser-compatible formats and some are proprietary.

imo, this can be done if you know the specific protocol for the specific camera and manufacturer ... but it'll be a one-off solution, and it will soon become obsolete when the manufacturer stops making that specific camera or upgrades the firmware.
0
 

Author Comment

by:zolf
ID: 41763535
Thanks for your feedback. The camera I am using is SICK Lector620OCR.
0
 
LVL 30

Accepted Solution

by:
Dr. Klahn earned 2000 total points
ID: 41763923
Unless the manufacturer will release the protocol specifications to you, you'll have to reverse-engineer the camera communication protocol.  Some manufacturers will release that information and some won't, and since you'll have to start with their customer support it might be difficult getting connected to a software engineer who can tell you what you need to know.

Reverse-engineering the camera communication protocol is tedious, but not overly difficult.  It can be done by loading network monitoring software on a separate PC on the network and setting that system to monitor all traffic (both TCP and UDP) to and from the camera.  Then look over the traffic as packets and reverse-engineer the protocol.  (It may take a couple of weeks to figure out the necessary commands and what the camera is returning.)  At that point you'll have the information necessary to write a Java applet that talks to the camera.
0
 

Author Closing Comment

by:zolf
ID: 41764057
cheers
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
A solution for Fortify Path Manipulation.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question