Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFmpegExample can't use it test #25

Closed
ideakid opened this issue Mar 11, 2013 · 4 comments
Closed

FFmpegExample can't use it test #25

ideakid opened this issue Mar 11, 2013 · 4 comments
Labels

Comments

@ideakid
Copy link

ideakid commented Mar 11, 2013

can't import in Project Android

@jacek-marchwicki
Copy link
Member

Duplicate of #23?
If it is why dont you answer in same thread?

What did you do? What error you have? What is expected to be?
I'm not an wizard to answer questions like that?

@ideakid
Copy link
Author

ideakid commented Mar 16, 2013

help me. i can't play it.
you can sent full code help me plase.
you see error and you can edit code help me plase.

03-16 10:40:46.929: E/AndroidRuntime(11913): FATAL EXCEPTION: main
03-16 10:40:46.929: E/AndroidRuntime(11913): java.lang.ExceptionInInitializerError
03-16 10:40:46.929: E/AndroidRuntime(11913): at com.ffmpegtest.VideoActivity.onCreate(VideoActivity.java:134)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.os.Handler.dispatchMessage(Handler.java:99)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.os.Looper.loop(Looper.java:123)
03-16 10:40:46.929: E/AndroidRuntime(11913): at android.app.ActivityThread.main(ActivityThread.java:3691)
03-16 10:40:46.929: E/AndroidRuntime(11913): at java.lang.reflect.Method.invokeNative(Native Method)
03-16 10:40:46.929: E/AndroidRuntime(11913): at java.lang.reflect.Method.invoke(Method.java:507)
03-16 10:40:46.929: E/AndroidRuntime(11913): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
03-16 10:40:46.929: E/AndroidRuntime(11913): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
03-16 10:40:46.929: E/AndroidRuntime(11913): at dalvik.system.NativeStart.main(Native Method)
03-16 10:40:46.929: E/AndroidRuntime(11913): Caused by: java.lang.ExceptionInInitializerError
03-16 10:40:46.929: E/AndroidRuntime(11913): at com.appunite.ffmpeg.FFmpegPlayer.(FFmpegPlayer.java:183)
03-16 10:40:46.929: E/AndroidRuntime(11913): ... 14 more
03-16 10:40:46.929: E/AndroidRuntime(11913): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load nativetester-jni: findLibrary returned null
03-16 10:40:46.929: E/AndroidRuntime(11913): at java.lang.Runtime.loadLibrary(Runtime.java:429)
03-16 10:40:46.929: E/AndroidRuntime(11913): at java.lang.System.loadLibrary(System.java:554)
03-16 10:40:46.929: E/AndroidRuntime(11913): at com.appunite.ffmpeg.NativeTester.(NativeTester.java:23)
03-16 10:40:46.929: E/AndroidRuntime(11913): ... 15 more

@jacek-marchwicki
Copy link
Member

"03-16 10:40:46.929: E/AndroidRuntime(11913): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load nativetester-jni: findLibrary returned null"

It can find nativetester-jni library. You did not compilled native libs as described in README file.

@krunalshah412
Copy link

Hi jacek-marchwicki,
i refer README but dont get exactly idea, how to change code from my side by refering it,
please help me exactly by how to refer README.

error got like: 08-23 11:47:37.000: E/AndroidRuntime(27571): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load nativetester-jni: findLibrary returned null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants