title: ffmpeg commands not working in micromax android
body: <p>I am able to execute ffmpeg commands on android devices like Samsung,LG and Sony but in Micromax it's not working. I have built ffmpeg library for arm processor. I could not collect the log because I am not able to connect the device. I have following questions on this,
  1) Why it's not working on Micromax?
  2) I do not want to show my app on other device apart from ARM based android device, is it possible to control?</p>
  
  <p>The below configuration I have used while building ffmpeg,</p>
  
  <h1>!/bin/bash</h1>
  
  <p>cd ffmpeg</p>
  
  <p>export TMPDIR=tmp
  mkdir -p $TMPDIR</p>
  
  <h1>Android NDK Location</h1>
  
  <p>NDK=/Users/sunitha/Downloads/android-ndk-r9c</p>
  
  <p>ANDROID_API=android-9
  SYSROOT=${NDK}/platforms/${ANDROID_API}/arch-arm
  PREBUILT=${NDK}/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86
  CROSS_PREFIX=${PREBUILT}/bin/arm-linux-androideabi-
  ARM_INCLUDE=${SYSROOT}/usr/include
  ARM_LIB=${SYSROOT}/usr/lib
  PREFIX=../build
  OPTIMIZE_CFLAGS=" -marm -march=armv6 "
  ADDITIONAL_CONFIGURE_FLAG=</p>
  
  <h1>Location of lame's static installation</h1>
  
  <p>MP3LAME=../libmp3lame
  X264=../libx264</p>
  
  <p>./configure \
   --arch=arm \
   --target-os=linux \
   --enable-cross-compile \
   --cross-prefix=${CROSS_PREFIX} \
   --prefix=${PREFIX} \
   --sysroot=${SYSROOT} \
   --extra-cflags=" -I${ARM_INCLUDE} -I${MP3LAME}/include -I${X264}/include -DANDROID ${OPTIMIZE_CFLAGS}" \
   --extra-ldflags=" -L${ARM_LIB} -L${MP3LAME}/lib -L${X264}/lib" \
   --disable-debug \
   --enable-libmp3lame \
   --enable-libx264 \
   --disable-ffplay \
   --disable-ffprobe \
   --disable-ffserver \
   --enable-avfilter \
   --enable-decoders \
   --enable-demuxers \
   --enable-encoders \
   --enable-filters \
   --enable-indevs \
   --enable-network \
   --enable-parsers \
   --enable-protocols \
   --enable-swscale \
   --enable-gpl \
   --enable-nonfree \
   ${ADDITIONAL_CONFIGURE_FLAG}</p>
  
  <p>cd ..</p>