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

Re: mplayer won't play audio CD



On Sat 01 Jul 2017 at 18:46:27 (+0100), Brian wrote:
> On Sat 01 Jul 2017 at 10:42:45 -0500, David Wright wrote:
> 
> > On Sat 01 Jul 2017 at 16:03:13 (+0100), Rodolfo Medina wrote:
> > > deloptes <deloptes@gmail.com> writes:
> > > 
> > > > Rodolfo Medina wrote:
> > > >
> > > >> Are you calling me stupid...?  Thanks... ;-)
> > > >
> > > > just to be clear. You have had setup an alias for mplayer, correct? So
> > > > everything people advised here was run via this alias 'mplayer -demuxer
> > > > lavf'.
> > > 
> > > 
> > > I'm sorry...  I apologize.  But the problem with root still remains...
> > 
> > First, it would seem sensible to clean up your first post by
> > revealing the output from, say,
> > 
> > # mplayer --noconfig=all --ao=alsa cdda://
> 
> As someone whose use and knowledge of anything other than vlc is
> minimal I did this on unstable and got
> 
>  Unknown option on command line: --noconfig=all
>  Error parsing option on the command line: --noconfig=all
>  
> > Currently I don't have mplayer installed, only mplayer2.
> 
> How relevant is this statement to the issue?
> 
>   Package: mplayer2 (3:0.23.0-2) 
>   transitional dummy package for mpv
> 
>   This is a transitional dummy package to get upgrading systems to
>   install the mpv package. It can safely be removed once no other
>   package depends on it. 

I don't know. Actually I'm using
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
which is a real package.

But the thrust of my post was two-fold: (1) get configuration
files out of the way, and (2) get pulseaudio out of the way.
I'm assuming people can handle reading the man page to adjust
the command line arguments (eg my long options _require_ --ao
and --noconfig to parse correctly; the OP seems to get away
with one hyphen).

Were I using stretch mplayer, I would have posted yesterday,
but the thread seemed to have wandered up blind alleys (group
membership, device aliases, etc) without addressing the error
messages posted (missing sound device files, alsa/sdl errors).

> > I would point out that this command still reads input.conf
> > files so you might want to move them out of the way too.
> > 
> > Secondly, most of the error messages involved alsa rather
> > than the CD player. How does root get on with playing
> > sound files from other sources?
> 
> Once Thomas Schmitt had disposed of the idea that mplayer requires a
> cable between drive and sound card it comes down to software and not
> hardware.
> 
> (I use cdplay from the cdtool package quite extensively, especially in
> scripts. If the OP had been using cdtool, Curt's cable suggestion would
> have very likely been correct as cdtool uses the analogue play method).

Yes, I've used cdplay on occasions, and it's a lot quieter than
cdda because the disc so slowly comparatively, though I always
use eject rather than cdeject as the latter has given me problems.

Of course, with a laptop, you're at the mercy of the constructor
as to whether the analogue link exists.

> I installed mplayer on a machine (which has pulseaudio) yesterday. There
> was no problem with playing an audio CD, but I did not go in for any
> customisation, which is probably not the case with Rodolfo Medina.

Linux sound is complex enough that, once things work well enough,
I prefer not to disturb them, which is why I beg your forbearance.

Cheers,
David.


Reply to: