[MPlayer-users] Live radio stream dies immediately
Stephen Stocker
lpar at par1.net
Sun Sep 26 04:57:43 CEST 2004
Hi,
I can't help, but I did try dumping the stream to a file. It's weird,
the audio pops in, then drops out, repeatedly. I can't even describe
it accurately, but apparently it's doing about the same for both of
us.
I'm not sure if that "audio scrambling" message in your log could have
something to do with it or not, but I don't recall seeing it before.
Maybe somebody knows more, sorry I couldn't help more.
Take care,
Steve
>I'm trying to play radio streams from
>http://antfarm.co.za/anthelp/radioAnts.jsp
>
>The mono streams ( http://www.antfarm.co.za/clients/702/702_16.asx and
>http://www.antfarm.co.za/clients/yfm/yfm_16.asx ) work fine, but the stereo
>streams (e.g. http://www.antfarm.co.za/clients/5fm/5fm_22.asx ) give a short
>initial burst of sound and then the sound disappears. I use MPlayer
>1.0pre5.tar.bz downloaded and compiled by myself about a week ago on Linux.
>
>I have included the outputs of a stereo and a mono radio stream below.
>
>If anyone can help I will appreciate it.
>
>Morten
>
>-------------------------------------------------
>
>msj at 2[sound]$ mplayer -v -playlist http://www.antfarm.co.za/
>clients/5fm/5fm_22.asx
>MPlayer 1.0pre5-3.3.2 (C) 2000-2004 MPlayer Team
>
>CPU: Advanced Micro Devices K6-2 501.9 MHz (Family: 5, Stepping: 12)
>Detected cache-line size is 32 bytes
>CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
>Compiled for x86 CPU with extensions: MMX 3DNow
>
>Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
>directory
>Reading config file /home/msj/.mplayer/config
>Resolving www.antfarm.co.za for AF_INET...
>Connecting to server www.antfarm.co.za[196.35.64.35]:80 ...
>Cache size set to 320 KBytes
>Connected to server: www.antfarm.co.za
>Reading /home/msj/.mplayer/codecs.conf: Can't open '/home/msj/.mplayer/
>codecs.conf': No such file or directory
>Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/
>mplayer/codecs.conf': No such file or directory
>Using built-in default codecs.conf.
>CommandLine: '-v' '-playlist' 'http://www.antfarm.co.za/
>clients/5fm/5fm_22.asx'
>init_freetype
>get_path('font/font.desc') -> '/home/msj/.mplayer/font/font.desc'
>font: can't open file: /home/msj/.mplayer/font/font.desc
>font: can't open file: /usr/local/share/mplayer/font/font.desc
>Using MMX (with tiny bit 3DNow) 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 usleep() timing
>get_path('input.conf') -> '/home/msj/.mplayer/input.conf'
>Can't open input config file /home/msj/.mplayer/input.conf: No such file or
>directory
>Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
>or directory
>Falling back on default (hardcoded) input config
>get_path('5fm_22?WMThinning=0.conf') -> '/home/
>msj/.mplayer/5fm_22?WMThinning=0.conf'
>
>Playing mms://196.35.64.36/5fm_22?WMThinning=0.
>Filename for url is now mms://196.35.64.36/5fm_22?WMThinning=0
>Filename for url is now mms://196.35.64.36/5fm_22?WMThinning=0
>Trying ASF/UDP...
> ===> ASF/UDP failed
>Trying ASF/TCP...
>Connecting to server 196.35.64.36[196.35.64.36]:1755 ...
>connected
>unknown object
>unknown object
>unknown object
>file object, packet length = 1053 (1053)
>unknown object
>stream object, stream id: 1
>unknown object
>data object
>mmst packet_length = 1053
>Cache size set to 320 KBytes
>Connected to server: 196.35.64.36
>CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
>Cache fill: 17.50% (57344 bytes) ASF file format detected.
>
> Title: 5 FM Radio Stream
> Author: Antarm and Internet Solutions
> Copyright: SABC
> Rating: poweredBy http://www.antfarm.co.za
>
>============ ASF Stream group == START ===
> object size = 32
> stream count=[0x1][1]
> stream id=[0x1][1]
> max bitrate=[0x5863][22627]
>============ ASF Stream group == END ===
>ASF: packets: -1 flags: 9 max_packet_size: 1053 min_packet_size: 1053
>max_bitrate: 22627 preroll: 1578
>stream type: guid_audio_stream
>stream concealment: guid_audio_conceal_interleave
>type: 28 bytes, stream: 8 bytes ID: 1
>unk1: 0 unk2: 6CCE6200
>FILEPOS=0x965
>==> Found audio stream: 1
>======= WAVE Format =======
>Format Tag: 353 (0x161)
>Channels: 2
>Samplerate: 22050
>avg byte/sec: 2751
>Block align: 1022
>bits/sample: 16
>cbSize: 10
>Unknown extra header dump: [0] [44] [0] [0] [f] [0] [f9] [f] [0] [0]
>===========================
>ASF: audio scrambling: 1 x 1 x 1022
>Found movie at 0xA65 - 0xA65
>ASF: 1 audio and 0 video streams found
>ASF: Searching for audio stream (id:-1).
>Auto-selected ASF audio ID = 1
>Clip info:
> name: 5 FM Radio Stream
> author: Antarm and Internet Solutions
> copyright: SABC
>==========================================================================
>Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.
>FFmpeg's libavcodec audio codec
>INFO: libavcodec init OK!
>lavc_audio: error
>AUDIO: 22050 Hz, 2 ch, 16 bit (0x10), ratio: 2751->88200 (22.0 kbit)
>Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
>==========================================================================
>Checking audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
>[libaf] Adding filter dummy
>[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps
>= 2
>AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int
>AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
>alsa-init: requested format: 22050 Hz, 2 channels, Signed 16-bit
>(Little-Endian)
>alsa-init: compiled for ALSA-1.0.4
>alsa-init: setup for 1/2 channel(s)
>alsa-init: got device=0, subdevice=0
>alsa-init: 1 soundcard found, using: default
>alsa-init: pcm opend in block-mode
>alsa-init: chunksize set to 1024
>alsa-init: fragcount=16
>alsa-init: got buffersize=65536
>alsa: 22050 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
>AO: [alsa] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
>AO: Description: ALSA-0.9.x-1.x audio output
>AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
>AO: Comment: under developement
>Building audio filter chain for 22050Hz/2ch/16bit -> 22050Hz/2ch/16bit...
>[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps
>= 2
>[dummy] Was reinitialized, rate=22050Hz, nch = 2, format = 0x00000001 and bps
>= 2
>Video: no video
>Freeing 0 unused video chunks
>Starting playback...
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>alsa-space: free space = 65536, prepared --
>lavc_audio: error
>Uninit audio filters...
>[libaf] Removing filter dummy
>uninit audio: ffmpeg
>DEMUXER: freeing demuxer at 0x85d5318
>DEMUXER: freeing sh_audio at 0x85d6100
>alsa-uninit: pcm closed
>vo: x11 uninit called but X11 not inited..
>
>Exiting... (Quit)
>msj at 2[sound]$ mplayer -v -playlist http://www.antfarm.co.za/clients/yfm/
>yfm_16.asx
>MPlayer 1.0pre5-3.3.2 (C) 2000-2004 MPlayer Team
>
>CPU: Advanced Micro Devices K6-2 501.8 MHz (Family: 5, Stepping: 12)
>Detected cache-line size is 32 bytes
>CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
>Compiled for x86 CPU with extensions: MMX 3DNow
>
>Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
>directory
>Reading config file /home/msj/.mplayer/config
>Resolving www.antfarm.co.za for AF_INET...
>Connecting to server www.antfarm.co.za[196.35.64.35]:80 ...
>Cache size set to 320 KBytes
>Connected to server: www.antfarm.co.za
>Reading /home/msj/.mplayer/codecs.conf: Can't open '/home/msj/.mplayer/
>codecs.conf': No such file or directory
>Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/
>mplayer/codecs.conf': No such file or directory
>Using built-in default codecs.conf.
>CommandLine: '-v' '-playlist' 'http://www.antfarm.co.za/clients/yfm/
>yfm_16.asx'
>init_freetype
>get_path('font/font.desc') -> '/home/msj/.mplayer/font/font.desc'
>font: can't open file: /home/msj/.mplayer/font/font.desc
>font: can't open file: /usr/local/share/mplayer/font/font.desc
>Using MMX (with tiny bit 3DNow) 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 usleep() timing
>get_path('input.conf') -> '/home/msj/.mplayer/input.conf'
>Can't open input config file /home/msj/.mplayer/input.conf: No such file or
>directory
>Can't open input config file /usr/local/etc/mplayer/input.conf: No such file
>or directory
>Falling back on default (hardcoded) input config
>get_path('YFM?WMThinning=0.conf') -> '/home/msj/.mplayer/
>YFM?WMThinning=0.conf'
>
>Playing mms://196.35.64.36/YFM?WMThinning=0.
>Filename for url is now mms://196.35.64.36/YFM?WMThinning=0
>Filename for url is now mms://196.35.64.36/YFM?WMThinning=0
>Trying ASF/UDP...
> ===> ASF/UDP failed
>Trying ASF/TCP...
>Connecting to server 196.35.64.36[196.35.64.36]:1755 ...
>connected
>unknown object
>unknown object
>file object, packet length = 775 (775)
>unknown object
>stream object, stream id: 1
>unknown object
>unknown object
>data object
>mmst packet_length = 775
>Cache size set to 320 KBytes
>Connected to server: 196.35.64.36
>CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
>Cache fill: 17.50% (57344 bytes) ASF file format detected.
>
> Title: yfm 99.2
>
>============ ASF Stream group == START ===
> object size = 32
> stream count=[0x1][1]
> stream id=[0x1][1]
> max bitrate=[0x4102][16642]
>============ ASF Stream group == END ===
>ASF: packets: -1 flags: 9 max_packet_size: 775 min_packet_size: 775
>max_bitrate: 16642 preroll: 1578
>stream type: guid_audio_stream
>stream concealment: guid_audio_conceal_interleave
>type: 28 bytes, stream: 8 bytes ID: 1
>unk1: 0 unk2: 6CCE6200
>FILEPOS=0x7D9
>==> Found audio stream: 1
>======= WAVE Format =======
>Format Tag: 353 (0x161)
>Channels: 1
>Samplerate: 22050
>avg byte/sec: 2003
>Block align: 744
>bits/sample: 16
>cbSize: 10
>Unknown extra header dump: [0] [44] [0] [0] [f] [0] [a1] [b] [0] [0]
>===========================
>ASF: audio scrambling: 1 x 1 x 744
>Found movie at 0x977 - 0x977
>ASF: 1 audio and 0 video streams found
>ASF: Searching for audio stream (id:-1).
>Auto-selected ASF audio ID = 1
>Clip info:
> name: yfm 99.2
>==========================================================================
>Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
>dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer.
>FFmpeg's libavcodec audio codec
>INFO: libavcodec init OK!
>AUDIO: 22050 Hz, 1 ch, 16 bit (0x10), ratio: 2003->44100 (16.0 kbit)
>Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (ffmpeg))
>==========================================================================
>Checking audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
>[libaf] Adding filter dummy
>[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps
>= 2
>AF_pre: af format: 2 bps, 1 ch, 22050 hz, little endian signed int
>AF_pre: 22050Hz 1ch Signed 16-bit (Little-Endian)
>alsa-init: requested format: 22050 Hz, 2 channels, Signed 16-bit
>(Little-Endian)
>alsa-init: compiled for ALSA-1.0.4
>alsa-init: setup for 1/2 channel(s)
>alsa-init: got device=0, subdevice=0
>alsa-init: 1 soundcard found, using: default
>alsa-init: pcm opend in block-mode
>alsa-init: chunksize set to 1024
>alsa-init: fragcount=16
>alsa-init: got buffersize=65536
>alsa: 22050 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
>AO: [alsa] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
>AO: Description: ALSA-0.9.x-1.x audio output
>AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
>AO: Comment: under developement
>Building audio filter chain for 22050Hz/1ch/16bit -> 22050Hz/2ch/16bit...
>[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps
>= 2
>[libaf] Adding filter channels
>[channels] Changing number of channels to 2
>[dummy] Was reinitialized, rate=22050Hz, nch = 1, format = 0x00000001 and bps
>= 2
>Video: no video
>Freeing 0 unused video chunks
>Starting playback...
>alsa-space: free space = 65536, prepared --
>[libaf] Reallocating memory in module channels, old len = 0, new len = 65534
More information about the MPlayer-users
mailing list