[MPlayer-users] 'Transfer Complete' behavior when streaming ASF

John P. Johnson II JohnJ at adminconcepts.com
Thu Sep 4 00:25:03 CEST 2003


(sorry for the HTML mail earlier)

I have been trying to stream a particular ASF
located at mms://radio.sermonaudio.com/channel2
so my command line looks like this:

    mplayer mms://radio.sermonaudio.com/channel2


This plays just fine, but only for a little while. I was
able to get it to play for about 3.5 min once, but that
has been the longest. Sometimes the file plays for less
than 30 seconds. If I watch the readout, I can see that
the file buffers just as I would expect it to, however,
at some point it stops buffering and when the buffer is
empty, mplayer stops. I can usually use Ctrl-C to exit
(sometimes I have to kill -9 it), but that is about it.

When I turned on verbose mode (-v), I discovered what I
think is the culprit, but I don't know what to do about
it. Toward the end of the output the message
'=====> Transfer complete' is given and at that point the
file stops buffering.

Is there a way to tell mplayer that this is a continuous
stream and that it shouldn't ever stop transferring it? Or
maybe reconnect at the point that it thinks the transfer
is complete?

Following is the output of the command:

mplayer mms://radio.sermonaudio.com/channel2 -quiet -v > mplayer.dump
2>&1

------------------------------------------------------------------------
--

MPlayer dev-CVS-030902-10:50-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium P54C (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or
direct
ory
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open
'/root/.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: 'mms://radio.sermonaudio.com/channel2' '-quiet' '-v'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using X86 Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or
directo
ry
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('channel2.conf') -> '/root/.mplayer/channel2.conf'

Playing mms://radio.sermonaudio.com/channel2
Trying ASF/HTTP...
Failed to create AF_INET6 socket:
Resolving radio.sermonaudio.com for AF_INET...
Connecting to server radio.sermonaudio.com[64.208.234.201]:80 ...
=====> ASF Live stream
=====> ASF header chunk follows
Failed to create AF_INET6 socket:
Resolving radio.sermonaudio.com for AF_INET...
Connecting to server radio.sermonaudio.com[64.208.234.201]:80 ...
=====> ASF Live stream
Cache size set to 64 KBytes
Connected to server: radio.sermonaudio.com
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0.00% (0 bytes)    =====> ASF header chunk follows
Cache fill:  0.00% (0 bytes)    
Cache fill: 12.50% (8192 bytes)    
Cache fill: 12.50% (8192 bytes)    
Cache fill: 12.50% (8192 bytes)    ASF file format detected.
ASF: packets: 543  flags: 3  max_packet_size: 959  min_packet_size: 959
max_bi
trate: 16400  preroll: 567
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_none
type: 30 bytes,  stream: 9 bytes  ID: 1
unk1: 0  unk2: 0
FILEPOS=0x102
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 16000
avg byte/sec: 2000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=72
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
===========================
ASF: audio scrambling: 1 x 1 x 1

 Title: East of Eden
 Author: New York Pops
 Copyright: 1589, 1992
 Comment: 

Found movie at 0x1CB - 0x7F3EC
ASF: 1 audio and 0 video streams found
ASF: Searching for audio stream (id:-1).
Invalid plen type! assuming plen=0
Auto-selected ASF audio ID = 1
Invalid plen type! assuming plen=0
Clip info:
 name: East of Eden
 author: New York Pops
 copyright: 1589, 1992
 comments: 
========================================================================
==
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: using Pentium optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 2.0, Layer III, 16000 Hz 16 kbit Single-Channel, BPF: 72
Channels: 1, copyright: Yes, original: Yes, CRC: No, emphasis: 0
AUDIO: 16000 Hz, 2 ch, 16 bit (0x10), ratio: 2000->64000 (16.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
========================================================================
==
Checking audio filter chain for 16000Hz/2ch/16bit ->
16000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=16000Hz, nch = 2, format = 0x00000001
and bps =
2
AF_pre: af format: 2 bps, 2 ch, 16000 hz, little endian signed int 
AF_pre: 16000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 16000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16
-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 16000 Hz samplerate (requested: 16000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
AO: [oss] 16000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 16000Hz/2ch/16bit ->
16000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=16000Hz, nch = 2, format = 0x00000001
and bps =
2
[dummy] Was reinitialized, rate=16000Hz, nch = 2, format = 0x00000001
and bps =
2
Video: no video
Freeing 0 unused video chunks
Starting playback...
Invalid plen type! assuming plen=0

[This error is repeated over 500 times. I have taken the repeats out.]

Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0

=====> Transfer complete
[At this point mplayer stops buffering the stream)

Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0
Invalid plen type! assuming plen=0

[At this point mplayer stops and won't respond so I have to use
Ctrl-C (or kill -9) to get out and the following is put out]

MPlayer interrupted by signal 2 in module: decode_audio
Uninit audio filters...
[libaf] Removing filter dummy 
uninit audio: mp3lib
DEMUXER: freeing demuxer at 0x8239928  
DEMUXER: freeing sh_audio at 0x823a558  


MPlayer interrupted by signal 11 in module: free_demuxer

----------------------

John Johnson II
Administrative Concepts, Inc.



More information about the MPlayer-users mailing list