Comments (7)
Can you send along an APK or the app source code?
from ffmpegmediametadataretriever.
I sent you apk file
from ffmpegmediametadataretriever.
I know that cordova has it's own building mechanism based on ant, so maybe some attribute is simply missing.
from ffmpegmediametadataretriever.
This actually helped me and it's not cordova related issue, maybe it will help others as well
I found the solution, it's still dirty, but works
100 /FIXME
101 if (!foundLibs) {
102 Log.e(TAG, TAG + " libraries not found. Did you forget to add them to your libs folder?");
103 throw new UnsatisfiedLinkError();
104 }
105
106 for (int i = 0; i < JNI_LIBRARIES.length; i++) {
107 System.load(path.toString() + JNI_LIBRARIES[i]);
108 }/
109 $
110 System.loadLibrary("avutil");
111 System.loadLibrary("swscale");
112 System.loadLibrary("avcodec");
113 System.loadLibrary("avformat");
114 System.loadLibrary("ffmpeg_mediametadataretriever_jni");
11
116 native_init();
117 }
from ffmpegmediametadataretriever.
Back when I used to compile FFmpeg with a soname
prefix I need to load each library using the explicit path. Since I no longer use the prefix System.loadLibrary(...)
seems to work fine. I've modified the code to use the proposed approach. Thank you for the bug report.
from ffmpegmediametadataretriever.
actually, it would be cool to have access to full ffmpeg binary but "/data/data" is probably not reliable way to reach it :)
from ffmpegmediametadataretriever.
There are other projects that can build that binary (https://github.com/guardianproject/android-ffmpeg). A full binary wouldn't really make sense for this library so I won't provide one.
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.