Compile ffmpeg for Android
| ./configure --cross-prefix=$TOOLCHAIN_ROOT/bin/arm-linux-androideabi- \ | |
| --arch=arm --cpu=armv7-a --target-os=linux --enable-static --disable-shared \ | |
| --extra-cflags="$CFLAGS" --extra-ldflags="$LDFLAGS -fwhole-program" \ | |
| --prefix=$PREFIX \ | |
| --disable-everything --disable-doc --disable-ffprobe --disable-ffserver --enable-ffmpeg --enable-swscale --disable-ffplay \ | |
| --enable-demuxer='mov,mp4,3gp' --enable-decoder='mpeg4,h264,h263,aac,amrnb,amrwb' \ | |
| --enable-muxer='mp4,image2' --enable-filter='scale,transpose,hflip,vflip,fps,aresample' \ | |
| --enable-protocol='file' \ | |
| --enable-encoder='libx264,mjpeg,aac' --enable-libx264 --enable-gpl --enable-small |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment