Giter Site home page Giter Site logo

Comments (7)

wseemann avatar wseemann commented on June 24, 2024

Can you send along an APK or the app source code?

from ffmpegmediametadataretriever.

gen-failure avatar gen-failure commented on June 24, 2024

I sent you apk file

from ffmpegmediametadataretriever.

gen-failure avatar gen-failure commented on June 24, 2024

I know that cordova has it's own building mechanism based on ant, so maybe some attribute is simply missing.

from ffmpegmediametadataretriever.

gen-failure avatar gen-failure commented on June 24, 2024

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.

wseemann avatar wseemann commented on June 24, 2024

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.

gen-failure avatar gen-failure commented on June 24, 2024

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.

wseemann avatar wseemann commented on June 24, 2024

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)

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.