You are not logged in.

#1 2010-08-14 00:22:28

rashfeather
Member
Registered: 2010-01-25
Posts: 13

[SOLVED] VLC Missing codecs after upgrade

After upgrading VLC to the latest version, it is unable to play several videos with codecs such as DIV3 and mp4a. After some digging I found this:

[tess@misaki ~]$ vlc -vvv --list |grep avcodec
VLC media player 1.1.2 The Luggage (revision exported)
[0x1ca4120] main libvlc debug: VLC media player - 1.1.2 The Luggage
[0x1ca4120] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x1ca4120] main libvlc debug: revision exported
[0x1ca4120] main libvlc debug: configured with ./configure  '--prefix=/usr' '--disable-rpath' '--enable-faad' '--enable-v4l' '--enable-snapshot' '--enable-dbus-control' '--enable-nls' '--enable-lirc' '--enable-pvr' '--enable-ncurses' '--enable-mozilla' '--with-live555-tree=/usr/lib/live' '--enable-realrtsp' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe' 'LDFLAGS=-Wl,--hash-style=gnu -Wl,--as-needed' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig'
[0x1ca4120] main libvlc debug: translation test: code is "C"
[0x1ca4120] main libvlc debug: checking plugin modules
[0x1ca4120] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x1ca4120] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so' (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so))
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libmod_plugin.so' (libmodplug.so.1: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libavformat_plugin.so' (libx264.so.104: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libts_plugin.so' (libdvbpsi.so.6: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/demux/libmkv_plugin.so' (libmatroska.so.2: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/mux/libmux_ts_plugin.so' (libdvbpsi.so.6: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libx264_plugin.so' (libx264.so.104: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/codec/libavcodec_plugin.so' (libx264.so.104: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libdvb_plugin.so' (libdvbpsi.so.6: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_dv_plugin.so' (libavc1394.so.0: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/access/libaccess_avio_plugin.so' (libx264.so.104: cannot open shared object file: No such file or directory)
[0x1ca4120] main libvlc warning: cannot load module `/usr/lib/vlc/plugins/gui/libskins2_plugin.so' (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/vlc/plugins/gui/libskins2_plugin.so))
[0x1ca4120] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04081e-7e8.dat
[0x1ca4120] main libvlc debug: module bank initialized (376 modules)

So how do I fix this? I have been digging around for the codecs in pacman but I'm not having any luck.

Help?

Last edited by rashfeather (2010-08-14 12:54:00)

Offline

#2 2010-08-14 06:59:12

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] VLC Missing codecs after upgrade

you see those cannot open shared object?

that means you don't have packages from our repos or you are not fully up to date by seeing that GLIBC.

pacman -Syu

check to see what x264 packages you have(to not be one from aur)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-08-14 12:53:39

rashfeather
Member
Registered: 2010-01-25
Posts: 13

Re: [SOLVED] VLC Missing codecs after upgrade

Yep. That's what I tried next. 488 packages later, it's all fixed.

Edit: Is it generally good practice to run pacman -Syu instead of upgrading individual packages?

Last edited by rashfeather (2010-08-14 13:00:23)

Offline

#4 2010-08-14 13:22:14

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [SOLVED] VLC Missing codecs after upgrade

rashfeather wrote:

Edit: Is it generally good practice to run pacman -Syu instead of upgrading individual packages?

Yep. Updating individual packages can lead to breakage if they were built against newer versions of other packages. This could be avoided by extensive use of versioned dependendencies but Arch assumes that the user is using the latest versions of all packages. In general, if you have to update the database to install a package because the version listed in the current database is no longer available, update the system before you install anything new to ensure compatibility (as far as possible).

In your case, if you had 488 outdated packages and only wanted to update vlc, then the rolling-release model might not be ideal for your situation. There is no set rule of how often you should update and often you don't actually need to if everything is working, but whenever the "how often do you update" thread comes up, it seems that most people update once a day. Doing so also means that there are fewer things that can go wrong at once.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB