[MPlayer-users] ds_fill_buffer problem

Simon Baxter linuxtv at nzbaxters.com
Sun Jun 13 00:31:42 CEST 2010


I've pulled mplayer-1.0-75_snap20100524.fc13.x86_64 using yum under a new 
build on Fedora 13.

When I try and play the following stream:

mplayer -v -ao null -vo null -vc null 
mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma

It only plays for a few seconds, and then stops:


MPlayer SVN-r31206-snapshot-4.4.4 (C) 2000-2010 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (Family: 15, Model: 107, 
Ste          pping: 2)
extended cpuid-level: 24
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': 
No           such file or directory
Reading /etc/mplayer/codecs.conf: 141 audio & 306 video codecs
Configuration: --extra-cflags=-I/usr/include/directfb --prefix=/usr --libdir=/us 
r/lib64 --datadir=/usr/share/mplayer --confdir=/etc/mplayer --mandir=/usr/share/ 
man --enable-gui --enable-largefiles --enable-lirc --enable-joystick --enable-ra 
dio --enable-radio-capture --enable-tv-v4l1 --enable-tv-v4l2 --enable-menu --dis 
able-faad-internal --enable-xmms --enable-musepack --enable-xvmc --with-xvmclib= 
XvMCW --enable-xss --enable-fbdev --enable-directfb --enable-runtime-cpudetectio 
n --language=all
CommandLine: '-v' '-ao' 'null' '-vo' 'null' '-vc' 'null' 
'mms://wm.bbc.co.uk/wms          /bbc7coyopa/bbc7_-_friday_0430.wma'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or 
director          y
Can't open input config file /etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not open config files /root/.lircrc and /etc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
get_path('bbc7_-_friday_0430.wma.conf') -> 
'/root/.mplayer/bbc7_-_friday_0430.wm          a.conf'

Playing mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma.
get_path('sub/') -> '/root/.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.251.77]: 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 64 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:13107  eof:0
Cache fill: 12.50% (8192 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=0x15A1
==> 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: Flying the Flag - Series 2 11 06 2010
 Author: BBC BBC7
 Copyright: British Broadcasting Corporation © 2010, all rights reserved.
 Comment: BBCMEDR225

read error:: Interrupted system call
============ ASF Stream group == START ===
 stream count=[0x1][1]
   stream id=[0x1][1]
   max bitrate=[0xbe06][48646]
============ ASF Stream group == END ===
Found movie at 0x1617 - 0xC8D7AE
ASF: 1 audio and 0 video streams found
ASF: Searching for audio stream (id:-1).
pre-header read failed
Auto-selected ASF audio ID = 1
Clip info:
 title: Flying the Flag - Series 2 11 06 2010
 author: BBC BBC7
 copyright: British Broadcasting Corporation © 2010, all rights reserved.
 comments: BBCMEDR225
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
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 "wmav2" 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
ds_fill_buffer: EOF reached (stream: audio)
ds_fill_buffer: EOF reached (stream: audio)
EOF code: 1  1) of 2160.0 (36:00.0)  0.3% 0%

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg
vo: x11 uninit called but X11 not initialized..

Exiting... (End of file)




However - when I play it on another machine running 
mplayer-1.0-71_snap20091017.fc10.x86_64, it plays the whole stream:

MPlayer SVN-r29776-snapshot-4.3.2 (C) 2000-2009 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (Family: 15, Model: 107, 
Stepping: 2)
extended cpuid-level: 24
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': 
No such file or directory
Reading /etc/mplayer/codecs.conf: 141 audio & 306 video codecs
Configuration: --extra-cflags=-I 
/usr/include/nvidia-graphics -I/usr/include/directfb --extra-ldflags=-L 
/usr/lib64/nvidia-graphics --prefix=/usr --libdir=/usr/lib64 --datadir=/usr/share/mplayer 
 --confdir=/etc/mplayer --mandir=/usr/share/man --enable-gui --enable-largefiles 
 --enable-lirc --enable-joystick --enable-radio --enable-radio-capture --enable-tv-v4l1 
 --enable-tv-v4l2 --enable-menu --disable-faad-internal --enable-xmms --disable-liba52-internal 
 --enable-musepack --enable-xvmc --with-xvmclib=XvMCW --enable-xss --enable-fbdev 
 --enable-directfb --enable-runtime-cpudetection --language=all
CommandLine: '-v' '-ao' 'null' '-vo' 'null' '-vc' 'null' 
'mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or 
directory
Can't open input config file /etc/mplayer/input.conf: No such file or 
directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
get_path('bbc7_-_friday_0430.wma.conf') -> 
'/root/.mplayer/bbc7_-_friday_0430.wma.conf'

Playing mms://wm.bbc.co.uk/wms/bbc7coyopa/bbc7_-_friday_0430.wma.
get_path('sub/') -> '/root/.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 64 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:13107  eof:0
Cache fill: 12.50% (8192 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=0x15A1
==> 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: Flying the Flag - Series 2 11 06 2010
 Author: BBC BBC7
 Copyright: British Broadcasting Corporation © 2010, all rights reserved.
 Comment: BBCMEDR225

============ ASF Stream group == START ===
 stream count=[0x1][1]
   stream id=[0x1][1]
   max bitrate=[0xbe06][48646]
============ ASF Stream group == END ===
Found movie at 0x1617 - 0xC8D7AE
ASF: 1 audio and 0 video streams found
ASF: Searching for audio stream (id:-1).
Auto-selected ASF audio ID = 1
Clip info:
 title: Flying the Flag - Series 2 11 06 2010
 author: BBC BBC7
 copyright: British Broadcasting Corporation © 2010, all rights reserved.
 comments: BBCMEDR225
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
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:   6.1 (06.1) of 2163.0 (36:03.0) 68.6% 3%

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

Exiting... (Quit)




Any ideas? 



More information about the MPlayer-users mailing list