sorry for the confusion. Without being specific, I guess my question is, in the case of "live streaming", how do we play the MPEG-4 encoded video once we receive it using RTP/RTSP/UDP. The MediaPlayer requires the moov atom before the data atom - which is not the case in live streaming.
Thanks! Tareq On Apr 3, 5:33 pm, Dave Sparks <[email protected]> wrote: > I'm confused by the terms you are using. "Live streaming" usually > refers to a video source that is encoded from a live source, such as a > concert. The only viable solution for live streaming on Android today > is RTSP/RTP/UDP. > > If you are streaming a previously encoded file, you can use either > RTSP or HTTP. HTTP is sometimes referred to as progressive streaming > (or progressive download if you are also saving to a file during > playback). You need to prepare the file for HTTP streaming by ensuring > that the moov atom precedes the data atom in the file. If you search > on the android-developers forum you'll find some instruction for doing > this. > > On Apr 3, 3:07 pm, tareq <[email protected]> wrote: > > > HI, > > > I have an MPEG-4 encoded file (using ffmpeg) and I would like to play > > it in android. I read that using media player, the file has to be > > "progressively streamable" - which my file is not. I did frame-by- > > frame encoding. My question is, does the "progressively streamable" > > requirement also apply to openCORE pvPlayer or does openCORE has any > > API that supports live streaming of MPEG-4 encoded file. If so, can > > anyone please provide some reference to it. > > > Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
