You are not logged in.

#1 2017-06-01 14:11:34

BasT
Member
Registered: 2010-08-28
Posts: 112

[Solved] VLC no longer plays sound on right speaker

Recently VLC stopped playing sound on the right side. Both on my speakers and my bluetooth headphones.

- Output mode is set to stereo.
- Same files play audio fine on both sides using mpv
- other applications also play sound on both sides

I'd been hoping this was a bug but recent updates haven't fixed it.
Anything else I could check for the cause? (I'm using pulseaudio on kde)

Last edited by BasT (2017-06-01 16:12:08)

Offline

#2 2017-06-01 14:14:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [Solved] VLC no longer plays sound on right speaker

Post

pacmd list-sink-inputs

while playing something for starters and/or look through/delete ~/.config/vlc/vlcrc to make sure you don't have some faulty vlc config

Last edited by V1del (2017-06-01 14:21:27)

Offline

#3 2017-06-01 15:48:59

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved] VLC no longer plays sound on right speaker

Playing the same video both in vlc and mpv at the same time:

$ pacmd list-sink-inputs
   index: 83
        driver: <protocol-native.c>
        flags: 
        state: RUNNING
        sink: 3 <bluez_sink.00_16_94_12_65_D6.a2dp_sink>
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                balance 0,00
        muted: no
        current latency: 125,02 ms
        requested latency: 45,32 ms
        sample spec: float32le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: speex-float-1
        module: 14
        client: 56 <mpv Media Player>
        properties:
                media.icon_name = "mpv"
                media.name = "Video1.mkv - mpv"
                application.name = "mpv Media Player"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.process.id = "3464"
                application.process.user = "user"
                application.process.host = "pc"
                application.process.binary = "mpv"
                application.language = "C"
                window.x11.display = ":0"
                application.process.machine_id = "5a732df794c449d585f402f6170359b7"
                application.process.session_id = "c1"
                application.icon_name = "mpv"
                module-stream-restore.id = "sink-input-by-application-name:mpv Media Player"
    index: 84
        driver: <protocol-native.c>
        flags: START_CORKED FIX_RATE 
        state: RUNNING
        sink: 3 <bluez_sink.00_16_94_12_65_D6.a2dp_sink>
        volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 3221 /   5% / -78,51 dB
                balance -0,95
        muted: no
        current latency: 903,42 ms
        requested latency: 45,32 ms
        sample spec: float32le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        resample method: speex-float-1
        module: 14
        client: 57 <VLC media player (LibVLC 2.2.6)>
        properties:
                media.role = "video"
                media.name = "audio stream"
                application.name = "VLC media player (LibVLC 2.2.6)"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "32"
                application.id = "org.VideoLAN.VLC"
                application.version = "2.2.6"
                application.icon_name = "vlc"
                application.language = "de_DE.UTF-8"
                application.process.id = "3648"
                application.process.user = "user"
                application.process.host = "pc"
                application.process.binary = "vlc"
                window.x11.display = ":0"
                application.process.machine_id = "5a732df794c449d585f402f6170359b7"
                application.process.session_id = "c1"
                module-stream-restore.id = "sink-input-by-media-role:video"

Fresh vlcrc makes no difference.

CLearly this is the problem:

volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 3221 /   5% / -78,51 dB
                balance -0,95

Any idea how to fix it?

Last edited by BasT (2017-06-01 15:52:09)

Offline

#4 2017-06-01 15:58:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: [Solved] VLC no longer plays sound on right speaker

pactl set-sink-volume 84 100%,100% #just use whatever sink index the inputs command gives you

should work, otherwise use pavucontrol or the right click advanced option menu in KDE's plasma-pa mixer, use the corresponding "adjusting all channels" to split the channel into it's two components and bump the right one back up

Last edited by V1del (2017-06-01 16:11:30)

Offline

#5 2017-06-01 16:11:45

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: [Solved] VLC no longer plays sound on right speaker

That fixed it. Thanks a lot! wink

Offline

Board footer

Powered by FluxBB