views:

38

answers:

1

I am working on an Android application which is supposed to play videos over HTTP on Android devices. Before we setup a server to host the video files just wanted a few things clarified:

As per the developer documentation, Android supports .mp4 and .3gp container formats for video. If we use H.263(video) - AAC LC (Audio) audio-video codec used for our media files will we be able to play the video by passing the URL to MediaPlayer class?

I did a little experiment and passed URL of one of the video files(.mp4) to the MediaPlayer class and got the following error:

Command PLAYER_INIT completed with an error or info PVMFErrContentInvalidForProgressivePlayback

From the docs, I came to know that for progressive playback, the video's index (e.g moov atom) should be at the start of the file.

Questions:
1. How do we make our videos Android-ready?
2. What are the different considerations that we need to make?

Please help.

Thanks.

A: 

I cross posted this question on Android-developers google group. Mark answered it there. Thanks Mark! See this thread

Samuh