To support a new file format in opencore, basically you'll need 1) A parser
to retrieve track data and related track info from underlying files;
2) A node to connect the parser into player engine framework;
3) A recognizer to identify the corresponding file format;
4) Then register the node and recognizer in the registries statically or as
a dynamically loadable module.

You can look at the implementation for mp4 as a reference:
external/opencore/fileformats/mp4/parser
external/opencore/nodes/pvmp4ffparsernode
external/opencore/pvmi/recognizer/plugins/pvmp4ffrecognizer
external/opencore/modules/linux_mp4

Perhaps you can also try to extend mp4 parser, and reuse mp4 parser node for
mpeg4 streams contained in avi files.

On Sat, Apr 25, 2009 at 2:59 AM, Dave Sparks <davidspa...@android.com>wrote:

>
> Sorry, but I don't have time to help out. I believe someone else on
> the forums has successfully integrated a new file parser into OpenCORE
> and may be able to give you some pointers.
>
> On Apr 23, 8:38 pm, hengli cui <sdch...@gmail.com> wrote:
> > Ok,I will try it.It will be a hard work for me.Can you give me some
> advice?
> >
> > 2009/4/23 Dave Sparks <davidspa...@android.com>
> >
> >
> >
> > > If you are able to present correct MPEG4-SP frames to the codec, it
> > > should work. I think it's a good bit of work to do.
> >
> > > On Apr 22, 6:28 pm, hengli cui <sdch...@gmail.com> wrote:
> > > > oh,thanks.If I parse the avi file,can the mpeg4 codec of opencore
> decode
> > > it?
> >
> > > > 2009/4/23 Dave Sparks <davidspa...@android.com>
> >
> > > > > OpenCORE does not support AVI file playback and there are currently
> no
> > > > > plans to support it.
> >
> > > > > On Apr 21, 11:05 pm, hengli cui <sdch...@gmail.com> wrote:
> > > > > > Hi,I want to play a .avi file(encoded with mpeg4).Is there any
> plan
> > > to
> > > > > play
> > > > > > it on android?If I do it myself,what should I do?I hope there is
> > > someone
> > > > > > giving me some idea.Thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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