[MPlayer-users] ds_fill_buffer problem

Dominique Brazziel dbrazziel at snet.net
Tue Nov 2 18:52:17 CET 2010


I can recreate this problem by pausing a music playlist in the middle of
a song then resuming after a lengthy delay.

As for your specific test, I noticed that the cache size is defaulting
to 64K.  I tested with cache size set to 320K (the normal default for
my installation (Debian version 1.0~rc3+svn20090405-1+b1) and 
didn't have the ds_fill_buffer problem:

mplayer -v -ao null -vo null -vc null -cache 320
mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
MPlayer SVN-r29142-4.4.3 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 10
CPU: Intel(R) Atom(TM) CPU N270   @ 1.60GHz (Family: 6, Model: 28,
Stepping: 2)
extended cpuid-level: 8
extended cache-info: 33587264
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/dbrazziel/.mplayer/codecs.conf'
Reading /home/dbrazziel/.mplayer/codecs.conf: Can't open
'/home/dbrazziel/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf':
No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --confdir=/etc/mplayer
--datadir=/usr/share/mplayer --codecsdir=/usr/lib/codecs --enable-xvmc
--enable-sdl --enable-ossaudio --enable-lirc --enable-gui
--enable-freetype --enable-menu --enable-largefiles
--disable-bitmap-font --disable-ggi --disable-xvid --language=all
--disable-xmms --disable-arts --disable-aa --disable-mad
--disable-musepack --disable-libdv --disable-libavutil_a
--disable-libavcodec_a --disable-libavformat_a --disable-libpostproc_a
--disable-libswscale_a --enable-faad --target=i586-linux
--enable-win32dll --enable-real --enable-xanim
--enable-runtime-cpudetection --disable-libdvdcss-internal
--enable-dvdread --disable-mencoder --enable-debug --enable-tv-v4l2
--enable-xmga --enable-mga --enable-3dfx --enable-tdfxfb --enable-fbdev
CommandLine: '-v' '-ao' 'null' '-vo' 'null' '-vc' 'null' '-cache' '320'
'mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/dbrazziel/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/dbrazziel/.mplayer/input.conf'
Can't open input config file /home/dbrazziel/.mplayer/input.conf: No
such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 89 binds
Setting up LIRC support...
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.
get_path('bbc7_-_friday_0430.wma.conf') ->
'/home/dbrazziel/.mplayer/bbc7_-_friday_0430.wma.conf'

Playing mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma.
get_path('sub/') -> '/home/dbrazziel/.mplayer/sub/'
Filename for url is now
mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
Filename for url is now
mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
STREAM_ASF, URL:
mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
Trying ASF/UDP...
  ===> ASF/UDP failed
Trying ASF/TCP...
Resolving wm.bbc.co.uk for AF_INET6...
Couldn't resolve name for AF_INET6: wm.bbc.co.uk
Resolving wm.bbc.co.uk for AF_INET...
Connecting to server wm.bbc.co.uk[212.58.252.11]: 1755...
Connected
unknown object
unknown object
file object, packet length = 2261 (2261)
unknown object
unknown object
stream object, stream ID: 1
unknown object
data object
mmst packet_length = 2261
Cache size set to 320 KBytes
STREAM: [null] mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma
STREAM: Description: mms and mms over http streaming
STREAM: Author: Bertrand, Reimar Doeffinger, Albeu
STREAM: Comment: originally based on work by Majormms (is that code
still there?)
CACHE_PRE_INIT: 0 [0] 0  pre:65536  eof:0  
Cache fill: 17.50% (57344 bytes)   
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 186F6CC
FILEPOS=0x1595
==> Found audio stream: 1
[asfheader] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 6003
Block align: 2230
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [1f] [0] [d9] [22] [0] [0] 
==========================================================================
ASF: audio scrambling: 1 x 1 x 2230
ASF: packets: 5819  flags: 2  max_packet_size: 2261  min_packet_size:
2261  max_bitrate: 48646  preroll: 3065

 Title: Street and Lane - Series 1 29 10 2010
 Author: BBC BBC7
 Copyright: British Broadcasting Corporation Copyright 2010, all rights
reserved.
 Comment: BBCMEDR129

============ ASF Stream group == START ===
 stream count=[0x1][1]
   stream id=[0x1][1]
   max bitrate=[0xbe06][48646]
============ ASF Stream group == END ===
Found movie at 0x160B - 0xC8D7A2
ASF: 1 audio and 0 video streams found
ASF: Searching for audio stream (id:-1).
Auto-selected ASF audio ID = 1
Clip info:
 name: Street and Lane - Series 1 29 10 2010
 author: BBC BBC7
 copyright: British Broadcasting Corporation Copyright 2010, all rights
reserved.
 comments: BBCMEDR129
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 44100 Hz, 2 ch, s16le, 48.0 kbit/3.40% (ratio: 6003->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying preferred audio driver 'null', options '[none]'
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: Null audio output
AO: Author: Tobias Diedrich <ranma+mplayer at tdiedrich.de>
Building audio filter chain for 44100Hz/2ch/s16le ->
44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Video: no video
Freeing 0 unused video chunks.
Starting playback...
Increasing filtered audio buffer size from 0 to 37888
A:  44.5 (44.4) of 2163.0 (36:03.0)  1.3% 15% 		<== OK here

MPlayer interrupted by signal 2 in module: enable_cache  <== Control-C 
read error:: Interrupted system call
pre-header read failed


MPlayer interrupted by signal 2 in module: play_audio
Uninit audio filters....0 (36:03.0)  1.3% 15% 
[libaf] Removing filter dummy 
Uninit audio: ffmpeg
vo: x11 uninit called but X11 not initialized..

Exiting... (Quit)






More information about the MPlayer-users mailing list