I need to play video on Android device (different formats). As I have understand, the best way is to use Android NDK with specific libraries that can play video. I have done some basic examples to understand NDK usage, but I don't know what to do next. As I have understood, I must install ffmpeg first of all. So I have the following questions given below:
- I need to have ffmpeg (the best way is to use Linux, not Windows, because in Windows there are some troubles with its installation).
- How to play sound of video?
- I have read that some open-source libraries can play video without any efforts. My job is to give them byte-array or path to video on SD. Is this right?
So, can anyone help me and explain basic ways how to play video with ndk, may be some basic plan or links? Thank you very much for interest to my question!