Am trying to play mpeg-2 ts file (from local file system) using openmax APIs in android.
Am testing this in android virtual device on my host PC.
I can only hear audio but video is not playing.
Steps am doing:
- create media player with all required objects.
- Set play state to PLAYING
- open media file with fopen and read bytes and then enqueue to XAAndroidBufferQueueItf object.
Which file format(mpeg/mp4/others) is comfortable to play using openmax APIs?
Please help me about complete procedure to get video playing.
Thanks
Ramprasad