On Tue, 2005-03-08 at 21:51 +0800, Justin wrote:
> On Tue, 2005-03-08 at 19:31 +0800, Ow Mun Heng wrote:
> > From: Justin <[EMAIL PROTECTED]>.net>
> > Re: Playing Shoutcast/Icecast Streams   
> > 2005-03-07 17:37  
> >  On Mon, 2005-03-07 at 10:28 +0800, Ow Mun Heng wrote:
> >  > Hi All,
> >  > 
> >  > What"s the best way to actually be able to play Internet Radio?
> >  > 
> >  > eg: Shotcast/Icecast Streams.
> >  > 
> >  > I noticed the plugin "shoutcast grabber.pl" but am unsure how to use it.
> >  > 
> >  > Can anyone help me out with this? 
> >  > 
> >  > ps: I don"t want to run a icecast server.
> >  > 
> >  
> >  I added the following line to my AUDIO_ITEMS section ;
> >  
> >  ("WebRadio", "/home/freevo/fxd/webradio.fxd"),
> >  
> >  Location of the fxd file is wherever you want, but the fxd file contains
> >  the info for each radiostation. Like so;
> >  
> >  ...................
> >  
> > [SNIP]
> >  .................
> >  
> >  The only problem I appear to have with this system is forcing the
> >  webradio audio to use my digital out hwplug from my soundcard, whereas
> >  all my other movies and music use digital flawlessly. (*shrug*)
> >  
> > 
> > 
> > 
> > Thanks Justin, It worked perfectly. The only thing which is not working
> > perfectly is unfortunately the Audio Stream played by either Mplayer or
> > fbxine. There seems to be cracks and hisses in the stream when played
> > from xine. Is there another alternative for this?? (trying it out from
> > my laptop using xine cracks and hisses, xmms is fine.)
> > 
> 
> Does it crack and hiss over the top of the broadcast? or do you only get
> cracks and hisses?  If you only get cracks and hisses then I suspect
> (only maybe) that your audio setup could be trying to passthrough into a
> non-digital receiver (or some other such mismatch).
> 
> It could well be similar to the problem I am having.  Xmms also works
> perfectly for me in digital, but only with certain stream types (xmms
> does not handle them all).  In my case I would prefer to use mplayer, as
> it supports all the stream types.  Unfortunately there appears to be a
> problem with the webradio plugin in freevo, where it does not pay
> attention to /home/user/.mplayer/config default settings, nor the
> default settings  in the freevo video section.  
> 
> There may be an easy way to set webradio mplayer settings.. I just
> haven't seen it documented.  If anyone has a clue on this, some
> enlightenment would be appreciated.
> 
> -Justin
> 
> 


I found a fix for this.  It isn't particularly elegant, but follows;

As the webradio plugin appears to ignore much of
the /user/.mplayer/config as well as mplayer settings in freevo (is this
because mplayer is called as '-slave' ?) you need to specify the mplayer
options within the webradio fxd file itself.  An example for digital
playback follows;


<?xml version="1.0" ?>
<freevo>
  <container title="Web Radio" type="webradio">
    <audio title="6PR">
      <url>http://203.30.47.38/6pr</url>
      <cover-img>6PR.jpg</cover-img>
      <mplayer_options>-ao alsa:device=hw=0.3 -ac hwac3, -format
512</mplayer_options>
    </audio>
  </container>
</freevo> 


Your required settings will likely be different, but this is where they
can go.  Also note that this mplayer_options line must be included with
each station (unless someone can suggest an alternative).



Regards,

-- 
Justin <[EMAIL PROTECTED]>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to