Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   listening to radio stations (http://www.linux-archive.org/debian-user/3628-listening-radio-stations.html)

Jude DaShiell 11-23-2007 03:01 PM

listening to radio stations
 
That stream would have been played with winamp if someone were using
windows and iTunes was able to do it for a time yesterday. Has mplayer
been able to play .pls streams before in your experience? If so, then
their site is down for whatever reason.




On Fri, 23 Nov 2007, Kevin Mark wrote:


On Fri, Nov 23, 2007 at 08:17:42AM -0600, Jude DaShiell wrote:

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 I had that working fine on my
mac mini yesterday then the stream went away so I am interested to know if
debian can play this too if it's actually working. It's in the way of a
cross check.



Below is the output I got from my Ubuntu system using mplayer (just as a reference point).
The version is "MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team"
----------------------------------------------------------------------------------
$ mplayer http://sc1.liquidviewer.com:9062/listen.pls
MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Model: 8, Stepping: 3)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
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.

Playing http://sc1.liquidviewer.com:9062/listen.pls.
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


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
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle=';StreamUrl=';
Cache fill: 12.50% (40960 bytes)
Audio file file format detected.
================================================== ========================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 22050 Hz, 1 ch, s16le, 24.0 kbit/6.80% (ratio: 3000->44100)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
================================================== ========================
[AO SDL] Samplerate: 22050Hz Channels: Mono Format s16le
AO: [sdl] 22050Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 45.4 (45.4) of -0.0 (unknown) 0.8% 53%
----------------------------------------------------------------------------------

--
| .'`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian! |
|_______ Unless I ask to be CCd, assume I am subscribed _______|


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Hugo Vanwoerkom 11-23-2007 04:22 PM

listening to radio stations
 
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?

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Hugo Vanwoerkom 11-23-2007 04:30 PM

listening to radio stations
 
Ron Johnson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/23/07 08:17, Jude DaShiell wrote:

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 I had that working fine on
my mac mini yesterday then the stream went away so I am interested to
know if debian can play this too if it's actually working. It's in the
way of a cross check.


I just clicked on that link and gxine immediately popped up and
started playing the stream.

Oh, wait. You said "command line". Yeah, use mplayer.



I do that and I get "There is no demuxer available to handle that"
What do you have that I don't?

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Ron Johnson 11-23-2007 04:31 PM

listening to radio stations
 
-----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
CPU: AMD Sempron(tm) Processor 2800+ (Family: 15, Model: 28,
Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
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
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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.

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
Cache fill: 0.00% (0 bytes)
ICY Info: StreamTitle=';StreamUrl=';
Cache fill: 17.50% (57344 bytes)
Audio file file format detected.
================================================== ========================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 881 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)
================================================== ========================
AO: [alsa] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mpg123: Can't rewind stream by 456 bits!
mpg123: Can't rewind stream by 274 bits!
A: 4.3 (04.3) of -0.0 (unknown) 0.2% 75%

MPlayer interrupted by signal 2 in module: enable_cache


MPlayer interrupted by signal 2 in module: play_audio


- --
Ron Johnson, Jr.
Jefferson LA USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHRw5eS9HxQb37XmcRAu5/AJ9Xd4cB1Gh3NjjUs64mExKr9c+k9ACgo2KB
xxgORulyJhJmn8Ee5AsF7Co=
=IJ/g
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Ron Johnson 11-23-2007 04:44 PM

listening to radio stations
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/23/07 11:30, Hugo Vanwoerkom wrote:
> Ron Johnson wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 11/23/07 08:17, Jude DaShiell wrote:
>>> 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 I had that working fine on
>>> my mac mini yesterday then the stream went away so I am interested to
>>> know if debian can play this too if it's actually working. It's in the
>>> way of a cross check.
>>
>> I just clicked on that link and gxine immediately popped up and
>> started playing the stream.
>>
>> Oh, wait. You said "command line". Yeah, use mplayer.
>
>
> I do that and I get "There is no demuxer available to handle that"
> What do you have that I don't?

I guess that all depends on what you have...

Do you have win32codecs and gxine installed?

- --
Ron Johnson, Jr.
Jefferson LA USA

%SYSTEM-F-FISH, my hovercraft is full of eels
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHRxGIS9HxQb37XmcRAgBNAJ9vImVi8iYzCY1tMzo5Tp 2JY8TkVgCgm4ll
hUpOMWzGLHYAK2VZnLuzhl0=
=7D3l
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Nigel Henry 11-23-2007 05:48 PM

listening to radio stations
 
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.

Hugo Vanwoerkom 11-23-2007 07:08 PM

listening to radio stations
 
Ron Johnson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/23/07 11:30, Hugo Vanwoerkom wrote:

Ron Johnson wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/23/07 08:17, Jude DaShiell wrote:

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 I had that working fine on
my mac mini yesterday then the stream went away so I am interested to
know if debian can play this too if it's actually working. It's in the
way of a cross check.

I just clicked on that link and gxine immediately popped up and
started playing the stream.

Oh, wait. You said "command line". Yeah, use mplayer.


I do that and I get "There is no demuxer available to handle that"
What do you have that I don't?


I guess that all depends on what you have...

Do you have win32codecs and gxine installed?



It's the win32codecs that's missing. Thanks.

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

steef 11-23-2007 07:14 PM

listening to radio stations
 
Jude DaShiell wrote:
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 I had that working fine on
my mac mini yesterday then the stream went away so I am interested to
know if debian can play this too if it's actually working. It's in
the way of a cross check.




i am using xine (debian_etch: xine-ui) with the xine-libraries, and
compiled the xine-plugin. works great in seamonkey and (former) firefox.


steef

--
drs. steef van duin

publicist, research-journalist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

steef 11-23-2007 07:14 PM

listening to radio stations
 
Jude DaShiell wrote:
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 I had that working fine on
my mac mini yesterday then the stream went away so I am interested to
know if debian can play this too if it's actually working. It's in
the way of a cross check.




i am using xine (debian_etch: xine-ui) with the xine-libraries, and
compiled the xine-plugin. works great in seamonkey and (former) firefox.


steef

--
drs. steef van duin

publicist, research-journalist


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Jude DaShiell 11-23-2007 07:24 PM

listening to radio stations
 
Thanks much for the help in sorting this problem out. In this area of the
country most of the time when anyone gets clear radio reception it's
because they're bringing it in over the internet.





--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 08:15 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.