VLC-Pulse audio connection refused. (SOLVED)

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

Post Reply
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

VLC-Pulse audio connection refused. (SOLVED)

Post 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

Last edited by soniabu on Fri Mar 10, 2023 5:36 pm, edited 1 time in total.
User avatar
fredx181
Posts: 2626
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 291 times
Been thanked: 1028 times
Contact:

Re: VLC-Pulse audio connection refused.

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

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: VLC-Pulse audio connection refused.

Post 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

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: VLC-Pulse audio connection refused.

Post by soniabu »

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

dancytron
Posts: 656
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 423 times
Been thanked: 191 times

Re: VLC-Pulse audio connection refused.

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

Attachments
vlc.png
vlc.png (206.78 KiB) Viewed 354 times
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: VLC-Pulse audio connection refused.

Post 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

User avatar
fredx181
Posts: 2626
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 291 times
Been thanked: 1028 times
Contact:

Re: VLC-Pulse audio connection refused.

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

dancytron
Posts: 656
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 423 times
Been thanked: 191 times

Re: VLC-Pulse audio connection refused.

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

Post Reply

Return to “DebianDogs”