I have the same doubt that [here](https://stackoverflow.com/questions/10619918/how-to-use-ffmpeg-on-android). I want to execute this command on Android:

```
ffmpeg -i input.mp4 -s 480x320 output.mp4

```

So I compiled all the librarys with the NDK following [this tutorial](http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/), 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!!