ffmpeg problem in ubuntu (libavcodec.so)
- by lyuba
I run Ubuntu and try to use the ffmpeg wrapper in Java from here:
http://code.google.com/p/javacv/
It seems to work fine on other systems, but in Ubuntu the project crashes
with the following mistake:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up
function 'avcodec_decode_video2': /usr/lib/i686/cmov/libavcodec.so:
undefined symbol: avcodec_decode_video2
ffmpeg is working great from the command line, though.
JavaCV author recommended me to check this link:
http://linux-tipps.blogspot.com/2009/05/pretending-package-is-installed-by.html
Probably I'm doing something wrong, but it cannot reinstall libavcodec51
like this.
So the questions are:
1. Is those solution above a good one so I should bring it to success
somehow?
2. What are the other ways to solve the problem?
Thank you for your suggestions in advance!