Giter VIP home page Giter VIP logo

jni_invoke_ffmpeg's People

Contributors

hikoqiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

jni_invoke_ffmpeg's Issues

Unable to generate .so files.

Hi HikoQiu,
I am running ndk-build on my project and tried to generate .so file but getting the following error for this project.
even I got the same error for https://github.com/Kernald/ffmpeg-android.

D:\Android\JNIHikoProject\app\src\main\jni>ndk-build
[armeabi-v7a] Compile thumb : myjni <= myjni.c
[armeabi-v7a] Compile thumb : myjni <= ffmpeg.c
D:/Android/JNIHikoProject/app/src/main/jni/ffmpeg.c:27:20: fatal error: config.h: No such file or directory
#include "config.h"
^
compilation terminated.
make: *** [D:/Android/JNIHikoProject/app/src/main/obj/local/armeabi-v7a/objs/myjni/ffmpeg.o] Error 1

Also getting many errors in ffmpeg.c file, It is standard ffmpeg file your own created file.
If I solved include(header) file issue get another one issue i.e
D:/Android/JNIHikoProject/app/src/main/jni/ffmpeg.c:694:1: error: 'FF_DISABLE_DEPRECATION_WARNINGS' undeclared (first use in this function)
FF_DISABLE_DEPRECATION_WARNINGS

Assembler error

I am doing an ndk build to get the following error message.
I have copied the .so files to the libs directory, and placed the files in jni folder to the corresponding jni folder on my app.

/var/folders/2p/0jqlz1c94t537_53qn3h8v9h0000gn/T//ccJtcQLv.s: Assembler messages:
/var/folders/2p/0jqlz1c94t537_53qn3h8v9h0000gn/T//ccJtcQLv.s:4105: Error: bad instruction `cmovg r3,r8'
/var/folders/2p/0jqlz1c94t537_53qn3h8v9h0000gn/T//ccJtcQLv.s:4106: Error: bad instruction `cmovg r2,r3'
/var/folders/2p/0jqlz1c94t537_53qn3h8v9h0000gn/T//ccJtcQLv.s:4108: Error: bad instruction `cmovl r1,r3'
/var/folders/2p/0jqlz1c94t537_53qn3h8v9h0000gn/T//ccJtcQLv.s:4110: Error: bad instruction `cmovg r3,r8'
make: *** [/Users/madhavanmalolan/myapp/app/obj/local/armeabi-v7a/objs/myjnitest/ffmpeg.o] Error 1

i am using ndk r12b. Is there something that i may be missing

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.