[MPlayer-users] Very choppy sound at npr.org (fresh air)

James Strandboge jamie at tpptraining.com
Fri Nov 19 17:56:52 CET 2004


When trying to play most (but not all) Fresh Air streams (wma) at
npr.org, I get very choppy sound.  It will play for a second (or less),
drop out for 10-30 seconds, play a second, etc.  I used mplayer cvs from
2004-11-18 and it is able to play other content fine.  Used from a
plugin and from command line.  '-playlist', using esd, using alsa, using
oss, removing codecs.conf, forcing and not forcing libmad all didn't
matter. Got cvs libavcodec as well, didn't matter.  I googled, but
couldn't find anything.  I will send anything you need.  Thanks for a
great app!

Here is the command line:

mplayer -wid 0x1400660 -cache 512 -osdlevel 0 -nojoystick -slave
-nomouseinput
mms://wm.npr.na-central.speedera.net/wm.npr.na-central/fa/20041118_fa_01.wma


/etc/mplayer.conf:
##
## MPlayer config file
##
## This file can be copied to /etc/mplayer.conf and/or ~/.mplayer/config
.
## If both exist, the ~/.mplayer/config's settings override the
## /etc/mplayer.conf ones. And, of course command line overrides all.
## The options are the same as in the command line, but they can be
specified
## more flexibly here. See below.
##

vo=x11,                 # To specify default video driver (see -vo help
for
                        # list)

ao=sdl:esd,             # To specify default audio driver (see -ao help
for
                        # list)

fs=no                   # Enlarges movie window to your desktop's size.
                        # Used by drivers: all

vm=no                   # Tries to change to a different videomode
                        # Used by drivers: dga2, x11, sdl

bpp=0                   # Force changing display depth.
                        # Valid settings are: 0, 15, 16, 24, 32
                        # may need 'vm=yes' too.
                        # Used by drivers: fbdev, dga2, svga

zoom=no                 # Enable software scaling (powerful CPU needed)
                        # Used by drivers: svga, aalib

double=yes              # use double-buffering (recommended for xv with
                        # SUB/OSD usage)

# x=800                 # scale movie to <x> pixels width
# y=600                 # scale movie to <y> pixels height

osdlevel=1              # don't display OSD at stratup

monitoraspect=4:3       # standard monitor size, with square pixels
# monitoraspect=16:9    # use this for widescreen monitor! non-square
pixels

cache = 1024            # Disk cache 1 MB
#cache = 8192           # Disk cache 1 MB

##
## Specify your preferred default skin here
## (skins are searched in /usr/share/mplayer/Skin/yourskin
##  and ~/.mplayer/Skin/yourskin)
##

skin = default


##
## Multiple languages are available :)
##
## Hungarian    igen    nem
## English      yes     no
## German       ja      nein
## Spanish      si      no
## Binary       1       0
##
## You can also use spaces and/or tabs.
##

#sound          = 1
#nosound        = nein
#mixer          = /dev/mixer

##
## resample the fonts' alphamap
## 0    plain white fonts
## 0.75 very narrow black outline (default)
## 1    narrow black outline
## 10   bold black outline
##

#ffactor = 0.75

##
## FBdev driver:

# fb = /dev/fb0                         # framebuffer device to use
# fbmode = 640x480-120                  # use this mode (read from
fb.modes!)
# fbmodeconfig = /etc/fb.modes          # the fb.modes file

## VESA and FBdev driver: specify your monitor's timings
##
## (see for example /etc/X11/XF86Config for timings!)
## ** CAUTION! IF YOUR DISPLAY DOESN'T SUPPORT AUTOMATICALLY TURNING OFF
WHEN
##    OVERDRIVED (AND EVEN IF IT DOES), THIS MAY CAUSE DAMAGE TO YOUR
DISPLAY!
##    WE AREN'T RESPONSIBLE, IT'S YOUR DECISION! **
##
## k, K : means multiply by 1000
## m, M : means multiply by 1.000.000
##
# monitor_hfreq = 31.5k-50k,70k         # horizontal frequency range
# monitor_vfreq = 50-90                 # vertical frequency range
# monitor_dotclock = 30M-300M           # dotclock (or pixelclock) range

##
## SDL driver
##

# vo = sdl:aalib        # use SDL video driver by default
                        # use "vo = sdl:aalib" or "vo sdl:dga" and so
on,
                        # for specifying SDL subdrivers
# ao = sdl:esd          # use SDL audio driver by default
                        # use "ao = sdl:esd" to use SDL's ESD driver
# noxv = no             # whether to use XVideo hardware acceleration or
not
# forcexv = yes         # force XVideo even if not detected

##
## Other (preferred to be default from configfile) switches
##

framedrop=no            # drop frames, when not in sync (slow CPU,
videocard,
                        # etc)

#vfm=ffmpeg             # use FFmpeg's libavcodec video codec family
                        # See "mplayer -vfm help" for all available
codecs

#bps=yes                # use this method for playing AVIs (if have
problems,
                        # try removing this)

# slang= en             # DVD : display english subtitles if available
# alang= en             # DVD : play english audio tracks if available

## This is the correct way to use "subconfig" type options in the
## configuration file. In the command line you use :
## -aop list=resample:fout=44100 , but here it is :
# aop=list=resample:fout=44100

# From Fedora
# the default mpeg audio decoder is currently broken, let's try libmad
# first:
afm=libmad

# get a default OSD font from fontconfig
#fontconfig = yes
#font = "Sans"
#subfont-text-scale = 3

Output from command line:
dane at harry:/etc/mplayer$ mplayer -wid 0x1400660 -cache 512 -osdlevel 0
-nojoystick -slave -nomouseinput
mms://wm.npr.na-central.speedera.net/wm.npr.na-central/fa/20041118_fa_01.wma
MPlayer dev-CVS-041118-15:28-2.95.4 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Warning unknown option skin at line 51

77 audio & 187 video codecs
font: can't open file: /home/dane/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
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.
Playing
mms://wm.npr.na-central.speedera.net/wm.npr.na-central/fa/20041118_fa_01.wma.
Resolving wm.npr.na-central.speedera.net for AF_INET...
Connecting to server wm.npr.na-central.speedera.net[63.210.103.11]:1755
...
connected
file object, packet length = 2550 (2550)
unknown object
unknown object
unknown object
stream object, stream id: 3
unknown object
data object
mmst packet_length = 2550
Cache size set to 512 KBytes
Connected to server: wm.npr.na-central.speedera.net
Cache fill: 18.75% (98304 bytes)    ASF file format detected.
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
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...
AF_pre: af format: 2 bps, 2 ch, 22050 hz, little endian signed int
AF_pre: 22050Hz 2ch Signed 16-bit (Little-Endian)
[AO SDL] Samplerate: 22050Hz Channels: Stereo Format Signed 16-bit
(Little-Endian)
[AO SDL] using esd audio driver.
AO: [sdl] 22050Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 22050Hz/2ch/16bit ->
22050Hz/2ch/16bit...
Video: no video
Starting playback...
A:   0.1 (00.0) ??,?% 0%






More information about the MPlayer-users mailing list