PDA

View Full Version : Cannot play video in AVD



ramprasad
06-20-2014, 07:19 AM
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:
1) create media player with all required objects.
2) Set play state to PLAYING
3) 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