Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: IP camera programming

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IP camera programming

    Hi everybody,

    I have a very general question, hope it is in the right place.

    I need to write a software that will be able to record simultaneously multiple high speed IP cameras and play that recorded video in slow motion. I have never programmed something like this, so I have no idea what I'm getting into.

    Is Java good for this? There are many aspects that I'm not familiar with here:
    1. how easy is to record the stream from IP camera and put all the recordings from all cameras in the same file?
    2. can Java "handle" high speed cameras (lots of data - frames per second)?
    3. a lot of resources should be used, multiprocessor platform. Is Java good in enviroments like this?

    So, can Java make a request like this happen? Any oppinions, experiences...? Any potential problems I haven't mentioned?

    Thanks in advance. Once again, sorry if this is the wrong subforum or if I have missed the point of this forum. This is my first post.


  2. #2
    Junior Member
    Join Date
    Feb 2014
    Location
    Finland
    Posts
    25
    My Mood
    Bored
    Thanks
    3
    Thanked 5 Times in 5 Posts

    Default Re: IP camera programming

    Hello,

    You are right, those are quite general questions

    1: Just wondering, why would the recordings need to be in the same file? Java has quite elegant data stream handling, so i suppose it'd suite the need quite well. How you access the camera streams - do you have some kind of api/driver directly to the stream or are the cameras saving their feed to files and you'd access the video files and not the video stream?

    2: Java is nowadays quite efficient, if a bit memory intensive. Depends more on the hardware that the platform has. HDD speed, CPU speed and RAM amount mainly. There might be some options with handling the videos with GPU if you need to process it somehow ( jcuda.org - Java bindings for CUDA and jocl.org - Java bindings for OpenCL for example ).

    3: Java Virtual Machine fully supports concurrency. Here's a short paper about it: http://www.cs.hut.fi/u/tlilja/multic..._multicore.pdf

    Sorry about the vague answers, i did my best
    But to sum it up, my opinion is that Java implementation will do as well on the job as any other language implementation.

    Best of luck to your project

  3. #3
    Member
    Join Date
    Apr 2013
    Posts
    93
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default Re: IP camera programming

    dont think you need to write the app cos it is allready done its called motion works best on ubuntu its in the repos you can record from multiple ipcamers webcams anything you can save it as video or images as for slowmotion i would imagine there is softwarer for that too i think vlc player can do it but if your determined to do it yourself get a copy of motion and look at source to see how they do it

Similar Threads

  1. Android Camera app
    By Yoyo_Guru in forum Android Development
    Replies: 1
    Last Post: July 26th, 2012, 02:47 PM
  2. Connect Camera with Java
    By cypro in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 29th, 2011, 08:14 AM
  3. 3D camera movement
    By macko in forum Java Theory & Questions
    Replies: 2
    Last Post: May 17th, 2011, 08:53 AM
  4. First Person Camera
    By Aaron in forum What's Wrong With My Code?
    Replies: 1
    Last Post: November 13th, 2010, 01:54 PM
  5. retrieve the video stream from an Axis camera
    By nesrine18 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 3rd, 2010, 04:39 AM