Page 1 of 1
Vlc Alsa problem in Ubuntu 10.10
Posted: 10 Oct 2010 20:26
by Michele
Hi,
I've installed the new Ubuntu release and Vlc from the official ubuntu ppa and I have a problem using alsa as audio output module. The audio is good but after I pause a video the audio disappear and I have to quit vlc and run it again to hear it again.
I have not this problem with pulseaudio but I can't use it because it produce a bad sound (I've always had this problem, maybe because of my sound card).
Thanks for the answers.
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 11 Oct 2010 17:07
by Rémi Denis-Courmont
Make sure pulseaudio is not running.
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 11 Oct 2010 19:32
by Michele
Make sure pulseaudio is not running.
But I don't want to stop pulseaudio every time I watch a video.
In ubuntu 10.04 I had Alsa 1.0.23 that I compiled by myself, the same version that there is in ubuntu 10.10, and it worked fine, even if pulseaudio was running.
So I think that there is a bug with the new sound system or something like that.
I repeat: vlc worked fine with alsa 1.0.23 in Ubuntu 10.04 but not in Ubuntu 10.10 with the same version.
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 11 Oct 2010 20:18
by Rémi Denis-Courmont
Thing is, you're supposed to use PulseAudio for output, not ALSA. So you're screwed if it does not work and you don't want to remove it.
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 12 Oct 2010 15:11
by Michele
Thing is, you're supposed to use PulseAudio for output, not ALSA. So you're screwed if it does not work and you don't want to remove it.
I noticed that if I force VLC's audio output rate to the frequency of 192000 Hz, like you suggested in a previous post, I get a better sound with pulse, so now I can use VLC with PulseAudio for output.
However, it is very strange that Vlc doesn't work with ALSA now, while it worked fine with the same packages in Ubuntu lucid, maybe the Vlc's Alsa plugin should be fixed. Or this issue happens just with me?
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 12 Oct 2010 17:30
by Rémi Denis-Courmont
The ALSA problem likely comes from the fact that another process (most likely PulseAudio) is claiming the device in the mean time that VLC is paused.
You should probably use 48000 instead of 192000 by the way.
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 12 Oct 2010 18:38
by Michele
The ALSA problem likely comes from the fact that another process (most likely PulseAudio) is claiming the device in the mean time that VLC is paused.
You should probably use 48000 instead of 192000 by the way.
I tried it but I get a bad sound even with 48000 and 96000, only 192000 works fine.
Maybe the alsa problem is due to the new PulseAudio version, since the alsa version is the same I installed on Ubuntu lucid.
However, thank you very much for your help Rémi.
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 13 Oct 2010 01:16
by IltonNQA
Install package vlc-plugin-pulse
Re: Vlc Alsa problem in Ubuntu 10.10
Posted: 13 Oct 2010 20:14
by Michele
Install package vlc-plugin-pulse
I've already installed it, thanks anyway.