android - libffmpeg.so Not Executing ffmpeg 2.8.4 Commands -


  • libffmpeg.so not working command line arguments
  • i have compiles ffmpeg , static libffmpeg.so library.
  • i installed using android.mk , installed
  • but unable execute ffmpeg command.

    *my build.sh follows  function build_r8b_test { bash configure --target-os=linux \ --arch=arm \ --cpu=cortex-a8 \ --enable-runtime-cpudetect \ --prefix=$prefix \ --enable-pic \ --disable-shared \ --enable-static \ --enable-cross-compile \ --cc=$prebuilt/bin/arm-linux-androideabi-gcc \ --cross-prefix=$prebuilt/bin/arm-linux-androideabi- \ --sysroot="$platform" \ --extra-cflags="-i../x264 -mfloat-abi=softfp -mfpu=neon -fpie -pie -fpic -dandroid -marm -march=armv7-" \ --extra-ldflags="-l../x264 -l$prebuilt/lib/gcc/arm-linux-androideabi/4.9" \ --extra-libs="-lgcc" \ --enable-gpl \ --enable-version3 \ --enable-nonfree \ --disable-doc \ --enable-yasm \ --enable-decoders \ --enable-encoders \ --enable-muxers \ --enable-demuxers \ --enable-parsers \ --enable-protocols \ --enable-filters \ --disable-indevs \ --disable-outdevs \ --enable-hwaccels \ --disable-ffmpeg \ --disable-ffplay \ --disable-ffprobe \ --disable-ffserver \ --disable-network \ --enable-zlib \ --enable-demuxer=mov \ --enable-demuxer=h264 \ --enable-protocol=file \ --enable-avformat \ --enable-avcodec \ --enable-decoder=rawvideo \ --enable-decoder=mjpeg \ --enable-decoder=h263 \ --enable-decoder=mpeg4 \ --enable-decoder=h264 \ --enable-parser=h264 \ --enable-encoder=mpeg4 \ --disable-asm \ --enable-neon \ --enable-armv5te \ --disable-network \ --enable-avfilter \ --disable-avdevice \ --enable-postproc \  $additional_configure_flag make clean make make  -j4 install $prebuilt/bin/arm-linux-androideabi-ld -rpath-          link=$platform/usr/lib -l$platform/usr/lib  -soname libffmpeg.so -shared -nostdlib  -z noexecstack -bsymbolic --whole-archive --no-undefined -o $prefix/libffmpeg.so libavcodec/libavcodec.a libavformat/libavformat.a libavutil/libavutil.a libavfilter/libavfilter.a libpostproc/libpostproc.a libswresample/libswresample.a libswscale/libswscale.a   -lc -lm -lz -ldl -llog  --warn-search-mismatch  --dynamic-linker=/system/bin/linker $prebuilt/lib/gcc/arm-linux-androideabi/4.9/libgcc.a } #arm v7vfpv3 cpu=armv7-a optimize_cflags="-mfloat-abi=softfp -mfpu=vfpv3-d16 -marm -march=$cpu " prefix=./android/$cpu additional_configure_flag= build_r8b_test  * , androi.mk follow local_path := $(call my-dir) app_abi := armeabi-v7a include $(clear_vars) local_module =myffmpeg local_src_files :=libffmpeg.so include $(prebuilt_shared_library) include $(clear_vars) path_to_ffmpeg_source:=$(local_path)/ffmpeg local_c_includes += $(path_to_ffmpeg_source) local_module=ffmpeg-jni local_ldlibs := -l/home/admin/android-sdk-linux/ndk-bundle/platforms/android-21/arch-arm/usr/lib -l$(local_path) -llog -ljnigraphics -lz -ldl -lgcc -lm local_src_files := ffmpeg-jni.c ffmpeg/cmdutils.h ffmpeg/cmdutils.c ffmpeg/ffmpeg.h ffmpeg/ffmpeg_opt.c ffmpeg/ffmpeg_filter.c  local_shared_libraries:=myffmpeg include $(build_shared_library) 
    • i have installed armeabi obj , armeabi-v7a not works simple ffmpeg command (ffmpeg -y -i /mnt/sdcard/app.mp4 /mnt/sdcard/app.mkv). applciation terminate @ ret = ffmpeg_parse_options(argc, argv); in ffmpeg-jni.c copied ffmpeg.c. if doing wrond build please me out this.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -