Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Streaming Media, .wax, .m3u, mms< Next Oldest | Next Newest >
trico1 Offline





Group: Members
Posts: 8
Joined: Jan. 2006
Posted: Mar. 10 2008,17:20 QUOTE

Quote (lucky13 @ Mar. 10 2008,11:30)
Improper set up? Are you using mplayer console but not opening in a terminal? I don't know if that would freeze it or not. If that's your intention (to not open up all the skinned GUI apps), you may need to write a shell wrapper and then use it for whichever MIME types (I do that with various console apps).

Most online streams will be pls or icecast, not m3u playlists. I haven't tried playing m3u playlists online (much less with mplayer -- which is not in the base so this question probably belongs in extensions), but I would think xmms would do just fine with those.

I'm using the gui version of mplayer and xmms also freezes the computer.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Mar. 10 2008,20:38 QUOTE

Quote
I'm using the gui version of mplayer and xmms also freezes the computer.

Do you have xmms properly configured? Have you tried playing a local mp3 or ogg to make sure? Have you tried launching xmms with a URI to whichever website? I don't know if xmms will play remote m3us (unless maybe they include an accurate URI for each file in them) but xmms works perfectly fine for me in DSL for pls streams. Playing Real Media files in Linux requires proprietary codecs and/or Helix player from Real. I have no idea if Windows wax codecs are available for Linux but my guess is they aren't -- probably not for xmms anyway. Have you checked for pls streams of the stuff you're interested in listening to?


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Mar. 11 2008,00:00 QUOTE

Load codecpak.dsl if using the old mplayer.dsl or mplayer-1.0pre8.uci to get the realmedia codecs.

You might like to post the link to the radio stream you want so we can get try to get it working for you.

OR easier: you could try the realpalyer uci from the uci section of the extensions repo.
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: Mar. 11 2008,17:57 QUOTE

I haven't used the mplayer extension in DSL but I just installed it in Debian. I noticed that it didn't automatically do anything for any MIME-types -- e.g., using "gmplayer" as the command for playing a MPG resulted in an error box saying I didn't select a video output (-vo) option. So I wrote a quick wrapper (put in ~/bin and named myvideowrapper) that included x11 for output:
Code Sample

#!/bin/bash
exec /path/to/mplayer -vo x11 "$@"

Then I did chmod u+x and added that as my default for mpg (also works for wmv) in firefox. Voila, it works. It also works as stand alone launcher if you want to use it in dfm for local video files. Use gmplayer instead of mplayer if you want the ugly looking GUI thing to control playback.

I also decided to try it on a local m3u and found I needed to set the -playlist tag. I just did the same thing with a saved pls playlist and with -playlist it connected right up to the Smooth Jazz Tampa Bay server:
ICY Info: StreamTitle='Metro - Metrocafe';StreamUrl='http://www.smoothjazztampabay.com'

So I've made another wrapper like the one above with -playlist for playlists that can be used in console or for firefox or opera, dfm, rox, etc.

myplaylistwrapper (chmod u+x)
Code Sample

#!/bin/bash
exec /path/to/mplayer -playlist "$@"


I don't know if any of this will be helpful in getting mplayer to work for you, but it really helps to open things from console to get output and see where the problems might lie. Like I wrote above, I don't know if the DSL package includes scripts for various flags but that might be where the problem lies.

EDIT/Clarification: Using wrappers in dfm and rox isn't necessary if you have all your apps set up as you want them for MIME-types, but can still be useful if you want to open things in different ways (e.g., you could use a wrapper for mpg321 in or out of a terminal if xmms is your default for playing mp3 files and you want another option available).

Edit2: Posted shot to show it works.
http://lucky13linux.wordpress.com/2008/03/11/553/


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
8 replies since Mar. 09 2008,20:31 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Streaming Media

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code