N V wrote:
> Hi to all
>
> I am trying to play videos with a format of H.264... But
> android emulator is not
> supported... Is there is any way to play the H.264 videos...? Like
> can we add a
> H.264 decoder to emulator....?
>
> Thank You
> Nithin N V
H.264 takes a lot of CPU to decode so I'm not sure the emulator is up to
it. It can get an H.264 Simple Profile to play sluggishly and an H.264
AVC to show only the first frame. I don't have a phone so can't say if
any of the same files would play okay on the phone. If you are trying
to play using code from the VideoViewDemo they left out the start
command and so the video wouldn't play:
mVideoView.setVideoPath(path);
mVideoView.setMediaController(new MediaController(this));
mVideoView.requestFocus();
mVideoView.start(); // this was missing from the source
It also needs to do some cleanup too which is missing (look at the
MediaPlayerDem_Video source).
Brian Conrad
JyotishTools.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---