Page 1 of 1

Missing codecs + ffmpeg problems

Posted: 23 Jun 2010 15:10
by amcrae
Hey all,

I'm having trouble getting vlc to play video with the following codecs: mpgv, mp4a, and avc1. Whenever I attempt to play one of these, vlc spits out the standard "VLC does not support..." message.

When I run vlc -vvv -l | grep mpgv, I get the following warning:
[0x804f3a8] main libvlc warning: cannot load module `/usr/local/lib/vlc/demux/libavformat_plugin.so' (libavformat.so.52: cannot open shared object file: No such file or directory)
[0x804f3a8] main libvlc warning: cannot load module `/usr/local/lib/vlc/codec/libavcodec_plugin.so' (libavcodec.so.52: cannot open shared object file: No such file or directory)

I should probably also note that everything has been built up from source tarballs; the computer I work on doesn't have a direct internet connection and cannot use git. (using openSuse 11.2)

Any advice on attaining these codecs is greatly appreciated.

Re: Missing codecs + ffmpeg problems

Posted: 23 Jun 2010 22:54
by amcrae
Actually found a solution by accident.

VLC must not be able to find the libraries, or ffmpeg doesn't allow them to be found. To fix, as root:
echo "/usr/local/lib">>/etc/ld.so.conf
echo "/usr/lib/">>/etc/ld.so.conf
ldconfig

This should fix the problem.