[MPlayer-users] Using mplayer directly with a sound device

Nathan Smith nsmith5 at umbc.edu
Mon Jun 19 21:38:14 CEST 2006

On Mon, 19 Jun 2006, [ISO-8859-1] Sebastian Krämer wrote:

> Nathan Smith wrote:
> > Hello all,
> >
> > I cannot figure out how to output sound directly to a sound device when
> > esd is not running. I've tried using device /dev/dsp, /dev/audio, and all
> > the applicable files in /dev/snd. For example, mplayer gives me the
> > following output when I run it with
> >
> > sudo mplayer -ao /dev/dsp mywavfile.wav
> Try (without sudo!) mplayer -ao help and see what your version/system
> supports and use one of these parameters.

Ah yes I see I was using it wrongly. If I do

mplayer -ao alsa mywavfile.wav

it works correctly. Thanks


More information about the MPlayer-users mailing list