Aha .. that makes more sense .. and yes i did confuse those two and
kept thinking in terms of frames. Thank you very much.

Tareq


On Mon, Apr 6, 2009 at 8:30 AM, Dave Sparks <davidspa...@android.com> wrote:

>
> The media player requirements are only for MPEG-4 files, and not for
> RTSP/RTP/UDP streams. I think you are confusing MPEG-4 video encoding
> with MPEG-4 file format.
>
> In the case of RTSP streams, there is an SDP transaction with the
> server that provides the metadata required for the player to start
> playback.
>
> On Apr 4, 12:47 pm, tareq <hossain.ta...@gmail.com> wrote:
> > 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 <davidspa...@android.com> 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 <hossain.ta...@gmail.com> 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 android-framework@googlegroups.com
To unsubscribe from this group, send email to 
android-framework+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to