[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 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://

Currently I don't have mplayer installed, only mplayer2.
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?

Thirdly, what's in /dev/snd?

# mplayer --noconfig=all --ao=alsa cdda://
MPlayer2 2.0-728-g2c378c7-4+b1 (C) 2000-2012 MPlayer Team
Cannot open file '/root/.mplayer/input.conf': No such file or directory
Failed to open /root/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

Playing cdda://.
Found audio CD with 11 tracks.
CD-Text (CD):

Track 1
CD-Text (track):

Detected file format: rawaudio
Selected audio codec: Uncompressed PCM [pcm]
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   3.2 (03.2) of 4629.0 ( 1:17:09.0)  2.6% 

Exiting... (Quit)
# ls -lR /dev/snd
/dev/snd:
total 0
drwxr-xr-x  2 root root       60 Jul  1 08:25 by-path
crw-rw----+ 1 root audio 116,  2 Jul  1 08:25 controlC0
crw-rw----+ 1 root audio 116,  5 Jul  1 08:25 hwC0D0
crw-rw----+ 1 root audio 116,  4 Jul  1 08:28 pcmC0D0c
crw-rw----+ 1 root audio 116,  3 Jul  1 10:28 pcmC0D0p
crw-rw----+ 1 root audio 116,  1 Jul  1 08:26 seq
crw-rw----+ 1 root audio 116, 33 Jul  1 08:25 timer

/dev/snd/by-path:
total 0
lrwxrwxrwx 1 root root 12 Jul  1 08:25 pci-0000:00:1b.0 -> ../controlC0
# 

Cheers,
David.


Reply to: