大多用mplayer播放。
我的mplayer播放本地文件全部都没问题了。
mplayer配置文件内容如下
代码: 全选
# Write your default config options here!
font=/usr/share/fonts/winfonts/SIMYOU.TTF
subcp=cp936
subfont-autoscale=2
subfont-text-scale=5
sub-fuzziness=1
monitoraspect=4:3
prefer-ipv4=1
代码: 全选
mplayer mms://alive.bjradio.com.cn/fm974
MPlayer 1.0rc2-4.1.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1400MHz (Family: 6, Model: 9, Stepping: 5)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
/usr/share/fonts/winfonts/SIMYOU.TTF doesn't look like a bitmap font description, ignoring.
Cannot load bitmap font: /usr/share/fonts/winfonts/SIMYOU.TTF
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 mms://alive.bjradio.com.cn/fm974.
STREAM_ASF, URL: mms://alive.bjradio.com.cn/fm974
Resolving alive.bjradio.com.cn for AF_INET...
Connecting to server alive.bjradio.com.cn[60.28.207.20]: 1755...
Connected
read error:: Operation now in progress
pre-header read failed
Resolving alive.bjradio.com.cn for AF_INET...
Connecting to server alive.bjradio.com.cn[60.28.207.20]: 80...
Resolving alive.bjradio.com.cn for AF_INET...
Connecting to server alive.bjradio.com.cn[60.28.207.20]: 80...
Cache size set to 64 KBytes
Cache fill: 12.50% (8192 bytes) Ahhhh, stream_chunck size is too small: 4
Error while parsing chunk header
Cache fill: 14.93% (9783 bytes)
ASF file format detected.
[asfheader] Audio stream found, -aid 1
Clip info:
name:
author:
copyright:
comments:
==========================================================================
Forced audio codec: mad
Opening audio decoder: [dshow] Win32/DirectShow decoders
AUDIO: 8000 Hz, 1 ch, s16le, 4.9 kbit/3.85% (ratio: 616->16000)
Selected audio codec: [acelp] afm: dshow (ACELP.net Sipro Lab Audio Decoder)
==========================================================================
AO: [alsa] 48000Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 11.7 (11.6) of 12.0 (12.0) 1.8% 0%
Exiting... (End of file)
zhulx@zhulx-x31:~/.mplayer$
重试的结果一样,经过多次试验仍然一样,确定不是网络问题。
代码: 全选
wget mms://alive.bjradio.com.cn/fm974
more fm974
代码: 全选
[Reference]
Ref1=http://alive.bjradio.com.cn/fm974?MSWMExt=.asf
Ref2=http://10.60.1.2:80/fm974?MSWMExt=.asf
播放这个地址也一样的结果。
代码: 全选
http://alive.bjradio.com.cn/fm974?MSWMExt=.asf
论坛里面的gmlive也下了,也播放不了,一直ready...