title: How to use ffmpeg commands on Android
body: <p>I have the same doubt that <a href="https://stackoverflow.com/questions/10619918/how-to-use-ffmpeg-on-android">here</a>. I want to execute this command on Android:</p>
  
  <pre><code>ffmpeg -i input.mp4 -s 480x320 output.mp4
  </code></pre>
  
  <p>So I compiled all the librarys with the NDK following <a href="http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/" rel="nofollow noreferrer">this tutorial</a>, I only need to add this code (I suppose that in a .c file that I have created) but I don´t know how... I will appreciate any help and any example if it was possible!!</p>