With ffmpeg library, you can work with ffmpeg by using command-line
It base this: https://github.com/bravobit/FFmpeg-Android
You can convert any media to other format, edit video and audio,.....
Because it use command to control ffmpeg so you should test on windows or mac firsts, if it works...