Hello,

Actually, I am still experiencing the problem. I have upgraded to the
latest version in Debian, I think. Still, 'mplayer' doesn't treat
failure to open audio or video as an error on my system, but rather
tries to continue (see output below). Do I need to enable such a
feature in a configuration file?

Frederik

----------------------------------------------------------------
$ dpkg -s mplayer
...
Version: 1.0~rc1-16
...
$ mplayer --version
MPlayer 1.0rc1-4.1.3-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 1.70GHz (Family: 6, Model: 13, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Unknown option on the command line: --version
Error parsing option on the command line: --version
$ mplayer -dvd-device /mnt/shared/movies/funny-girl/FUNNY_GIRL/ dvd://1
...
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
alsa-lib: pcm_hw.c:1242:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device 
or resource busy
alsa-lib: pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
alsa-init: playback open error: Device or resource busy
[AO ESD] esd_open_sound failed: No such file or directory
ao_nas: init(): Can't open nas audio server -> nosound
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
alsa-lib: pcm_hw.c:1242:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device 
or resource busy
alsa-lib: pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
[AO SDL] Unable to open audio: No available audio device
Opening /dev/dvb/adapter0/audio0
DVB AUDIO DEVICE: No such file or directory
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 1024x576 Planar YV12 
A:   2.4 V:   2.4 A-V: -0.010 ct:  0.057  61/ 61  7% 10%  2.0% 0 0 
...
----------------------------------------------------------------


On Sun, Aug 26, 2007 at 06:00:05PM +0000, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> #437324: audio / video open error should default to exit,
> which was filed against the mplayer package.
> 
> It has been closed by A Mennucc <[EMAIL PROTECTED]>.
> 
> Their explanation is attached below.  If this explanation is
> unsatisfactory and you have not received a better one in a separate
> message then please contact A Mennucc <[EMAIL PROTECTED]> by replying
> to this email.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 

> From: A Mennucc <[EMAIL PROTECTED]>
> Subject: Re: Bug#437324: audio / video open error should default to exit
> To: Frederik Eaton <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Date: Sun, 26 Aug 2007 19:55:12 +0200
> X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
>       HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02
> X-Spam-Level: 
> User-Agent: Icedove 1.5.0.12 (X11/20070607)
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> hi
> 
> Frederik Eaton wrote:
> > Package: mplayer
> > Version: 1.0rc1~svn19879.sarge
> 
> your version of mplayer is very old, and never uploaded in Debian
> proper; to upgrade, you must first remove by hand (due to a change in
> the version number scheme), using
> 
> # dpkg -r mplayer
> 
> Note that with the version   1.0~rc1-12etch in Debian/etch the bug does
> not occour.
> 
> > For example, when I play an 'mp3' with mplayer, and there is a problem
> > opening the sound device, then mplayer prints a warning and then
> > "Starting playback" and then a bunch of realtime statistics like it's
> > playing the song. 
> 
> I tried this, on a notebook with crappy audio, I opened xmms and played
> a song (using ALSA) ; when I then launch mplayer, I see:
> 
> alsa-lib: pcm_hw.c:1248:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed:
> Device or resource busy
> alsa-lib: pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
> alsa-init: playback open error: Device or resource busy
> Could not open/initialize audio device -> no sound.
> Audio: no sound
> Video: no video
> Exiting... (End of file)
> 
> 
> a.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFG0b6A9B/tjjP8QKQRAkCLAKCcMhQsg5iXQdmx1g6y5gUMyvugWgCcD4OJ
> nVdISdQvbMU7+kNyHH7JOzs=
> =1REH
> -----END PGP SIGNATURE-----


-- 
http://ofb.net/~frederik/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to