Kubuntu Breezy - Absolute beginners

Sonntag, Januar 08, 2006

Watching Video streams - mms: and rtsp: protocol

If you succeeded in get working the mplayerplugin and realplayer within firefox (with Automatix or myguide) you maybe noticed that you can't play every video streams though.

If you try to watch videos e.g. on this site you'll see that only the http:// - links are working. If you click on mms: or rtsp: links, you'll either receive an error by firefox ("unknown protocol" or something similar), or, as it was my case, it will try to open the streams with totem - and totem doesn't know how to handle that protocol, meaning: it won't work.

So how can you get the videos working?
With properly installed mplayer and realplayer, you can.

Open your firefox. Type as url: about:config
You'll see something like this picture:

Now just rightclick somwhere into the main window. A little box with options to choose will appear. Choose "new", then "string". Then copy this line into the appearing text field:
Into the next text field: /usr/bin/X11/mplayer
Now you do the same thing again, but this time you choose not "string" but "boolean", and the line to copy is: network.protocol-handler.external.mms. Then set "true".

In the end what you've done should look like that:

("Vom Benutzer definiert" means: "defined by user")

Close and restart firefox. Now your firefox will ask you to open your mplayer when clicking on a mms: link. Of course you say "yes" :-). Don't panic if it takes some time to open mplayer - I sometimes had to wait for more than 10sec. But it works.

For rtps the procedure is the same:
Firefox --> about:config --> rightclick --> new --> string --> network.protocol-handler.app.rtsp --> /usr/bin/X11/realplay

Firefox --> about:config --> rightlick --> new --> boolean --> network.protocol-handler.external.rtsp --> true

The lines you've created should look like that:

Close and restart firefox. Now the rtps: streams should be handled by realplayer - this one also make take some time.


  • I tried these steps. Didn't work for me for either type of stream. My gosh streaming is so buggy on linux.

    By Anonymous Anonym, at 2/09/2006 07:52:00 nachm.  

  • hey,
    I hope you read this: check if the paths I've given (/usr/bin/X11/mplayer and /usr/bin/X11/realplay) are the right ones for your system (if you're using Kubuntu I think it should be the same, but check it though with whereis mplayer and whereis realpay).
    If the paths are ok I really don't know how what else it could be, sorry.


    By Blogger Zerlinna, at 2/18/2006 02:45:00 vorm.  

  • Doesn't work for me either, tried:

    After verifying that it was safe to access an external site....absolutely nothing happens. (MEPIS/Ubuntu)

    By Anonymous Lance Haverkamp, at 1/07/2007 11:41:00 nachm.  

  • hi lance,

    I've read your posting at http://www.mepislovers.com/forums/index.php?topic=3777.0
    For your special case it's very easy to listen to the mp3 you want to (though it doesn't solve the general problem), just leave away the "mms" before the link, then it's just an ordinary www-link and if you have mozilla-mplayer installed it works like a charme. :-)

    If you encounter problems to play other mms-streams you can find out what causes the problem by launching mplayer by konsole, eg:
    mplayer mms://www.zondervan.com/media/samples/audio/0310257344_audiosample.mp3

    (in one line). And you'll get an error which is more meaningful than just "nothing happens".

    And, by the way, this blog is no longer supported, I switched to
    http://zerlinna.blogweb.de, so if you have any other comments please leave it at


    By Blogger Zerlinna, at 1/08/2007 01:27:00 vorm.  

Kommentar veröffentlichen

Links to this post:

Link erstellen

<< Home