Comments (7)
would be great if someone could help on this I need the newest version but I can't build the project
from ffmpeg-android.
I had to update my NDK ABI version to 4.9
(the default is 4.8
). I also had to update my android version to something other than the default(which is 9
). I updated my version to 23
. All of this can be done from within the settings.sh bash file. I am running into other issues but this got me past the C compiler and toolchain errors.
from ffmpeg-android.
My issue is within x264. Whenever I run the bash script to compile x264, I get the following in the logs:
checking for pthread_create(0,0,0,0); in pthread.h... no
Failed command line was:
---------------------------------------------------------
/home/john/repos/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -
I$(SRCPATH) --sysroot=/home/john/repos/ffmpeg-android/toolchain-android/sysroot -std=gnu99 -
lpthread --sysroot=/home/john/repos/ffmpeg-android/toolchain-android/sysroot -lm -o conftest
androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
There are several more of these similar errors surrounding swscale.h
, lpostproc
, lavcodec
and more
from ffmpeg-android.
Same issue on ubuntu 14.04
from ffmpeg-android.
Same in Ubuntu 16.04.
from ffmpeg-android.
I am facing the same issue the log file content is as below:
x264 configure script
Command line options: "--cross-prefix=/home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-" "--sysroot=/home/test/ffmpeg-android/toolchain-android/sysroot" "--host=arm-linux" "--enable-pic" "--disable-asm" "--enable-static" "--disable-shared" "--prefix=/home/test/ffmpeg-android/toolchain-android" "--disable-cli"
checking whether /home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc works... no
Failed commandline was:
/home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/home/test/ffmpeg-android/toolchain-android/sysroot --sysroot=/home/test/ffmpeg-android/toolchain-android/sysroot -lm -o conftest
./configure: line 157: /home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc: No such file or directory
Failed program was:
int main (void) { return 0; }
DIED: No working C compiler found.
from ffmpeg-android.
Same in Ubuntu 18.
from ffmpeg-android.
Related Issues (20)
- instreamer can't load ffmpeg, not found on sdcard root
- how to add ffmpeg-gl-transition with ffmpeg in my android project
- 音频和视频合成成功后无法播放视频
- C compiler test fail issue
- android_build.sh failure HOT 2
- How to build Single libffmpeg.so file?
- How can I convert my APK to 64-bit architecture ? HOT 2
- Error parsing dates
- images to video issue HOT 1
- Video Masking with FFMPEG
- Crop video with respect to aspect ratio
- ffmpeg commands not working in Android 10
- java.io.IOException: Cannot run program "/data/user/0/com.doctornow.autoflowbydn/files/ffmpeg": error=13, Permission denied Android 10 HOT 1
- what is command for adding text over video and audio in video in android java ffmpeg
- Error is no such file or directory with android ffmpeg java
- Reduce size of apk file when i only use Crop Video functionality
- how to resize / covert video to MPEG-4 mp42 codec HOT 1
- want to make video from images with transition animation HOT 14
- can we use hardware acceleration for ffmpeg
- [NULL @ 0xe9eb3600] Unable to find a suitable output format for 'ffmpeg'
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 ffmpeg-android.