Giter Site home page Giter Site logo

Comments (14)

wseemann avatar wseemann commented on June 17, 2024 1

Can you post you crash from logcat?

On Jul 15, 2016 11:25 AM, "AlexRodri" [email protected] wrote:

Same problem for me with the 1.0.11 with a 4.4.2 api 19 device. only
happens when in release.

Would appreciate your help.


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#43 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACMJhIlhATS1Fb6dcblz524apefhiWUcks5qV7R5gaJpZM4Dxz3l
.

from ffmpegmediametadataretriever.

wseemann avatar wseemann commented on June 17, 2024

What version of Android are you using?

from ffmpegmediametadataretriever.

westlinkin avatar westlinkin commented on June 17, 2024

Android 4.2.2

from ffmpegmediametadataretriever.

wseemann avatar wseemann commented on June 17, 2024

Can you download the latest prebuilt-libs (I just uploaded them today) and try again? I tested using the emulator and I can't reproduce this issue. Make sure you delete any old JARs and .so file from your apps "libs" before adding the new ones. Test again and let me know.

from ffmpegmediametadataretriever.

westlinkin avatar westlinkin commented on June 17, 2024

OK, I'll try them later today. Thanks.

from ffmpegmediametadataretriever.

westlinkin avatar westlinkin commented on June 17, 2024

The same crash.

from ffmpegmediametadataretriever.

wseemann avatar wseemann commented on June 17, 2024

If you want to send me your code I will test it out however running this on the armeabi-v7a 4.2.2 emulator doesn't produce a crash. I would appear you may have a sync issue between the native .so files and fmmr.jar.

from ffmpegmediametadataretriever.

AbigailEsman avatar AbigailEsman commented on June 17, 2024

same issue for me.

from ffmpegmediametadataretriever.

AbigailEsman avatar AbigailEsman commented on June 17, 2024

I added gradle import line in build.gradle of app module.
compile 'com.github.wseemann:FFmpegMediaMetadataRetriever:1.0.3'

from ffmpegmediametadataretriever.

fxhereng avatar fxhereng commented on June 17, 2024

Same problem for me with the 1.0.8 with a 4.4.2 api 19 device. Put it back to 1.0.3 version seems to have fixed the problem.

Cheers

from ffmpegmediametadataretriever.

AlexRodri avatar AlexRodri commented on June 17, 2024

Same problem for me with the 1.0.11 with a 4.4.2 api 19 device. only happens when in release.

Would appreciate your help.

from ffmpegmediametadataretriever.

AlexRodri avatar AlexRodri commented on June 17, 2024

`07-15 17:28:10.644 16103-16103/esrg.digitalsignage.standbyplayer E/dalvikvm: ERROR: couldn't find native method
07-15 17:28:10.644 16103-16103/esrg.digitalsignage.standbyplayer E/dalvikvm: Requested: Lwseemann/media/FFmpegMediaMetadataRetriever;._setDataSource:(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
07-15 17:28:10.644 16103-16103/esrg.digitalsignage.standbyplayer E/MediaMetadataRetrieverJNI: ERROR: FFmpegMediaMetadataRetriever native registration failed

07-15 17:28:10.644 16103-16103/esrg.digitalsignage.standbyplayer E/AndroidRuntime: FATAL EXCEPTION: main
Process: esrg.digitalsignage.standbyplayer, PID: 16103
java.lang.NoSuchMethodError: no static or non-static method "Lwseemann/media/FFmpegMediaMetadataRetriever;._setDataSource(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V"
at java.lang.Runtime.nativeLoad(Native Method)
at java.lang.Runtime.doLoad(Runtime.java:421)
at java.lang.Runtime.loadLibrary(Runtime.java:362)
at java.lang.System.loadLibrary(System.java:526)
at wseemann.media.FFmpegMediaMetadataRetriever.(Unknown Source)
at esrg.digitalsignage.standbyplayer.e.a.a(Unknown Source)
at esrg.digitalsignage.standbyplayer.e.a.a(Unknown Source)
at esrg.digitalsignage.standbyplayer.e.a.j(Unknown Source)
at android.support.a.a.m.B(Unknown Source)
at android.support.a.a.w.a(Unknown Source)
at android.support.a.a.w.a(Unknown Source)
at android.support.a.a.w.a(Unknown Source)
at android.support.a.a.w.m(Unknown Source)
at android.support.a.a.p.b(Unknown Source)
at android.support.a.a.p.onPostResume(Unknown Source)
at android.app.Activity.performResume(Activity.java:5344)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2764)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2803)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2238)
at android.app.ActivityThread.access$800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:736)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:570)
at dalvik.system.NativeStart.main(Native ### Method)`

from ffmpegmediametadataretriever.

AlexRodri avatar AlexRodri commented on June 17, 2024

Thank you for your help!

from ffmpegmediametadataretriever.

AlexRodri avatar AlexRodri commented on June 17, 2024

Problem fixed!

It's a Proguard issue, add the following line to the "proguard-rules.txt":

-keep class wseemann.media.** { *; }

Cheers

from ffmpegmediametadataretriever.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.