Comments (14)
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.
What version of Android are you using?
from ffmpegmediametadataretriever.
Android 4.2.2
from ffmpegmediametadataretriever.
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.
OK, I'll try them later today. Thanks.
from ffmpegmediametadataretriever.
The same crash.
from ffmpegmediametadataretriever.
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.
same issue for me.
from ffmpegmediametadataretriever.
I added gradle import line in build.gradle of app module.
compile 'com.github.wseemann:FFmpegMediaMetadataRetriever:1.0.3'
from ffmpegmediametadataretriever.
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.
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.
`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.
Thank you for your help!
from ffmpegmediametadataretriever.
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)
- OpenSSL lower then 1.1.1i HOT 3
- Embedded coverart overwrites comment field
- it seems like the customer header not working by use method setDataSource ,please fix it ,thanks HOT 4
- getScaledFrameAtTime returns black bitmap on some videos HOT 7
- Get thumbnail from HLS VOD content HOT 2
- libavformat.so #00 pc 000b50d8
- Can not use FFmpegMediaMetadataRetriever HOT 2
- how to use it with recyclerview ? HOT 1
- What is the reason of memory increasing. HOT 1
- Can it retrieve frames of a video at 24fps rate? HOT 1
- Uncatchable crash setDataSource code -1 (SI_QUEUE) HOT 8
- FFmpegMediaMetadataRetriever does not respect video rotation in getFrameAtTime HOT 1
- Android FFmpegMediaMetadataRetriever get Frame from RTSP stream App Crash with A/libc: Fatal signal 6 (SIGABRT) HOT 10
- JNI_ERR returned from JNI_OnLoad HOT 1
- METADATA_KEY_DURATION returns 0 for mp3 on android 6.0.1 but works on other versions HOT 2
- 获取Flv视频格式的缩略图时闪退 HOT 2
- retry后socket没有释放
- App crash FFmpegMediaMetadataRetriever HOT 1
- When will the next version be released
- can the library ignore ssl check,because the certificate of some streams may be not safely
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpegmediametadataretriever.