[MPlayer-users] SHOUTcast and multi-references metafiles

Guillaume POIRIER poirierg at gmail.com
Tue Nov 8 22:12:50 CET 2005


Hi,

On 11/8/05, nicolas.baly at epfl.ch <nicolas.baly at epfl.ch> wrote:
> > How does SHOUTcast work? Is there a way to access media file that is being
> > streamed (file extension: mp3...)?
> > I try to find (by browsing) the media file URL (mp3) from the one given in
> > the PLS file, but I get lost in a loop.
> >
> > I also noticed that some properties in PLS files change in time.
> > ex:
> > File2=http://64.236.34.196:80/stream/1018
> > Title2=(#2 - 629/15163) Groove Salad: a nicely chilled plate of ambient
> > beats
> > and grooves. [SomaFM] Length2=-1
> >
> > File2=http://64.236.34.196:80/stream/1018
> > Title2=(#2 - 617/14981) Groove Salad: a nicely chilled plate of ambient
> > beats
> > and grooves. [SomaFM] Length2=-1
> >
> > Another question:
> > How does a player choose the link (URL) contained in a metafile or PLS file,
> > in the case there are multiple URLs references? Does he take the first link it
> > can connect to? Does it depends on the available bandwidth?
> >
> > Sorry for these vague questions. If anybody is motivated to enlight me,
> > thanks!
> >
> > A+ nico
> >
>
> Hi!
>
> Sorry, but my question is more general. MPlayer works properly, I just need
> these information.

Well, I'm not sure if I have understood you, but you should definitely
have a look at the code in libmpdemux/http.c and probably dig the
archives of -dev-eng for the mail "[PATCH] Displaying SHOUTcast
title".

Good luck

Guillaume
--
Reading doesn't hurt, really!
  -- Dominik 'Rathann' Mierzejewski




More information about the MPlayer-users mailing list