Page 1 of 1

VLC-Pulse audio connection refused. (SOLVED)

Posted: Tue Jan 31, 2023 8:49 pm
by soniabu

Hello everybody. I hope you are well. I'm fine.
I launched VLC in Booworm system (updated to today) to watch an mp4 but it reports the error in screenshot
which I don't know how to fix. Of course the video can be seen but there is no audio.
Any solution to suggest me?
many thx sonia.
P.S. if i use mpv everything works fine.

(double click to enlarge)
Image


Re: VLC-Pulse audio connection refused.

Posted: Tue Jan 31, 2023 9:13 pm
by fredx181
soniabu wrote: Tue Jan 31, 2023 8:49 pm

Hello everybody. I hope you are well. I'm fine.
I launched VLC in Booworm system (updated to today) to watch an mp4 but it reports the error in screenshot
which I don't know how to fix. Of course the video can be seen but there is no audio.
Any solution to suggest me?
many thx sonia.
P.S. if i use mpv everything works fine.

(double click to enlarge)
Image

Hello Sonia. My first thought: why try to run an appimage of vlc instead of just installing it with apt or synaptic, it's in the bookworm repository: v 3.0.18
edit: the error message in your screenshot doesn't show anything (audio error ??) about the video you try to play, it's just the default info that that vlc gives I think (pulseaudio blablabla).


Re: VLC-Pulse audio connection refused.

Posted: Tue Jan 31, 2023 9:19 pm
by soniabu

right! :roll:
Just wanted to save space on the system - you're right.
Now I try to install VLC from Synaptic, I will let you know the result.
thx sonia


Re: VLC-Pulse audio connection refused.

Posted: Tue Jan 31, 2023 9:32 pm
by soniabu

I solved everything by installing from Synaptic, sorry for the silly request for help.
thx Fred.
sonia :oops:


Re: VLC-Pulse audio connection refused.

Posted: Wed Feb 01, 2023 2:11 am
by dancytron

You could probably make the application image work by changing the setting in Audio-Audio Device.

VLC uses it's own settings instead of picking them up from the operating system and I think it auto detects that you don't have pulse audio when you install it from synaptic.

But it never gets the chance to auto detect when it's an application image, so it chooses pulse audio and you have to change it.


Re: VLC-Pulse audio connection refused.

Posted: Thu Feb 02, 2023 7:23 pm
by soniabu

Thanks Dancy, I also tried VLC Appimage as you suggested: in fact it works with ' Audio ALC257 device without any conversion'.
What I can't do now - if I wanted to use VLC Appimage - is not losing the ALC257 setting every time I relaunch it VLC Appimage
as I always end up with audio= 'default' and I have to set the ALC257 audio manually.
Anyway thanks for the solution.
sonia


Re: VLC-Pulse audio connection refused.

Posted: Thu Feb 02, 2023 9:59 pm
by fredx181

@sonia Does it "remember" other settings you make e.g. in the preferences ?
If not, it could be that 'run-as-user ....' doesn't work well with appimages.


Re: VLC-Pulse audio connection refused.

Posted: Thu Feb 02, 2023 11:40 pm
by dancytron
fredx181 wrote: Thu Feb 02, 2023 9:59 pm

@sonia Does it "remember" other settings you make e.g. in the preferences ?
If not, it could be that 'run-as-user ....' doesn't work well with appimages.

VLC kind of does it's own thing so it's not surprising it doesn't quite work as an appimage that's made for standard linux apps.