can't get correct audio with vlc

Hi guys,

I got some trouble with my vlc: the audio always stop and then came back all the time so I can’t read any of my movie. I try to copy the video on my brother computer (using vlc with windows XP) and he got no problem. I try to use other application like totem or xine but they keep asking me about some codec that I can’t find.

However I don’t have any problem using youtube, dailymotion or even reading dvd but I can’t read any divx.

You could try working your way through this:
Check your multimedia problem in ten steps - openSUSE Forums

ok, I followed all the step on your link, but I got some little different stuff:

rpm -qa --queryformat '%{NAME} -> %{VENDOR}
' | grep -i VideoLAN

libavcodec52 -> VideoLAN Project (http://www.videolan.org)
libupnp3 -> VideoLAN Project (http://www.videolan.org)
libmad0 -> VideoLAN Project (http://www.videolan.org)
liba52-0 -> VideoLAN Project (http://www.videolan.org)
libx264-75 -> VideoLAN Project (http://www.videolan.org)
libswscale0 -> VideoLAN Project (http://www.videolan.org)
libdca0 -> VideoLAN Project (http://www.videolan.org)
libxvidcore4 -> VideoLAN Project (http://www.videolan.org)
libmp3lame0 -> VideoLAN Project (http://www.videolan.org)
libkate1 -> VideoLAN Project (http://www.videolan.org)
libenca0 -> VideoLAN Project (http://www.videolan.org)
libavutil50 -> VideoLAN Project (http://www.videolan.org)
libmpeg2-0 -> VideoLAN Project (http://www.videolan.org)
libdvdcss -> VideoLAN Project (http://www.videolan.org)
libavformat52 -> VideoLAN Project (http://www.videolan.org)
libfaac0 -> VideoLAN Project (http://www.videolan.org)

I first remove all these packages, add packman repository and give it a better priority so I suppose that I have no choice to install them from VIDEOLAN.
Also I got

$ rpm --query --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} -> %{VENDOR}
' gstreamer-0_10-ffmpeg gstreamer-0_10-fluendo-mp3 gstreamer-0_10-fluendo-mpegdemux gstreamer-0_10-fluendo-mpegmux gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-extra gstreamer-0_10-plugins-ugly

gstreamer-0_10-ffmpeg-0.10.7-42.pm.1-i586 -> http://packman.links2linux.de
gstreamer-0_10-fluendo-mp3-0.10.10-42.pm.1-i586 -> packman.links2linux.de
gstreamer-0_10-fluendo-mpegdemux-0.10.23-42.pm.1-i586 -> packman.links2linux.de
gstreamer-0_10-fluendo-mpegmux-0.10.4-42.pm.1-i586 -> packman.links2linux.de
gstreamer-0_10-plugins-bad-0.10.8-6.6.1-i586 -> openSUSE
gstreamer-0_10-plugins-base-0.10.21-2.21.2-i586 -> openSUSE
gstreamer-0_10-plugins-good-0.10.10-3.22.1-i586 -> openSUSE
gstreamer-0_10-plugins-good-extra-0.10.10-3.22.1-i586 -> openSUSE
gstreamer-0_10-plugins-ugly-0.10.9-2.18-i586 -> openSUSE

I don’t think that having packages from openSUSE repository can be a problem…

It don’t fix my problem at all for VLC, I got a popup from MPlayer saying “unable to find control PCM 0” but it works great with xine. Any Idea ?

Here are the command ask at the end of the page:

rpm --query --all 'libav*' 'libpostproc*' 'libswscale*' '*xine*' '*gst*' MPlayer '*vlc*' | grep -v avahi | sort

MPlayer-1.0rc2_r29116-2.pm.2
banshee-1-backend-engine-gstreamer-1.4.3-1.2.1
gstreamer-0_10-0.10.21-3.11
gstreamer-0_10-ffmpeg-0.10.7-42.pm.1
gstreamer-0_10-fluendo-mp3-0.10.10-42.pm.1
gstreamer-0_10-fluendo-mpegdemux-0.10.23-42.pm.1
gstreamer-0_10-fluendo-mpegmux-0.10.4-42.pm.1
gstreamer-0_10-plugins-bad-0.10.8-6.6.1
gstreamer-0_10-plugins-bad-lang-0.10.8-6.6.1
gstreamer-0_10-plugins-base-0.10.21-2.21.2
gstreamer-0_10-plugins-good-0.10.10-3.22.1
gstreamer-0_10-plugins-good-extra-0.10.10-3.22.1
gstreamer-0_10-plugins-ugly-0.10.9-2.18
gstreamer-0_10-plugins-ugly-lang-0.10.9-2.18
gstreamer-0_10-schroedinger-1.0.5-2.19
gstreamer-0_10-utils-0.10.21-3.11
gstreamer-utils-0.10.21-3.11
libavc1394-0-0.5.3-129.3
libavcodec52-0.5.0.19754-1.1
libavformat52-0.5.0.19754-1.1
libavutil49-0.5-1.pm.8.2
libavutil50-0.5.0.19754-1.1
libgstapp-0_10-0-0.10.8-6.6.1
libgstinterfaces-0_10-0-0.10.21-2.21.2
libgstreamer-0_10-0-0.10.21-3.11
libpostproc51-0.5-1.pm.8.2
libswscale0-0.5.0.19754-1.1
libvlc2-1.0.1-1.pm.2
libvlccore2-1.0.1-1.pm.2
libxine1-1.1.16.3-2.pm.5.1
libxine1-codecs-1.1.16.3-2.pm.5.1
vlc-1.0.1-1.pm.2
vlc-noX-1.0.1-1.pm.2
vlc-qt-1.0.1-1.pm.2
xine-ui-0.99.5cvs-20090203.pm.0821
xinetd-2.3.14-129.28

I do not have the problem you note. When I look at the packages I still see a mix of videolan and SuSE-GmbH packages with the packman packaged packages. You have not yet replaced all of those packages with the packman packaged versions where available.

Take a look at my output where this “just works” :

oldcpu@hal1000:~> rpm --query --all 'libav*' 'libpostproc*' 'libswscale*' '*xine*' '*gst*' MPlayer '*vlc*' | grep -v avahi | sort
amarok-xine-1.4.10-103.pm.107.3
gstreamer-0_10-0.10.23-42.pm.44.1
gstreamer-0_10-devel-0.10.23-42.pm.44.1
gstreamer-0_10-fluendo-mp3-0.10.10-42.pm.1
gstreamer-0_10-lang-0.10.23-42.pm.44.1
gstreamer-0_10-plugins-base-0.10.23-42.pm.42.14
gstreamer-0_10-plugins-base-devel-0.10.23-42.pm.42.14
gstreamer-0_10-plugins-base-lang-0.10.23-42.pm.42.14
gstreamer-0_10-plugins-good-0.10.15-42.pm.1
gstreamer-0_10-plugins-good-lang-0.10.15-42.pm.1
gstreamer-0_10-schroedinger-1.0.5-42.pm.49.1
gstreamer-0_10-utils-0.10.23-42.pm.44.1
gstreamer-utils-0.10.23-42.pm.44.1
libavc1394-0-0.5.3-129.6
libavc1394-devel-0.5.3-129.6
libavcodec52-0.5-1.pm.8.2
libavdevice52-0.5-1.pm.8.2
libavformat52-0.5-1.pm.8.2
libavutil49-0.5-1.pm.8.2
libgstinterfaces-0_10-0-0.10.23-42.pm.42.14
libgstreamer-0_10-0-0.10.23-42.pm.44.1
libpostproc51-0.5-1.pm.8.2
libswscale0-0.5-1.pm.8.2
libvlc2-1.0.1-1.pm.2
libvlccore0-0.9.9a-0.pm.1
libvlccore2-1.0.1-1.pm.2
libxine1-1.1.16.3-2.pm.5.2
libxine1-codecs-1.1.16.3-2.pm.5.2
libxine1-gnome-vfs-1.1.16.3-2.pm.5.2
libxine1-pulse-1.1.16.3-2.pm.5.2
MPlayer-1.0rc2_r29116-2.pm.2
phonon-backend-gstreamer-0_10-4.2.0-40.18
python-gstreamer-0_10-0.10.15-42.pm.1
vlc-1.0.1-1.pm.2
vlc-noX-1.0.1-1.pm.2
vlc-qt-1.0.1-1.pm.2
xinetd-2.3.14-129.35
xine-ui-0.99.5cvs-20090203.pm.0821

I just replace all the package that were not from packman and I still got the same thing…Its working great with xine, with MPlayer I gat a warning message telling “invalid and inefficient vfw-avi packed B frames detected” but apart from that all is well. With VLc and totem its just don’t work, no sound for VLC and no video for Totem. Vlc on windows can read the movie. I realy don’t get it.

Its really difficult to help with such a dearth of information as to what settings you tried.

What settings did you check? Did you try to tune the output audio settings of those applications? Or did you just select a video to play, and then stop looking when it did not work?

For example, in vlc, did you try: vlc > tools > preferences > audio > output > type and then select “ALSA audio output” or one of the other outputs?

So you are saying it plays well, but you are unhappy with the error message?

yes I do try to tune vlc audio, I also try some script to configure alsa and try to tune this one, I don’t try to download the last source and compile yet but I will.
For MPlayer, I’m unhappy with the error message, it’s should not be there !
Is there any change to have better results using KDE insted of gnome ? I don’t think so…