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 7 of 7

Thread: [Problem] Receive video stream from the net

  1. #1
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default [Problem] Receive video stream from the net

    Hi all!

    I am working to a Java project and I need to acquire and reproduce a video stream.
    I am going to explain me better:
    I have got a Raspberry that works as a server and send me a video stream to a specific address (let's take for example 192.168.0.6:8082); and I need to acquire this video stream ("capturing it" from the url: 192.168.0.6:8082) and to reproduce it inside a Java application using a JFrame/JPanel/whatever I can use.

    Trying to be as clear as possible to explain my situation, I want to specify that the problem only consist on receiving the video stram that I do not know how to do (I have the video stream avaiable at the address I used before as example - I can reproduce it using vlc media player or the web browser -what I have to do is "capture" and reproduce it with Java).

    Thanks in advance to all.


  2. #2
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    UP!

  3. #3
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Up!

  4. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: [Problem] Receive video stream from the net

    Quote Originally Posted by Branca94 View Post
    Up!
    Please do not "Up" your post as it does not give any better chance for a reply. If you need help ask a question. Show any code and errors you may have so far.

  5. #5
    Junior Member
    Join Date
    Apr 2013
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jps View Post
    Please do not "Up" your post as it does not give any better chance for a reply. If you need help ask a question. Show any code and errors you may have so far.
    I am sorry man!
    By the way the question is the one I wrote in my first post.
    "How can I capture and reproduce a video front the net? What class/libraries should I use? As I said I have the video stream available from a specific URL but I do not know how to capture and reproduce it with Java."

  6. #6
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: [Problem] Receive video stream from the net

    The general form of your question suggests you have not tried your favorite search engine or put forth any effort to solve your own problem. What have you tried so far?

  7. #7
    Junior Member didingnuriska's Avatar
    Join Date
    Apr 2013
    Posts
    21
    My Mood
    Cool
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: [Problem] Receive video stream from the net

    you can use RTP session by using Java Media Framework (JMF), just google it.
    but JMF is the old library, is has limited codec support.
    alternatively you can use FMJ, fobs, or DSJ,,,

Similar Threads

  1. Best way to stream video between two android devices
    By Pillar in forum Java Networking
    Replies: 0
    Last Post: September 22nd, 2012, 04:27 PM
  2. Problem with Receive SMS in WindowsMobile
    By dr_jacky_2005 in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: August 16th, 2011, 07:01 AM
  3. could not create audio stream from input stream
    By chronoz13 in forum What's Wrong With My Code?
    Replies: 11
    Last Post: June 2nd, 2011, 02:08 AM
  4. problem with File Stream
    By amr in forum What's Wrong With My Code?
    Replies: 6
    Last Post: April 11th, 2011, 09:57 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, 03:39 AM