mdyusuf000 / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

Codecs not getting loaded for the latest release. #449

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Attaching a sample project. Run the MainActivity.java in android environment
2.It has all the supporting jars and libraries.
3.(Exception)java.lang.UnsatisfiedLinkError: Couldn't load gnustl_static from 
loader 
dalvik.system.PathClassLoader[dexPath=/data/app/com.example.javacv.test-1.apk,li
braryPath=/data/app-lib/com.example.javacv.test-1]: findLibrary returned null

Cannot load library: soinfo_relocate(linker.cpp:976): cannot locate symbol 
"avcodec_alloc_context2" referenced by "libjniavcodec.so".

What is the expected output? What do you see instead?

Load all the codes and convert the video file along with the audio. 
What version of the product are you using? On what operating system?
beb7137485d0 revision from latest changes. We tried with OS including linux and 
windows. Its an android application.

Please provide any additional information below.
We are trying to convert the video file along with the audio using the android 
app.
Please note that the attached jar files are from the latest revision of source 
code changes available on the website. We have used Maven project to create 
these jars. Any help is appreciated. :) 

Original issue reported on code.google.com by abhilash...@gmail.com on 22 Mar 2014 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
How is this different from issue #446?

Original comment by samuel.a...@gmail.com on 23 Mar 2014 at 1:17

GoogleCodeExporter commented 9 years ago
Hey Samuel, i wasn't able to find an option to delete that post; hence you can 
ignore post 446 and help me with this (post 449) . thanks :)

Original comment by abhilash...@gmail.com on 23 Mar 2014 at 3:29

GoogleCodeExporter commented 9 years ago
I have managed to solve the problem. tickets can be close. thanks :)

Original comment by abhilash...@gmail.com on 25 Mar 2014 at 1:22

GoogleCodeExporter commented 9 years ago
Could you please provide a list of files that you have in your project 
directory? Thanks

Original comment by samuel.a...@gmail.com on 25 Mar 2014 at 1:23

GoogleCodeExporter commented 9 years ago
Ok, good!

BTW, if you could provide some details about how you fixed the issue, it might 
help someone else in the future that is having the same problem, thanks!

Original comment by samuel.a...@gmail.com on 25 Mar 2014 at 1:29

GoogleCodeExporter commented 9 years ago
Actually the main problem was that i had not included necessary " .so " files 
that are required inside "/libs/armeab" folder inside our main android project 
structure.
As far as the files are concerned, i had only one class file inside my android 
project along with the javacp and javacpp jar dependencies.

Original comment by abhilash...@gmail.com on 25 Mar 2014 at 5:58