JMF rtsp streaming

Hi,
I want to use any internet radio thats streaming over rtsp as a datasource and give that source to my datasink class in order to stream rtp to my LAN.
When I try,
medialocator=new MediaLocator("rtsp://ip/xyz.mov or rm);
ds=Manager.createDataSource(medialocator);
And try to use this ds in my datasink, it does not work.
Any clues?
Thank you very much.
Murat

This problem sounds to be still actual. .mov and .rm are not supported by JMF:
http://java.sun.com/products/java-media/jmf/2.1.1/formats.html#RTPFormats
In http://java.sun.com/products/java-media/jmf/2.1.1/support-rtp.html it is said that the following RTP servers are compatible with the JMF RTP Player (using javax.media.rtp) but each of them have a serious drawback:
ShowMeTV Transmitter (commercial), IP/TV Server (commercial), vic (Video only), vat/rat (Audio only).
What streaming server would you suggest to use? I tried without success to stream a video within a java applet using DarwinSS (ok with .mov, .mp4 but not in java) or RealServers (ok with .rm but also not in java).
I don't find any examples of MPEG1 streaming in JMF. Most samples i.e. SimplePlayerApplet.java (param="sun.avi") use local video paths but not rtsp:// URLs.
Samples like AVreceive.java / RTPUtil.java do not use explicit MPEG1 samples and assume that you have an RTP server. And other apps like http://www.alphaworks.ibm.com/tech/mpeg-4 are not fully open source.
Thanks

Similar Messages

  • Play RTSP stream with JMF

    hello, all, i tried to play RTSP stream with JMF, but i always get error:
         connection info: IN IP4 0.0.0.0
         connection info: IN IP4 0.0.0.0
         Failed to realize: Server is not responding
    But when i play RTSP stream with VLC, everything is well.
    Anybody can help me?
    Regards,
    lefish

    JMF does not. JMF only plays RTP-protocol streams.I doubt it.....though I have never tried to play RTSP streams using JMF but seeing following links I do think client side RTSP is supported by JMF:
    [http://java.sun.com/javase/technologies/desktop/media/jmf/reference/faqs/index.html#jmf2-rtsp-features]
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/support-rtsp.html]
    Thanks!

  • -5408 error on all RTSP streams via QuickTime (after a near-disk failure)

    Hi Folks.
    Today I had a near catastrophic failure on my startup drive: following a simple permissions repair routine, after a shutdown the startup drive failed to mount. It took DiskWarrior to get it back again, but most of my preference files were corrupted. With Time Machine most of these were restored successfully however.
    Everything is back in order, except that when I try to connect to any QuickTime compatible RTSP stream, I end up getting a -5408 error.
    The streams I am connecting to are from IP cameras which have RTSP and h264. I know they're working fine because I have another MacBook beside me also running 10.6.8 which is pulling them down fine, doing exactly the same thing.
    I also know that the streams I am connecting to are using TCP, not UDP. Normally when buffering it starts at about 3 seconds and goes down, but at present it is switching transports immediately and counting down from 8.7 seconds before timing out.
    This is happening in any browser with the QuickTime Plugin, and QuickTime Player itself (both the X version and the old 7 version).
    So it would seem to me that TCP is being blocked within the OSX system when trying to use port 554. And I do not have firewall turned on.
    I know this has been caused by something being affected due to the need for a recovery, but short of installing a clean version of Snow Leopard, I wondered if there was a way of checking transports and seeing if this can be fixed more easily.
    Hope you can help.
    Paul C.

    Well, given no-one could shed any light on this, I'd like to let you all know that I worked it out myself.
    Here's how the story ends:
    A few days after the near-disk-death experience, I went to use my Express Card modem to connect to 3G wireless and found that all of my network settings preferences were gone (airport/VPNs etc...). It couldn't even recognise my Sierra Wireless express card at all. This was even after restoring my entire preferences folder in my Home folder using Time Machine, which got most things back to normal.
    Some research in these discussion forums found that network settings are not stored in your home folder's library, but on your startup drive's /Library/Preferences/SystemConfiguration folder. It has these files in it:
    preferences.plist
    com.apple.airport.preferences.plist
    com.apple.PowerManagement.plist
    com.apple.network.identification.plist
    com.apple.smb.server.plist
    com.apple.nat.plist
    NetworkInterfaces.plist
    com.apple.Boot.plist
    So I used Time Machine to restore an older version of that folder, and hey presto, all my network settings returned.
    And then I connected to a page where RTSP wasn't working in via QuickTime, and it worked.
    I'm still not sure which file contained the problem with RTSP over TCP, and that still doesn't explain why a different user on this same machine I setup had no problems.
    Not that I care anymore, because my MacBook is now back the way it was. It seems...
    I highly recommend DiskWarrior for when strange things start happening to your Mac, or if a drive/partition disappears. It can find and restore things that other 'salvage' type disk recovery apps cannot.
    PC.

  • Need confirmation that my rtsp streaming settings for the WVC54GCA are correct

    So I recently set up the WVC54GCA for remote viewing over the internet. I use Verizon DSL with the Westell Versalink Gateway 327W, with the latest firmware (4.4.3) I was able to forward an alternate HTTP port (1025) enabling both TCP/UDP to my cams static IP. I was also able to forward the RTSP port (554) enabling both TCP/UDP to my cam's static IP. My problem is that my router will not forward any more ports, other than 1025 and 554.
    There is a setting on the camera for RTP data port (listed as port 5000) and I cannot forward port 5000. I have tried changing the cam setting to a bunch of different ports other than 5000 (6881, 1024, 1900, etc.) but no matter what I try, none of the other ports can be opened through my router. It appears to work via the routers firmware (i.e. it looks just like the setting for 1025 and 554, which do forward) but when I check the port using canyouseeme.org or GRC the port is listed as closed or stealthed.
    I am able to view the cam from my office at rtsp://camname:554/xxxxx using Quicktime or Realplayer.  However, neither my phone nore my buddies can connect.
    My question, since I can view the mobile streaming feed outside of my LAN using Realplayer or Quicktime, is "Am I configured properly for mobile (rtsp) streaming?"  Is this a cellphone issue rather then a configuration issue?
    Solved!
    Go to Solution.

    Sorry for the above post, I confirmed my cam is properly streaming mobile video.  The video feed was accessed using a Samsung Omnia and Blackberry Curve.
    I am now home and confirm that even though I set up port forwarding for port 5000, that port is listed as closed via canyouseeme.org.  The feed works though, so I'm happy.

  • Record rtsp streams with azure media services

    Hello.
     I see that Azure media service now has rtsp streaming support, but, as I understand, it can stream videos from azure, but what about recording of incoming rtsp streams? Is it possible to record rtsp streams with Azure media Service?
    Andrey

    Quick correction for you... We support RTMP.  Not RTSP.
    You can send a live RTMP stream to us and we will record it.  You just need to enable a live Channel and start a Program on it.  It will archive the live stream to storage so that you can play it back as VOD.

  • Recieve http or/and rtsp stream on iphone possible?

    hi i made up a LAN at home with own server and some media on it.
    I was setting up a stream on the pc with VLC media player.
    I created a homepage on the server which is linked to the vlc streams.
    The question is: Is there a possibility to use the Link on the homepage to stream the media to the iphone.
    I tried with android and Nokia and all other stuff and it worked fine. But iphone got troubles.
    The Point is i want to open the homepage click the link and see the stream. Can i set the iphone to open the homepage with safari but when i click the link to open a specific app to recieve the link? (the other phones automatically open their mediaplayer and play the stream.)
    All in one: is it possible to recieve a http or rtsp stream with iphone via homepagelink? (also for ipod touch) 
    regards Jonas

    Welcome to the Apple Community.
    No sorry that isn't possible.

  • Is it possible to recieve a RTSP stream on Apple TV?

    Today we use a MacMini G4 to watch RTSP streams on our TV.
    That works fine
    The MacMini G4 also acts as digital hub, file photo and iTunes server,
    Ufortunately the MacMini is a bit to slow for YouTube and the large photo database. So we want to set up an Apple TV for streaming our media and RTSP streams. Is there a way to recieve RTSP streams on Apple TV?
    One of the kids favorite streams is Rtsp://rtsplive.dr.dk:80/livestream52.sdp (danish children tv, may not be served to clients outside DK).
    regards

    Welcome to the Apple Community.
    No sorry that isn't possible.

  • How does LinkSys WRT54G v7 support RTSP streaming service?

    Hello,
    I'm using LinkSys WRT54G v7 and I can see RTSP videos using VLC player from m.youtube.com. Strangely, I cannot play videos if other AP such as DLINK is used instead of LinkSys.
    I analyzed the packets and found out that RTSP server(youtube) sends RTP packets to client's ports which are acquired at RTSP SETUP procedures. Then the packets from server cannot reach the client because UDP hole is not punched at the AP.   
    But, when I use LinkSys, the RTP packets can traverse the NAT.
    Here goes my question. Does LinkSys provide the NAT traversal of the RTSP streaming service? Then, why can't I find any feature list about this from the LinkSys product information? Any explanation about this?
    Thank you in advance for your help!
    Solved!
    Go to Solution.

    1. None of the NAT helpers in Linksys firmware are documented anywhere.
    2. Possibly, they have added a helper for RTP.
    3. It could also be that the VLC player forwards the port using UPnP.

  • RTSP stream downloads video rather than displaying...

    I've got an internet security cam that I can view on my PC as an RTSP stream with Quicktime, Windows Media Player, Real Player, etc.
    My E71x has Real Player and when I enter the same address that streams on my PC, the MediaNet app starts to download the stream, rather than displaying the video.  It will go as long as I leave it, downloading MB of data.
    Does anybody know how to get this RTSP stream to display as video rather than download?  I've tried Opera and Bolt but neither pull up Real Player like MediaNet.  I know the RTSP on the phone must be working because the YouTube app works like a champ.

    You can specify a folder on a computer (or iPhoto events etc on a Mac) though you may not get perfect control over display order.
    Use iTunes>File>Home Sharing>Choose photos to share etc
    iTunes would need to be running on teh LAN to support this.
    AC

  • JMF video streaming

    Hi all,
    I want to use JMF video streaming api but I have no idea how to do it.
    I want to create several "agents" where each agent streams a single video to a certain ip address . (actually i want each agent to stream to the same computer)
    I want in my application (not the agents applications) to capture each of these streams and display each of them seperately.
    How can this be achieved with JMF ?
    thx.

    no one ????

  • JMF RTSP Client features: Recording & Playing?

    Hello all,
    we hace decided to use RTSP to use in our video surveillance application. We will have a central server with a RTSP server (DSS or other, we haven't decided yet) and users will connect to it with the JMF Client.
    Our doubt is to know what is implemented in JMF RTSP Client, it can receive video from the server (PLAY) and send it to the server (RECORD) or one of the features is not implemented? In this case, has someone implemented it? Is easy to realise?
    About the server we suppose that is better to use the of a commercial one (DSS) and program the interaction with the rest of the central server that design a RTSP Server in JMF. What do you think?
    Thanks in Advance :)

    if you download the source code for jmf, there is RTSP code there.
    It will give you guidence on how it works.
    http://wwws.sun.com/software/communitysource/jmf/download.html
    Using DSS will work, but there are brick walls, you will hit.There are posts about dss4 and dss5.
    I do not know if anyone has succeeded in what you want, but I know that a lot of work will get the job done.
    good luck ;)

  • HTTP Proxy Blocks RTSP Streaming

    Hi all, at my work we have a proxy server required to get on to the web. I setup OSX in the network pref with the HTTP proxy but when i activate this all of my rtsp streaming fails. I notice there is an independent setting for an RTSP proxy but we don't have this.
    Not that ut helps but our XP machines are setup for the proxy and they're QT streaming is fine.
    Cheers

    Sorted, had to type the name of the server that i wanted to bypass the proxy in the text box under the prefs.

  • RTSP Stream causes unexpected quit

    When trying to run either a live or file based RTSP stream, the application dies (whether it be QT or Safari or etc..). Trying a different OS fixes the problem. Trying a different account on the current OS fixes the problem, so I think it's related to the current user. I've tried trashing QT prefs but that's done nothing.
    Any ideas?

    Might try reinstalling the plugin... or contacting the dvMatte folks about compatibility?
    Jerry

  • Just reading a RTSP stream

    hello,
    I would like to read just a RTSP streaming, without the need to display it.
    The goal is just to generate a load to the server side and leave the client as light as possible, in order to run many threads at the same time.
    is it possible?
    thanks!
    stefano

    thanks for the link.
    do you know if there is a JSR 135 class that can be used to do something like
    in = rtspURL.getInputStream();
    int ch;
    while ((ch = in.read()) != -1) {
    bytesDownloaded++;
    }

  • IPv6 RTSP streaming for Java JMF works. Details.

    Originally sent to the jmf-interest list, I thought I would put a copy here as well.
    Java 1.4x and JMF2.1.1(a and up) collectively support IPv6 RTP (over UDP) and RTSP (over TCP) for streaming video [tested on redhat Linux 7.3 and Solaris 8].
    For more information including the details as to what is required to make it work, please refer to:
    http://www.ctie.monash.edu.au/DSS-IPv6/jmf-ipv6.htm
    IBM's MPEG-4 decoder for JMF does NOT support use for streaming video - due to an issue with SDP configuration and interpretation.
    Daniel Grimm
    CTIE, Monash University
    Victoria, Australia
    ph. (+61 3) 9905 2498

    I tried to let run the jmstudio tool with IPv6, like you described on your web page. However the dialog only alows IPv4 addresses. DNS names or IPv6 addresses can not be entered. I started the program with:
    java -Djava.net.preferIPv6Addresses=true JMStudio
    Did you change the source code of jmstudio to be able to enter dns names or was the IPv6 support removed in version 2.1.1e?
    Thank you
    Lukas Widmer

Maybe you are looking for

  • Missing fonts - present in font Book, missing in iWork!

    I'm baffled by this. I just tried to use some Zapf Dingbats characters in Numbers (iWork 09 running in OS X 10.8.2) and the letters just come out as a standard looking Sans Serif font. So I opened font Book expecting Zapf to be absent. But no, it's i

  • Thumbnails wrong in Finder -- is there a way to refresh them?

    When I edit a photo in Preview the small thumbnail changes to a generic jpg icon (in list and column view,) and the larger thumbnail (in icon view) remains that of the photo before it was edited. I can't figure out any way to refresh the thumbnail di

  • How much data does Apple Maps use?

    I used maps for 15-20 minutes and it used 300 MB of network data.  Looking for an answer because I only get 2GB per month and I wasted almost 20% of it in less than a half hour.

  • Sales district field in Quotation/Sales order

    Hi Gurus,               on which screen i can see the "Sales district" field in Quotation/Sales order/Inquiry? Thank you ANil

  • Server IP has changed - server does not start anymore

    HELP our network hoster has changed all IPs of our network, and now, the server BO does not start anymore on the server it was installed ...  does anyone know where could from the issue ? .. thanks ...