Distorted sound from VLC in Natty

Asked by Brian Smith

I don't know if it's a bug or a user problem, so I'll just post something here. I've been using Maverick for a while, and everything worked properly. I recently upgraded to Natty, and the VLC player produces distorted sound. Amarok will play the same file with zero distortion, so I don't think it's an ALSA or Pulse audio issue.

I'm also interested in recording live music through Audacity. I installed the abogani ppa, so I could have the low-latency kernel. I don't know if this contributes to the VLC problem, but I'll put the information out there anyway. Audacity also has distorted sound.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu vlc Edit question
Assignee:
No assignee Edit question
Solved by:
Brian Smith
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does gnome-mplayer work ok (I assume gnome desktop)

Revision history for this message
Brian Smith (mindfilled75-gmail) said :
#2

Yes, gnome mplayer has a clean sound as well. The distortion is only present in VLC and Audacity

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Then try:

killall pulseaudio; rm -r ~/.pulse*

then wait about 10 seconds (feel free to use other apps while you wait), then try sound.

Revision history for this message
Brian Smith (mindfilled75-gmail) said :
#4

I did as you suggested, but VLC still had a lot of distortion during playback.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Try:

rm -r ~/.config/vlc

Also what is the output of:

lsb_release -a; apt-cache policy vlc

Thanks

Revision history for this message
Brian Smith (mindfilled75-gmail) said :
#6

Ok.

rm -r ~/.config/vlc

cleaned up the vlc audio.

The output for
lsb_release -a; apt-cache policy vlc
is:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
vlc:
  Installed: 1.1.9-1ubuntu1
  Candidate: 1.1.9-1ubuntu1
  Version table:
 *** 1.1.9-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

Is this now solved?

Revision history for this message
Brian Smith (mindfilled75-gmail) said :
#8

Well, VLC seems better. I guess I'll continue to troubleshoot Audacity, and perhaps post a new support request if I hit a wall.

Revision history for this message
brian mullan (bmullan) said :
#9

After upgrading to 11.04 natty I also had problems with scratchy type noise with VLC.

I found this suggestion to delete the ~/.config/vlc file and tried it and it seems to have fixed my Audio as well.

Revision history for this message
Andreas Graefenstein (agraefenstein) said :
#10

I had the same problem, after deleting ~/.config/vlc everything seems to be normal.

Revision history for this message
Krack (krack3rz) said :
#11

i had the same problem, deleting ~/.pulse* fixed it.
I use Oneiric (11.10) and it just started happening one day, namely yesterday (the 29th)

Revision history for this message
Data Virtue (seanka) said :
#12

Having the same issue here. Intially VLC would start out scratchy and then suddenly flip and play perfectly. Now every time I start it the music is scrtachy and distorted. Switched to banshee and find there is now random!! Come on people. Deleted .config/vlc and the problem remains. Impressive.

Revision history for this message
zibeltbg (zibeltbg) said :
#13

Solved!!! The same problem in Kubuntu-need to compile Luggage 1.1.5 -http://mafayyaz.wordpress.com/2010/07/02/hello-world/ and the sound is betther, and no crash

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#14

Could get 1.2 with:

sudo add-apt-repository ppa:videolan/master-daily; sudo apt-get update; sudo apt-get -y upgrade

This will overwrite your compile. Your call.

Revision history for this message
Steven Arnold (slarnold) said :
#15

I'm running 12.04, and see the same problem. The work-around works... however, the problem comes back at each restart/login, probably because I have the following autostart -

~$ cat .config/autostart/vlc.desktop
...
Exec=/usr/bin/vlc -I http --http-port 8081
...

is there another solution?

Revision history for this message
Steven Arnold (slarnold) said :
#16