[MPlayer-users] How to play shoutcast / icecast title streams ?

Stefan stefanpublic at onlinehome.de
Thu Sep 15 12:37:29 CEST 2005


Hi!

Has anybody an idea how to enable "SHOUT/Icecast title streaming" with 
mplayer? When trying to listen to radio stations like di.fm, I always 
get an 404 error: requested stream not found.

This error only occured recently, since shoutcast.com (which relays 
those MP3 streams) started broadcasting with activated title streaming.

However, xmms/xine/amarok connect without problems. Nevertheless they 
are unuseable for my purposes. My media client needs an command line 
player as mplayer is.

I would really appreciate if anyone could help me, because I've tried on 
this for a long time now, without getting any further.

Thanks in advance.




$ mplayer -v http://64.236.34.4:5190/stream/1003

  MPlayer 1.0pre7-4.0.1 (C) 2000-2005 MPlayer Team
  CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, 
Stepping: 2)
  Detected cache-line size is 32 bytes
  CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
  Compiled with runtime CPU detection - WARNING - this is not optimal!
  To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.


  85 audio & 196 video codecs
  CommandLine: '-v' 'http://64.236.34.4:5190/stream/1003'
  init_freetype
  Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
  Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
  Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your 
system startup scripts.
  Using nanosleep() timing
  get_path('input.conf') -> '/home/me/.mplayer/input.conf'
  Can't open input config file /home/me/.mplayer/input.conf: No such 
file or directory
  Parsing input config file /etc/mplayer/input.conf
  Input config file /etc/mplayer/input.conf parsed: 59 binds
  Opening joystick device /dev/input/js0
  Can't open joystick device /dev/input/js0 : No such file or directory
  Can't init input joystick
  Setting up LIRC support...
  mplayer: could not connect to socket
  mplayer: No such file or directory
  Failed to open LIRC support.
  You will not be able to use your remote control.
  get_path('1003.conf') -> '/home/me/.mplayer/1003.conf'
  Playing http://64.236.34.4:5190/stream/1003.
  Filename for url is now http://64.236.34.4:5190/stream/1003
  Filename for url is now http://64.236.34.4:5190/stream/1003
  Resolving 64.236.34.4 for AF_INET6...
  Couldn't resolve name for AF_INET6: 64.236.34.4
  Connecting to server 64.236.34.4[64.236.34.4]:5190 ...
  --- HTTP DEBUG HEADER --- START ---
  protocol: [ICY]
  http minor version: [0]
  uri: [(null)]
  method: [(null)]
  status code: [404]
  reason phrase: [Resource Not Found]
  body size: [0]
  Fields:
  0 - icy-notice1:SHOUTcast Distributed Network Audio Server/posix 
v1.8.1<BR>
  1 - icy-notice2:The resource requested was not found<BR>
  --- HTTP DEBUG HEADER --- END ---
  Error: ICY-Server couldn't find requested stream, skipping!
  Unable to open URL: http://64.236.34.4:5190/stream/1003

  vo: x11 uninit called but X11 not inited..

  Exiting... (End of file)




More information about the MPlayer-users mailing list