Missing codecs + ffmpeg problems

*nix specific usage questions
amcrae
New Cone
New Cone
Posts: 5
Joined: 23 Jun 2010 15:00

Missing codecs + ffmpeg problems

Postby amcrae » 23 Jun 2010 15:10

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.

amcrae
New Cone
New Cone
Posts: 5
Joined: 23 Jun 2010 15:00

Re: Missing codecs + ffmpeg problems

Postby amcrae » 23 Jun 2010 22:54

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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 3 guests