Coder Social home page Coder Social logo

Getting build error about ffmpeg-kit HOT 7 CLOSED

arthenica avatar arthenica commented on June 22, 2024
Getting build error

from ffmpeg-kit.

Comments (7)

tanersener avatar tanersener commented on June 22, 2024

I don't know why you have this error. Can you try using NDK version 21.4 or 22? These are the versions that were used to test the scripts.

from ffmpeg-kit.

juha-h avatar juha-h commented on June 22, 2024

I got the same error. I'm using /opt/Android/ndk/21.1.6352462 that comes bundled by latest stable Android Studio. It works with --disable-arm-v7a, but fails with --disable-arm64-v8a.

I don't need ffmpegkit. Is there a way to stop after

ffmpeg: ok

so that ffmpeg-kit: failed would not appear?

from ffmpeg-kit.

juha-h avatar juha-h commented on June 22, 2024

I was able to skip ffmpeg-kit by setting environment var

SKIP_ffmpeg_kit=1

from ffmpeg-kit.

vishalknishad avatar vishalknishad commented on June 22, 2024

quick hack:

In file android/ffmpeg-kit-android-lib/src/main/cpp/fftools_ffmpeg.c, line 493 & 506

Replace __linux__ with __linux1__

recompile

@tanersener a better solution would be passing -Wmissing-braces flag to the compiler.

from ffmpeg-kit.

tanersener avatar tanersener commented on June 22, 2024

I got the same error. I'm using /opt/Android/ndk/21.1.6352462 that comes bundled by latest stable Android Studio. It works with --disable-arm-v7a, but fails with --disable-arm64-v8a.

My suggestion is to use the newer NDK versions, the ones that we tested. I don't guarantee that you won't get an error on older versions. And by the way, you can upgrade the NDK from Android Studio. Android Studio allows you to do that.

so that ffmpeg-kit: failed would not appear?

You can use --skip-ffmpeg-kit option.

@tanersener a better solution would be passing -Wmissing-braces flag to the compiler.

As far as I remember, the flag that breaks the build in this issue is added automatically by ndk-build. It is not easy to update those flags.

from ffmpeg-kit.

dnovikov avatar dnovikov commented on June 22, 2024

Switch from NDK 21.3.6528147 to 22.0.7026061 fixed this for me.

from ffmpeg-kit.

github-actions avatar github-actions commented on June 22, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from ffmpeg-kit.

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.