sourab-sharma / TouchToRecord

Touch android camera surface view to record video using FFmpeg Recorder
297 stars 104 forks source link

Error in TouchToRecord #1

Closed tsrlinkan closed 10 years ago

tsrlinkan commented 10 years ago

Hi Sourab,

We got a chance to go through your work in VideoToRecord and it was amazing. You have done a great job :+1:

We wanted to try it our self and downloaded the files from Github and configured correctly but somehow we couldn't make it work. We addressed few issues by ourselves but it would be great if you could let us know if you have any solution for the below issues,

" 09-28 17:13:01.334: E/Trace(1396): error opening trace file: No such file or directory (2) 09-28 17:13:01.394: W/dalvikvm(1396): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/javacv/recorder/FFmpegRecorderActivity; 09-28 17:13:01.394: W/dalvikvm(1396): Class init failed in newInstance call (Lcom/javacv/recorder/FFmpegRecorderActivity;) 09-28 17:13:01.394: D/AndroidRuntime(1396): Shutting down VM 09-28 17:13:01.394: W/dalvikvm(1396): threadid=1: thread exiting with uncaught exception (group=0x2bd39930) 09-28 17:13:01.404: E/AndroidRuntime(1396): FATAL EXCEPTION: main 09-28 17:13:01.404: E/AndroidRuntime(1396): java.lang.ExceptionInInitializerError 09-28 17:13:01.404: E/AndroidRuntime(1396): at java.lang.Class.newInstanceImpl(Native Method) 09-28 17:13:01.404: E/AndroidRuntime(1396): at java.lang.Class.newInstance(Class.java:1319) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.app.Instrumentation.newActivity(Instrumentation.java:1054) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.app.ActivityThread.access$600(ActivityThread.java:141) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.os.Handler.dispatchMessage(Handler.java:99) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.os.Looper.loop(Looper.java:137) 09-28 17:13:01.404: E/AndroidRuntime(1396): at android.app.ActivityThread.main(ActivityThread.java:5039) 09-28 17:13:01.404: E/AndroidRuntime(1396): at java.lang.reflect.Method.invokeNative(Native Method) 09-28 17:13:01.404: E/AndroidRuntime(1396): at java.lang.reflect.Method.invoke(Method.java:511) 09-28 17:13:01.404: E/AndroidRuntime(1396): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) 09-28 17:13:01.404: E/AndroidRuntime(1396): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 09-28 17:13:01.404: E/AndroidRuntime(1396): at dalvik.system.NativeStart.main(Native Method) 09-28 17:13:01.404: E/AndroidRuntime(1396): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load checkneon from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.javacv.recorder-1.apk,libraryPath=/data/app-lib/com.javacv.recorder-1]: findLibrary returned null 09-28 17:13:01.404: E/AndroidRuntime(1396): at java.lang.Runtime.loadLibrary(Runtime.java:365) 09-28 17:13:01.404: E/AndroidRuntime(1396): at java.lang.System.loadLibrary(System.java:535) 09-28 17:13:01.404: E/AndroidRuntime(1396): at com.javacv.recorder.FFmpegRecorderActivity.(FFmpegRecorderActivity.java:147) 09-28 17:13:01.404: E/AndroidRuntime(1396): ... 15 more "

Your earliest response would be appreciated.

Thanks Sid

sourab-sharma commented 10 years ago

Hi Sid,

I had committed complete library code folder but somehow not even a single .SO file was uploaded in armeabi-v7a folder. I have uploaded all .SO files in that folder. Now, you will not face above error for sure.

Regards, Sourab Sharma