Hi,

I'm trying to play number of short .mp4 files gapless, one after
another.

The steps is do are :
mMediaPlayer = new MediaPlayer();
mMediaPlayer.setDataSource("1.mp4");
mMediaPlayer.setDisplay(holder);
mMediaPlayer.prepare();

The same way i initialize mMediaPlayer1 object with 2.mp4
and set setOnCompletionListener where I play mMediaPlayer1

The problem I face here is the audio of the second file plays gapless
but the video doesnt play.
I just see the last frame of the first video.

Once I get this working I plan to keep a counter for filename as I
wanna play 1.mp4 to 99.mp4 continuously.

Am I on the write track or am I missing something, Any help on the
same would be highly appreciated.

Thanks in advance.

Regards,
Milind

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to