Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #182834 > unrolled thread

mplayer won't play audio CD

Started byRodolfo Medina <rodolfo.medina@gmail.com>
First post2017-06-29 23:00 +0200
Last post2017-07-08 19:50 +0200
Articles 20 on this page of 52 — 9 participants

Back to article view | Back to linux.debian.user


Contents

  mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-29 23:00 +0200
    Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-06-30 08:00 +0200
      Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-30 09:30 +0200
      Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-06-30 12:30 +0200
        Re: mplayer won't play audio CD "Thomas Schmitt" <scdbackup@gmx.net> - 2017-06-30 12:40 +0200
          Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-06-30 13:30 +0200
            Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-06-30 18:00 +0200
              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 02:20 +0200
                Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-01 12:30 +0200
                  Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 14:00 +0200
                    Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 14:20 +0200
                    Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 15:30 +0200
                      Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 15:40 +0200
                        Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 16:00 +0200
                        Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-01 16:30 +0200
                          Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-01 17:10 +0200
                            Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 17:40 +0200
                              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 00:40 +0200
                            Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-01 17:50 +0200
                              Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-01 18:10 +0200
                                Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-01 18:50 +0200
                              Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-01 19:50 +0200
                                Re: mplayer won't play audio CD "Thomas Schmitt" <scdbackup@gmx.net> - 2017-07-01 20:50 +0200
                                Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-01 23:50 +0200
                                Re: Einstellungen in Kontact "Thomas Schmitt" <scdbackup@gmx.net> - 2017-07-06 00:00 +0200
                              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 01:30 +0200
                                Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 01:30 +0200
                                  Re: mplayer won't play audio CD David Wright <deblis@lionunicorn.co.uk> - 2017-07-02 02:00 +0200
                                    Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 03:30 +0200
                                      Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 03:40 +0200
                                      Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-02 11:40 +0200
                                        Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-02 13:30 +0200
                                          Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 16:20 +0200
                                            Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-07-02 17:10 +0200
                                            Re: mplayer won't play audio CD Brian <ad44@cityscape.co.uk> - 2017-07-02 18:20 +0200
                                              Re: mplayer won't play audio CD Rodolfo Medina <rodolfo.medina@gmail.com> - 2017-07-02 19:40 +0200
          Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-06-30 13:30 +0200
    Re: mplayer won't play audio CD Curt <curty@free.fr> - 2017-06-30 11:30 +0200
      Re: mplayer won't play audio CD Wilko Fokken <wfokken@web.de> - 2017-07-07 22:50 +0200
        Re: mplayer won't play audio CD Greg Wooledge <wooledg@eeg.ccf.org> - 2017-07-07 23:20 +0200
        Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 04:40 +0200
          Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 09:10 +0200
            Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 12:10 +0200
              Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 13:10 +0200
                Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 13:40 +0200
                  Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 15:20 +0200
                    Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 16:20 +0200
                      Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 19:40 +0200
                        Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-10 03:50 +0200
          Re: mplayer won't play audio CD Wilko Fokken <wfokken@web.de> - 2017-07-08 15:00 +0200
            Re: mplayer won't play audio CD Wellington Terumi Uemura <wellingtonuemura@gmail.com> - 2017-07-08 16:30 +0200
              Re: mplayer won't play audio CD deloptes <deloptes@gmail.com> - 2017-07-08 19:50 +0200

Page 1 of 3  [1] 2 3  Next page →


#182834 — mplayer won't play audio CD

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-29 23:00 +0200
Subjectmplayer won't play audio CD
Message-ID<tXOHE-49X-25@gated-at.bofh.it>
Please help...  mplayer works fine when playing files (mp3, wav, etc), but
fails in playing audio CDs.  When I launch it as a normal user I have:

$ mplayer cdda://
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 cdda://.
Found audio CD with 12 tracks.
libavformat version 57.56.101 (external)

Track 1


Exiting... (End of file)


and, as root,


# mplayer cdda://
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 cdda://.
Found audio CD with 12 tracks.
rawaudio file format detected.

Track 1
==========================================================================
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: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
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] alsa-lib: pcm_hw.c:1602:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1052:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)


In Google I couldn't find a solution...

Thanks in advance for any help.

Rodolfo

[toc] | [next] | [standalone]


#182843

Fromdeloptes <deloptes@gmail.com>
Date2017-06-30 08:00 +0200
Message-ID<tXX8f-1pk-23@gated-at.bofh.it>
In reply to#182834
Rodolfo Medina wrote:

> Please help...  mplayer works fine when playing files (mp3, wav, etc), but
> fails in playing audio CDs.  When I launch it as a normal user I have:

check if you  are member of the cdrom group

regards                              

[toc] | [prev] | [next] | [standalone]


#182845

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-30 09:30 +0200
Message-ID<tXYxk-2tg-7@gated-at.bofh.it>
In reply to#182843
deloptes <deloptes@gmail.com> writes:

> Rodolfo Medina wrote:
>
>> Please help...  mplayer works fine when playing files (mp3, wav, etc), but
>> fails in playing audio CDs.  When I launch it as a normal user I have:
>
> check if you  are member of the cdrom group

Yes, I am...

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182849

FromBrian <ad44@cityscape.co.uk>
Date2017-06-30 12:30 +0200
Message-ID<tY1lw-4fP-15@gated-at.bofh.it>
In reply to#182843
On Fri 30 Jun 2017 at 07:52:21 +0200, deloptes wrote:

> Rodolfo Medina wrote:
> 
> > Please help...  mplayer works fine when playing files (mp3, wav, etc), but
> > fails in playing audio CDs.  When I launch it as a normal user I have:
> 
> check if you  are member of the cdrom group

It is worth noting that local access to the /dev/sr* device does
not depend on being a member of the cdrom group, Using 'ls -l':

 brw-rw----+ root cdrom 11, 0 June 30 11:15 /dev/sr0

The "+" is a result of 70-uaccess.rules in /lib/udev/rules.d. It
indicates an Access Control List (ACL).

The installer has always  put the first user into the cdrom group. It
is questionable whether this is necessary any more.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#182850

From"Thomas Schmitt" <scdbackup@gmx.net>
Date2017-06-30 12:40 +0200
Message-ID<tY1vb-4jV-5@gated-at.bofh.it>
In reply to#182849
Hi,

Curt wrote:
>  mplayer -cdrom-device /dev/hdb cdda://1
> or wherever the device exists on your machine.

Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...


> Maybe there's no audio cable between the cd drive and the sound card. 

I doubt that mplayer would use the PLAY AUDIO command to let the drive
send an analog signal to the sound card. I rather assume it uses READ CD
to get the 16 bit digital audio data and then processes them like other
input.
So no audio cable from drive to sound card would be needed.


Brian wrote:
> It is worth noting that local access to the /dev/sr* device does
> not depend on being a member of the cdrom group, Using 'ls -l':
>  brw-rw----+ root cdrom 11, 0 June 30 11:15 /dev/sr0
> The "+" is a result of 70-uaccess.rules in /lib/udev/rules.d. It
> indicates an Access Control List (ACL).

... which can be inquired by

  $ getfacl /dev/sr0
  ...
  user:thomas:rw-
  ...

So my desktop user got an extra permission to read and write, regardless
of group membership or "others" permission.


Have a nice day :)

Thomas

[toc] | [prev] | [next] | [standalone]


#182852

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-06-30 13:30 +0200
Message-ID<tY2hA-4Qj-23@gated-at.bofh.it>
In reply to#182850
"Thomas Schmitt" <scdbackup@gmx.net> writes:

> Curt wrote:
>>  mplayer -cdrom-device /dev/hdb cdda://1
>> or wherever the device exists on your machine.
>
> Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...

`mplayer -cdrom-device /dev/sr0 cdda://1' gives the same error output as
`mplayer cdda://'.


> Brian wrote:
>> It is worth noting that local access to the /dev/sr* device does
>> not depend on being a member of the cdrom group, Using 'ls -l':
>>  brw-rw----+ root cdrom 11, 0 June 30 11:15 /dev/sr0
>> The "+" is a result of 70-uaccess.rules in /lib/udev/rules.d. It
>> indicates an Access Control List (ACL).
>
> ... which can be inquired by
>
>   $ getfacl /dev/sr0
>   ...
>   user:thomas:rw-
>   ...
>
> So my desktop user got an extra permission to read and write, regardless
> of group membership or "others" permission.


Same output for me.

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182874

FromBrian <ad44@cityscape.co.uk>
Date2017-06-30 18:00 +0200
Message-ID<tY6uT-7l1-45@gated-at.bofh.it>
In reply to#182852
On Fri 30 Jun 2017 at 12:27:18 +0100, Rodolfo Medina wrote:

> "Thomas Schmitt" <scdbackup@gmx.net> writes:
> 
> > Curt wrote:
> >>  mplayer -cdrom-device /dev/hdb cdda://1
> >> or wherever the device exists on your machine.
> >
> > Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...
> 
> `mplayer -cdrom-device /dev/sr0 cdda://1' gives the same error output as
> `mplayer cdda://'.

How about

  vlc cdda:// ?

You have "solved" this problem previously:

  https://lists.debian.org/debian-user/2017/02/msg01080.html

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#182886

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-01 02:20 +0200
Message-ID<tYeiK-3W5-3@gated-at.bofh.it>
In reply to#182874
Brian <ad44@cityscape.co.uk> writes:

> On Fri 30 Jun 2017 at 12:27:18 +0100, Rodolfo Medina wrote:
>
>> "Thomas Schmitt" <scdbackup@gmx.net> writes:
>> 
>> > Curt wrote:
>> >>  mplayer -cdrom-device /dev/hdb cdda://1
>> >> or wherever the device exists on your machine.
>> >
>> > Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...
>> 
>> `mplayer -cdrom-device /dev/sr0 cdda://1' gives the same error output as
>> `mplayer cdda://'.
>
> How about
>
>   vlc cdda:// ?

Yes, vlc works!


> You have "solved" this problem previously:
>
>   https://lists.debian.org/debian-user/2017/02/msg01080.html

Yes, but that time mplayer won't play files either.  Now instead mplayer works
with mp3, audio files...  but fails only with audio CDs.  That time the problem
was solved installing alsaplayer-alsa and pulseaudio.  Now I already have those
packages in my system...

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182894

FromBrian <ad44@cityscape.co.uk>
Date2017-07-01 12:30 +0200
Message-ID<tYnP4-1P4-9@gated-at.bofh.it>
In reply to#182886
On Sat 01 Jul 2017 at 01:12:18 +0100, Rodolfo Medina wrote:

> Brian <ad44@cityscape.co.uk> writes:
> 
> > On Fri 30 Jun 2017 at 12:27:18 +0100, Rodolfo Medina wrote:
> >
> >> "Thomas Schmitt" <scdbackup@gmx.net> writes:
> >> 
> >> > Curt wrote:
> >> >>  mplayer -cdrom-device /dev/hdb cdda://1
> >> >> or wherever the device exists on your machine.
> >> >
> >> > Unless on very old systems, i'd expect /dev/sr0, /dev/sr1, ...
> >> 
> >> `mplayer -cdrom-device /dev/sr0 cdda://1' gives the same error output as
> >> `mplayer cdda://'.
> >
> > How about
> >
> >   vlc cdda:// ?
> 
> Yes, vlc works!

Not quite what you wanted but you can now play an audio CD.

We suppose the CD ROM shows activity (a blinking light) with
'mplayer cdda://' even though there is no sound output.

How do you go on with

  'mplayer -ao alsa cdda:// ?

> > You have "solved" this problem previously:
> >
> >   https://lists.debian.org/debian-user/2017/02/msg01080.html
> 
> Yes, but that time mplayer won't play files either.  Now instead mplayer works
> with mp3, audio files...  but fails only with audio CDs.  That time the problem
> was solved installing alsaplayer-alsa and pulseaudio.  Now I already have those
> packages in my system...

This could also be a software issue but this time involving pulseaudio.

-- 
Brian.

[toc] | [prev] | [next] | [standalone]


#182900

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-01 14:00 +0200
Message-ID<tYpea-2Js-15@gated-at.bofh.it>
In reply to#182894
Brian <ad44@cityscape.co.uk> writes:

>> > How about
>> >
>> >   vlc cdda:// ?
>> 
>> Yes, vlc works!
>
> Not quite what you wanted but you can now play an audio CD.

Recently I noticed that mplayer, when playing audio CDs, is always complaining
this way:

 `Audio device got stuck!'

, and sound continuosly `jumps' so becoming unheardable, and I thought it was
the device's hardware fault.  But vlc plays well with no at all that problem.
I wonder about that...  mplayer is very potent and comfortable, that's why I
use it...


> We suppose the CD ROM shows activity (a blinking light) with
> 'mplayer cdda://' even though there is no sound output.


I had settled the alias: `mplayer = mplayer -demuxer lavf'.  After removing it,
now mplayer works regularly over CDs (apart from the above problem) as a normal
user.  Instead, as root, the problem I started this thread with remains:
mplayer doesn't work...  Not so great a problem, after all.  But isn't it
strange that something user can do root can't...?


> How do you go on with
>
>   'mplayer -ao alsa cdda://'?


This doesn't help.  But, I repeat, mplayer now works and read audio CDs from
normal user.  Only, it continuosly `jumps' and gets stuck.  (I will open a new
thread about that.)

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182901

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-01 14:20 +0200
Message-ID<tYpxw-368-17@gated-at.bofh.it>
In reply to#182900
Rodolfo Medina <rodolfo.medina@gmail.com> writes:

> Recently I noticed that mplayer, when playing audio CDs, is always
> complaining this way:
>
>  `Audio device got stuck!'
>
> , and sound continuosly `jumps' so becoming unheardable, and I thought it was
> the device's hardware fault.

The problem disappears running mplayer as:

 mplayer -ao alsa

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182903

FromCurt <curty@free.fr>
Date2017-07-01 15:30 +0200
Message-ID<tYqDg-3Jg-15@gated-at.bofh.it>
In reply to#182900
On 2017-07-01, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
> Brian <ad44@cityscape.co.uk> writes:
>
>>> > How about
>>> >
>>> >   vlc cdda:// ?
>>> 
>>> Yes, vlc works!
>>
>> Not quite what you wanted but you can now play an audio CD.
>
> Recently I noticed that mplayer, when playing audio CDs, is always complaining
> this way:

When playing audio CDs?

>  `Audio device got stuck!'
>
> , and sound continuosly `jumps' so becoming unheardable, and I thought it was
> the device's hardware fault.  But vlc plays well with no at all that problem.
> I wonder about that...  mplayer is very potent and comfortable, that's why I
> use it...
>
>
>> We suppose the CD ROM shows activity (a blinking light) with
>> 'mplayer cdda://' even though there is no sound output.
>
>
> I had settled the alias: `mplayer = mplayer -demuxer lavf'.  After removing it,
> now mplayer works regularly over CDs (apart from the above problem) as a normal

Oh, I see.  There's something vaguely wild about this goose. 

> user.  Instead, as root, the problem I started this thread with remains:
> mplayer doesn't work...  Not so great a problem, after all.  But isn't it
> strange that something user can do root can't...?
>

Comme c'est étrange...

>> How do you go on with
>>
>>   'mplayer -ao alsa cdda://'?
>
>
> This doesn't help.  But, I repeat, mplayer now works and read audio CDs from
> normal user.  Only, it continuosly `jumps' and gets stuck.  (I will open a new
> thread about that.)
>
> Rodolfo
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#182904

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-01 15:40 +0200
Message-ID<tYqMV-3MP-5@gated-at.bofh.it>
In reply to#182903
Curt <curty@free.fr> writes:

> On 2017-07-01, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>> Brian <ad44@cityscape.co.uk> writes:
>>
>>>> > How about
>>>> >
>>>> >   vlc cdda:// ?
>>>> 
>>>> Yes, vlc works!
>>>
>>> Not quite what you wanted but you can now play an audio CD.
>>
>> Recently I noticed that mplayer, when playing audio CDs, is always
>> complaining this way:
>
> When playing audio CDs?
>
>>  `Audio device got stuck!'
>>
>> , and sound continuosly `jumps' so becoming unheardable, and I thought it
>> was the device's hardware fault.  But vlc plays well with no at all that
>> problem.  I wonder about that...  mplayer is very potent and comfortable,
>> that's why I use it...
>>
>>
>>> We suppose the CD ROM shows activity (a blinking light) with
>>> 'mplayer cdda://' even though there is no sound output.
>>
>>
>> I had settled the alias: `mplayer = mplayer -demuxer lavf'.  After removing
>> it,
>> now mplayer works regularly over CDs (apart from the above problem) as a
>> normal
>
> Oh, I see.  There's something vaguely wild about this goose.

Are you calling me stupid...?  Thanks... ;-)


>> user.  Instead, as root, the problem I started this thread with remains:
>> mplayer doesn't work...  Not so great a problem, after all.  But isn't it
>> strange that something user can do root can't...?
>>
>
> Comme c'est étrange...
>
>>> How do you go on with
>>>
>>>   'mplayer -ao alsa cdda://'?
>>
>>
>> This doesn't help.  But, I repeat, mplayer now works and read audio CDs from
>> normal user.  Only, it continuosly `jumps' and gets stuck.  (I will open a
>> new thread about that.)

[toc] | [prev] | [next] | [standalone]


#182906

FromCurt <curty@free.fr>
Date2017-07-01 16:00 +0200
Message-ID<tYr6h-3TJ-5@gated-at.bofh.it>
In reply to#182904
On 2017-07-01, Rodolfo Medina <rodolfo.medina@gmail.com> wrote:
>>
>> Oh, I see.  There's something vaguely wild about this goose.
>
> Are you calling me stupid...?  Thanks... ;-)
>

I'm not calling you stupid and you're not stupid, far from it.

-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#182910

Fromdeloptes <deloptes@gmail.com>
Date2017-07-01 16:30 +0200
Message-ID<tYrzk-4k9-13@gated-at.bofh.it>
In reply to#182904
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'.

regards

[toc] | [prev] | [next] | [standalone]


#182916

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-01 17:10 +0200
Message-ID<tYsc3-4MR-39@gated-at.bofh.it>
In reply to#182910
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...

Thanks

Rodolfo

[toc] | [prev] | [next] | [standalone]


#182919

FromCurt <curty@free.fr>
Date2017-07-01 17:40 +0200
Message-ID<tYsF4-4VX-3@gated-at.bofh.it>
In reply to#182916
On 2017-07-01, Rodolfo Medina <rodolfo.medina@gmail.com> 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...

There's no need to apologize. As for the root problem I don't believe it
is a problem in the sense you mean it (I think). pulseaudio is not
intended to be run as root (that's what I'm reading on the innertubes). As
usual my understanding of the whole kaboodle is quite fragile, however. Also
I believe pulseaudio is configured per-useredly.  IOW you'd have to
configure it for root in order for it to work (for root). Maybe.

Unless you're not using pulseaudio, in which case...

Now you see who's stupid.

;-)

> Thanks
>
> Rodolfo
>
>


-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


#182941

FromRodolfo Medina <rodolfo.medina@gmail.com>
Date2017-07-02 00:40 +0200
Message-ID<tYzdv-Pa-13@gated-at.bofh.it>
In reply to#182919
Curt <curty@free.fr> writes:

> On 2017-07-01, Rodolfo Medina <rodolfo.medina@gmail.com> 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...
>
> There's no need to apologize. As for the root problem I don't believe it
> is a problem in the sense you mean it (I think). pulseaudio is not
> intended to be run as root (that's what I'm reading on the innertubes). As
> usual my understanding of the whole kaboodle is quite fragile, however. Also
> I believe pulseaudio is configured per-useredly.  IOW you'd have to
> configure it for root in order for it to work (for root). Maybe.
>
> Unless you're not using pulseaudio, in which case...
>
> Now you see who's stupid.
>
> ;-)
>

:-) thanks...

[toc] | [prev] | [next] | [standalone]


#182922

FromDavid Wright <deblis@lionunicorn.co.uk>
Date2017-07-01 17:50 +0200
Message-ID<tYsOK-4Zy-17@gated-at.bofh.it>
In reply to#182916
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.

[toc] | [prev] | [next] | [standalone]


#182923

FromCurt <curty@free.fr>
Date2017-07-01 18:10 +0200
Message-ID<tYt8c-5nl-39@gated-at.bofh.it>
In reply to#182922
On 2017-07-01, David Wright <deblis@lionunicorn.co.uk> wrote:
>
> 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?
>

Actually, upon further reflection, the root error message from his
original post was:

 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.) 

which might mean the incriminated environment variable is being inherited from his
user shell (if he used 'su' maybe).

So, in order obviate that, he should--well, you tell me.

-- 
“Yeah yeah.” --Sidney Morgenbesser's retort to a speaker who said that although
there are many cases in which two negatives make a positive, he knew of no case
in which two positives made a negative.

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | linux.debian.user


csiph-web