?
Solved

Help needed for video surveillance application

Posted on 2001-07-25
5
Medium Priority
?
355 Views
Last Modified: 2012-08-13
Hi, I'm looking to build a simple java based video surveillance program and I need some guidance. What I want to do is get video from a web cam and send it over the internet to another computer which will be able to view the video. I'm not nessecarily interested in sound right now but in the future I will probably like to implement audio capibilites. Also I would like be able to switch the recieving machines internet location every once and a while. I'm also looking forward to implementing a way to record the video content to a file straight from the stream.

So this is where I am with my understanding of what I have to do so far. I have to make a application that runs on the server side (sending machine) that listens for a connection request. When it recieves a connection request it should probably check for a password make a connection and then start streaming the video or other media accross the connection. On the client side (recieving machine) I will have to send a connection request make a connection and then recieve the video data from the connection and display it on the screen.

In order to do the above, I've been looking at JMF and RTP. If anybody can give me small examples or some basic source code for what I'm describing it would be appreciated, otherwise if using JMF and RTP is not a wise decision for what I'm trying to achieve please let me know what else I should do. TIA
0
Comment
Question by:kainhart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Expert Comment

by:googlyralph
ID: 6327227
Hi,

the JMF is hte way to go, i dont have examples, but check with java.sun.com.

The connection is simple enough, a UDP socket connection (not a TCP due to overhead and no real need for perfect transmission), you then need to register a driver for the input device, and hten you should be able to get the stream(/s eg audio), and bung them on to the network/internet.

i may be able to get some source, or amore detailed idea of what you need to do and some resources to look at on monday.

Googly Ralph.
0
 

Author Comment

by:kainhart
ID: 6336456
Ok, I've decied to use RTP in my Java JMF based application. Right now I'm concentrating on the recieving end only but I'm getting very confused with the SessionManager, RTPManager, RTPStream, ... lingo. All the examples I see out there try to open a new player for each stream that is present in a session which bloats the examples so much that I can't follow the meaningful code. ]

All I want to start with is a single connection to a RTP server, which should only be sending information that has come from a single capture device. So as far as I can tell I don't really have much use for code that checks for format changes, payload changes, additional participants, or additional streams. I just need one player to play video that is being sent by one transmitter. What do I need as far as code to do just this?

I've already made a player window type of GUI form which encapsulates the player and it's funcionality so that a player can just be passed the window when created. From what I understand so far I have to get an address and port number for the transmitting machine and then I have to use it to somehow down the line create a player to view the video and a DataSink to record the data to a file. The thing I don't understand is that I create a player by just passing a MediaLocator to the Manager.createPlayer() method, so why do I even need a manager? I don't even see where RTP comes into play because all I have to do is pass the address, port information, and TTL in and get the player out then use it. If somebody can help me with all this confusion please do.
0
 

Expert Comment

by:CleanupPing
ID: 9061962
kainhart:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9208303
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[paq'ed and points refunded]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 9403446
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

719 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