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

Re: mplayer won't play audio CD



David Wright <deblis@lionunicorn.co.uk> writes:

> On Sun 02 Jul 2017 at 00:29:13 (+0100), Rodolfo Medina wrote:
>> Rodolfo Medina <rodolfo.medina@gmail.com> writes:
>> 
>> > My output seems to be the same as yours:
>> >
>> > # ls -lR /dev/snd
>> > /dev/snd:
>> > total 0
>> > drwxr-xr-x  2 root root       80 Jul  1 23:55 by-path
>> > crw-rw----+ 1 root audio 116,  2 Jul  1 23:55 controlC0
>> > crw-rw----+ 1 root audio 116,  5 Jul  1 23:55 controlC1
>> > crw-rw----+ 1 root audio 116,  4 Jul  1 23:55 hwC0D0
>> > crw-rw----+ 1 root audio 116,  9 Jul  1 23:55 hwC1D0
>> > crw-rw----+ 1 root audio 116,  3 Jul  1 23:56 pcmC0D3p
>> > crw-rw----+ 1 root audio 116,  7 Jul  1 23:56 pcmC1D0c
>> > crw-rw----+ 1 root audio 116,  6 Jul  1 23:56 pcmC1D0p
>> > crw-rw----+ 1 root audio 116,  8 Jul  1 23:55 pcmC1D2c
>> > crw-rw----+ 1 root audio 116,  1 Jul  1 23:55 seq
>> > crw-rw----+ 1 root audio 116, 33 Jul  1 23:55 timer
>> >
>> > /dev/snd/by-path:
>> > total 0
>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:01.1 -> ../controlC0
>> > lrwxrwxrwx 1 root root 12 Jul  1 23:55 pci-0000:00:14.2 -> ../controlC1
>> 
>> Well, no, it's different: in mine there's no pcmC0D0c...
>
> Any help from
> https://bbs.archlinux.org/viewtopic.php?id=185675
> ?


Yes: it solved half a problem...  or maybe one since they were two... Thanks to
archlinux topic's suggestion (create .asoundrc and put `defaults.pcm.device 3'
in it), mplayer's finally plays as root, but its output is:


# mplayer -ao alsa beeth-symph3-klemperer_01.wav 
MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing beeth-symph3-klemperer_01.wav.
libavformat version 57.56.101 (external)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

, and there's no sound...

Rodolfo


Reply to: