title: ffmpeg library is too slow to compress the video file. Android
body: <p>I'm using ffmpeg library for video file compression in my Android project.</p>
  
  <p>To implement ffmpeg I refereed <a href="http://androidwarzone.blogspot.in/2011/12/ffmpeg4android.html" rel="nofollow">this link,</a> but ffmpeg is taking too much time just to compress the video <strong>(currently taking 1 min for 6 seconds video)</strong>. I'm using below command for video compression--</p>
  
  <pre><code>ffmpeg -y -i /sdcard/videokit/in.mp4 -strict experimental -vf transpose=1 -s 160x120 -r 30 -aspect 4:3 -ab 48000 -ac 2 -ar 22050 -b 2097k /sdcard/videokit/out.mp4
  </code></pre>
  
  <p>Please let me know if it is possible to reduce compression time, may be by changing some setting or parameters in above command. Or is there any other way to compress the video faster than ffmpeg. Thank you.</p>