[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MPlayer - Divx



On Sat, 2002-07-27 at 10:16, Hubert Chan wrote:
> >>>>> "Emil" == Emil H <deb-list@linuxmail.org> writes:
> 
> Emil> It worked with 'gmplayer -vo x11'!! OK!
> Emil> But no sound, I get this:
> Emil> audio_setup: Can't open audio device /dev/dsp: No such device
> Emil> couldn't open/init audio device -> NOSOUND
> Emil> Audio: no sound!!!

--snip--

> You must be a member of the audio group to access the sound card.  You
> can either permanently add yourself ("adduser <your_username> audio"),
> or play around with the pam_group module so that everyone who logs in
> From the console gets added to the audio group for that session.  If
> this is your own personal machine, the first option is probably enough,
> and is easier.

Depending on how your system is set up, if you have esd running it may
be locking the DSP device, in which case you have to use the SDL audio
output driver for esd. i.e. mplayer -ao sdl:esd

If you don't have SDL support and you want to make sure that that is the
problem, the easiest way is to shut off esd and then try mplayer again.
If it works, then using sdl:esd will work as well.

> Emil> Which is usually the best output driver?
> 
> [...]
> 
> See <Mplayer-source>/DOCS/video.html for a description of all the output
> devices.  Of the ones that you listed, probably x11 is going to work the
> best for you, but is rather slow.  dga or xvidix may work better, or may
> not work at all.  You seem to be missing the sdl output, probably
> because you don't have the SDL library (or SDL development files)
> installed.  On a woody/sarge/sid box you would do
> "apt-get install libsdl1.2-dev".

xv or x11 is preferable. If dga works for you that will give very good
performance. All of the other drivers depend on your system speed and
configuration. The OpenGL drivers work well, but not always perfectly on
my particular system. You definitely want to have SDL support though, as
that gives you quite a few more options. (See above)

-Alex

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: