vendredi 19 décembre 2014

Error while trying to use JavaCV 0.9.1 on Android

(A) Did what http://ift.tt/1tipMNB says, with the instructions of "Eclipse (Android 2.2 or newer):" .


Then when testing, it gave me this error: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_input_audio_device_next" referenced by "libjniavdevice.so"...


So I've found this page: http://ift.tt/1v2w2Yg which tells to use version 0.9.1 , found here: http://ift.tt/1zKgcYE


From there I've download "javacv-0.9.1-20141213.121825-2-bin.zip"


Then again I did the steps in (A), only using the 4 .jar files of version 0.9.1 .


Then I tried the code below:



FrameGrabber grabber1 = new FFmpegFrameGrabber(videoFile);
FrameGrabber grabber2 = new FFmpegFrameGrabber(audioFile);
grabber1.start();


and on start() it throws an exception:


java.lang.NoClassDefFoundError: java.lang.ClassNotFoundException: org.bytedeco.javacpp.avutil


and I can't find a solution for this, what should be done to solve this ?


Aucun commentaire:

Enregistrer un commentaire