On Friday 23 November 2007 18:31, Ron Johnson wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/23/07 11:22, Hugo Vanwoerkom wrote: > > Mathias Brodala wrote: > >> Hi Jude. > >> > >> Jude DaShiell, 23.11.2007 15:17: > >>> Do any command line tools exist in debian that will allow a user to > >>> listen to a streaming broadcast say from > >>> http://sc1.liquidviewer.com:9062/listen.pls > >> > >> Just use mplayer, it can play almost everything. Adding the > >> "-playlist" option > >> might be necessary if you receive an error about "avisynth.dll". (I > >> didn’t get > >> one while I tested the URL you gave, though.) > > > > Playing http://sc1.liquidviewer.com:9062/. > > Resolving sc1.liquidviewer.com for AF_INET6... > > Couldn't resolve name for AF_INET6: sc1.liquidviewer.com > > Resolving sc1.liquidviewer.com for AF_INET... > > Connecting to server sc1.liquidviewer.com[38.116.132.31]:9062 ... > > Cache size set to 320 KBytes > > Connected to server: sc1.liquidviewer.com > > > > > > Exiting... (End of file) > > > > > > Is that because I don't have broadband? > > Or there's a busy router upstream? > > This worked perfectly for me: ("signal 2" is the ^C I used to kill > it after a few seconds of audio.) > > $ mplayer -playlist http://sc1.liquidviewer.com:9062/listen.pls > MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
I just tried the link above prefixed by mplayer -playlist. I'm on dialup, and didn't expect anything, as some of these sites expect you to be using broadband, and nearly fell off my chair when I got sound output, and continuous sound at that. I tried it on FC2 (Sorry I havn't got Debian booted up at the mo), and the mplayer version installed from tarball on FC2, and is pretty ancient, but is MPlayer-1.0pre7try2. See below for the ouput I got from the Konsole on running, $ mplayer -playlist http://sc1.liquidviewer.com:9062/listen.pls $ mplayer -playlist http://sc1.liquidviewer.com:9062/listen.pls MPlayer 1.0pre7try2-3.3.3 (C) 2000-2005 MPlayer Team CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Stepping: 3) Detected cache-line size is 32 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0 Compiled for x86 CPU with extensions: MMX MMX2 SSE Resolving sc1.liquidviewer.com for AF_INET6... Couldn't resolve name for AF_INET6: sc1.liquidviewer.com Resolving sc1.liquidviewer.com for AF_INET... Connecting to server sc1.liquidviewer.com[38.116.132.31]:9062 ... Cache size set to 320 KBytes Connected to server: sc1.liquidviewer.com 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. Playing http://sc1.liquidviewer.com:9062/. Resolving sc1.liquidviewer.com for AF_INET6... Couldn't resolve name for AF_INET6: sc1.liquidviewer.com Resolving sc1.liquidviewer.com for AF_INET... Connecting to server sc1.liquidviewer.com[38.116.132.31]:9062 ... Name : WTOP 103.5 fm Genre : News Website: http://www.audiorealm.com Public : yes Bitrate: 24kbit/s Cache size set to 320 KBytes Connected to server: sc1.liquidviewer.com Cache fill: 17.50% (57344 bytes) Audio file detected. ========================================================================== Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 mpg123: Can't rewind stream by 323 bits! AUDIO: 22050 Hz, 2 ch, s16le, 24.0 kbit/3.40% (ratio: 3000->88200) Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3) ========================================================================== Checking audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le... AF_pre: 22050Hz/2ch/s16le AO: [oss] 22050Hz 2ch s16le (2 bps) Building audio filter chain for 22050Hz/2ch/s16le -> 22050Hz/2ch/s16le... Video: no video Starting playback... mpg123: Can't rewind stream by 67 bits! A: 75.1 (01:15.0) 0.7% 45% MPlayer interrupted by signal 2 in module: play_audio Just a bit of verification that the site outputs sound on dialup. Nigel. btw. I tried it earlier on Firefox, with Mplayerplug-in, but that didn't want to know.