Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: mpg123 does not produce any sound when used as regular user

  1. #1

    Default mpg123 does not produce any sound when used as regular user

    on opensuse 42.3
    mpg123 does not produce any sound when used as regular user
    while it does when run as root

    i guess thiiis a question of groups but i do not know how to solve this issue

  2. #2

    Default Re: mpg123 does not produce any sound when used as regular user

    Quote Originally Posted by dedalus2 View Post
    on opensuse 42.3
    mpg123 does not produce any sound when used as regular user
    while it does when run as root

    i guess thiiis a question of groups but i do not know how to solve this issue
    Hi,

    What does

    Code:
    ls -la  $(type -P mpg123)
    out put looks like.
    "Unfortunately time is always against us" -- [Morpheus]

  3. #3

    Default Re: mpg123 does not produce any sound when used as regular user

    it looks like this
    Code:
    ls -la  $(type -P mpg123)
    -rwxr-xr-x 1 root root 129304 Oct  5 19:37 /usr/bin/mpg123
    seems normal to me
    as regular user mpg123 produces a correct output in the terminal
    but no sound is produced

    here is the terminal output
    Code:
    High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.25.7; written and copyright by Michael Hipp and others
        free software (LGPL) without any warranty but with best wishes
    
    Directory: /dedalus/personliche/raspberrypi/clockprojekt/cornes_de_brume/
    
    Terminal control enabled, press 'h' for listing of keys and functions.
    
    Playing MPEG stream 1 of 1: 22430.mp3 ...
    
    MPEG 1.0 L III cbr320 44100 stereo
    
    Title:   Corne de brume Queen Mary       Artist: Queen's Mary Horn              
    Comment: http://www.universal-soundbank.com
    Album:   Horn Soundbank
    Year:    2012                            Genre:  Other                          
    
    [0:06] Decoding of 22430.mp3 finished.

  4. #4
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,214
    Blog Entries
    34

    Default Re: mpg123 does not produce any sound when used as regular user

    Probably a silly question on my part, but did you check to see if mpg123 is sending sound to the correct audio device ?

  5. #5

    Default Re: mpg123 does not produce any sound when used as regular user

    Quote Originally Posted by oldcpu View Post
    Probably a silly question on my part, but did you check to see if mpg123 is sending sound to the correct audio device ?
    no
    how do i perform such a check ?

  6. #6
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,214
    Blog Entries
    34

    Default Re: mpg123 does not produce any sound when used as regular user

    Quote Originally Posted by dedalus2 View Post
    no
    how do i perform such a check ?
    Assuming pulse audio is enabled, the easiest way is to install the application 'pavucontrol', run 'pavucontrol' as a regular user, and then look under the 'playback' tab while trying to play something with mpg123 and check.

    Here is mpg123 playing MISCONFIGURED on my PC , where pulseaudio is sending the audio from mpg123 to an HDMI output for audio ( "Built in Audio Digital Stereo (HDMI) " ) , but I don't have speakers connected on my HDMI.



    so in the next image I switched the output to 'Built in Audio Analog Stereo', and now I have audio in my speakers:


  7. #7

    Default Re: mpg123 does not produce any sound when used as regular user

    here is a view of my pavucontrol box
    it looks radically different
    nothing but the System Sounds bar
    nothing else
    no pulseaudio ?? why ??

    [IMG]/dedalus/arbeit/2017/jpa/423-octobre2017/pavucontrol.png [/IMG]

  8. #8

    Default Re: mpg123 does not produce any sound when used as regular user

    here is a view of my pavucontrol box
    it looks radically different
    nothing but the System Sounds bar
    nothing else
    no pulseaudio ?? why ??

    It seems i cannot include a png file located on my file system,
    how do i do that?

    [IMG]/dedalus/arbeit/2017/jpa/423-octobre2017/pavucontrol.png[/IMG]

  9. #9

    Default Re: mpg123 does not produce any sound when used as regular user

    here it is

    do we have to go through the cloud ?

  10. #10
    Join Date
    Mar 2008
    Location
    Europe
    Posts
    26,214
    Blog Entries
    34

    Default Re: mpg123 does not produce any sound when used as regular user

    Quote Originally Posted by dedalus2 View Post
    here it is

    do we have to go through the cloud ?
    Unfortunately you captured that screen print at the wrong time (I think). You need to make the capture while mpg123 is attempting to play (as a regular user) a multimedia application. It is ONLY when you are running an application (such as mpg123) that pavucontrol can see the application running. Pavucontrol is not going to scan your entire computer looking for all multimedia apps that are not running. Run the application and while running, look at pavucontrol.

    So please,start playing a multimedia file with mpg123 as a regular user. While it is playing then take a look at that tab in pavucontrol.
    Last edited by oldcpu; 08-Nov-2017 at 07:18.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •