[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Ranter or evangelist?



>Tim wrote:
> jackson byers wrote:
>> any suggestions for command line playing of radio internet streams?

>mplayer http://example.com

>or, mplayer -playlist http://example.com

 [byers f10 ~]$ mplayer http://www.abacast.com/media/pls/kcsm/kcsm-kcsm-sc32.pls
MPlayer SVN-r28461-4.3.2 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
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://www.abacast.com/media/pls/kcsm/kcsm-kcsm-sc32.pls.
Resolving www.abacast.com for AF_INET6...
Couldn't resolve name for AF_INET6: www.abacast.com
Resolving www.abacast.com for AF_INET...
Connecting to server www.abacast.com[198.145.250.78]: 80...
Cache size set to 320 KBytes


Playing http://sc1.abacast.com:8242.
Resolving sc1.abacast.com for AF_INET6...
Couldn't resolve name for AF_INET6: sc1.abacast.com
Resolving sc1.abacast.com for AF_INET...
Connecting to server sc1.abacast.com[216.218.147.60]: 8242...
Name   : KCSM Jazz 91 * The Bay Area's Jazz Station * Stream 332 *
Listener Supported * KCSM Jazz 91 * www.kcsm.org *
Genre  : Jazz
Website: http://www.kcsm.org
Public : yes
Bitrate: 32kbit/s
Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)
ICY Info: StreamTitle='';StreamUrl='';
Cache fill: 17.50% (57344 bytes)
Audio only file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 915 bits!
AUDIO: 16000 Hz, 2 ch, s16le, 32.0 kbit/6.25% (ratio: 4000->64000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] 16000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mpg123: Can't rewind stream by 20 bits!
A:6236.9 ( 1:43:56.8) of -0.0 (unknown)  0.3% 45%

MPlayer interrupted by signal 2 in module: play_audio

MPlayer interrupted by signal 2 in module: enable_cache
A:6236.9 ( 1:43:56.9) of -0.0 (unknown)  0.3% 45%
Exiting... (Quit)
[byers f10 ~]$


that exiting was caused by my ctl-c


so, mplayer working to play radio stream
for me on f10:

 [root f10 ~]# uname -a
Linux f10.pacbell.net 2.6.27.25-170.2.72.fc10.i686 #1 SMP Sun Jun 21
19:03:24 EDT 2009 i686 i686 i386 GNU/Linux

albeit with text output much of which I can't make any sense of.
================

using a downloaded kcsm-kcsm-sc64.pls  like this doesnt work:

[byers f10 Download]$ mplayer kcsm-kcsm-sc64.pls
MPlayer SVN-r28461-4.3.2 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
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 kcsm-kcsm-sc64.pls.


Exiting... (End of file)
[byers f10 Download]$

it just quits, no sound

=====
but using a downloaded kcsm-kcsm-sc64.pls  like this does:

[byers f10 Download]$ mplayer -playlist kcsm-kcsm-sc64.pls
MPlayer SVN-r28461-4.3.2 (C) 2000-2009 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
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.abacast.com:8240.
Resolving sc1.abacast.com for AF_INET6...
Couldn't resolve name for AF_INET6: sc1.abacast.com
Resolving sc1.abacast.com for AF_INET...
Connecting to server sc1.abacast.com[216.218.147.60]: 8240...
Name   : KCSM Jazz 91 * The Bay Area's Jazz Station * Stream 264 *
Listener Supported * Jazz 91 * www.kcsm.org
Genre  : Jazz
Website: http://www.kcsm.org
Public : yes
Bitrate: 64kbit/s
Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)
ICY Info: StreamTitle='';StreamUrl='';
Cache fill: 15.00% (49152 bytes)
Audio only file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 999 bits!
AUDIO: 22050 Hz, 2 ch, s16le, 64.0 kbit/9.07% (ratio: 8000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mpg123: Can't rewind stream by 13 bits!
A:  23.8 (23.7) of 0.0 (unknown)  0.4% 45%

MPlayer interrupted by signal 2 in module: play_audio


MPlayer interrupted by signal 2 in module: enable_cache
A:  23.8 (23.8) of 0.0 (unknown)  0.4% 45%
Exiting... (Quit)
[byers f10 Download]$

=============
so the cmdline operation of mplayer does  work for me
and no skips!
[unlike totem which has a gui, but lots of skips]

mplayer with a gui that worked,
with its own volume control would be nice
but for now I am happy

thanks much to Tim, and Antonio
Jack


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]