Hi,
I am trying to convert an mp4 video file to an mp3 file using opencv 0.6.
At first i tried using the ready build cpp jars but it said codec not found. (worked when using wav as output)
Now i tried rebuilding the ffmpeg and opencv jars using ubuntu 13.04 with the --enable-libmp3lame but get the error:
/../arm-linux-androideabi/bin/ld: warning: skipping incompatible /usr/local/lib/libmp3lame.so while searching for mp3lame
/../arm-linux-androideabi/bin/ld: error: cannot find -lmp3lame
/../arm-linux-androideabi/bin/ld: /tmp/ffconf.NcbWsGYs.o: in function main:ffconf.tDPk1dCK.c(.text.main+0x4): error: undefined reference to 'lame_set_VBR_quality'
collect2: ld returned 1 exit status
ERROR: libmp3lame >= 3.98.3 not found
I installed libmp3lame version 3.99.5 from source.
I also tried copying in an libmp3lame.so i found on the internet and it did not throw the error.
But when then trying to convert in android the error:
E/AndroidRuntime(18296): Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libavcodec.so" needed by "libjniavcodec.so"; caused by could not load library "libavutil.so.52" needed by "libavcodec.so"; caused by library "libavutil.so.52" not found
Sorry i'm really new to this stuff. But i've been working on it for days and i'm really stuck now.
Thanks
Chris