I want to recognize Intra frame before that frame is sent to OMX IL for decoding. I guess "random access point" information might be in mp4/3gp container. But I think this might not be definitely true for each stream...
Do you have any suggestion? Thanks. On Tue, Jul 21, 2009 at 12:27 AM, RaviY <yend...@pv.com> wrote: > > This is usually set by the source node. > > But, it looks like, in some cases, it is being set only during > repositioning and not during regular playback. > > Can you explain what your usecase is and I can try to see what could > be done? > > -Ravi > > On Jul 20, 11:04 am, Andy Quan <androidr...@gmail.com> wrote: > > Ravi,How is this bit > "PVMF_MEDIA_DATA_MARKER_INFO_RANDOM_ACCESS_POINT_BIT" > > set during decoding? I mean what PVMF relies to recognize a random access > > point. > > > > I printed nflags of certain H264 mp4 file but found no > > OMX_BUFFERFLAG_SYNCFRAME set. > > > > Could you please help? Thanks. > > > > > > > > On Mon, Jul 20, 2009 at 11:52 PM, RaviY <yend...@pv.com> wrote: > > > > >http://android.git.kernel.org/?p=platform%2Fexternal%2Fopencore.git&a. > .. > > > > > PVMF has a bit set for each frame > > > (PVMF_MEDIA_DATA_MARKER_INFO_RANDOM_ACCESS_POINT_BIT) that is > > > considered to be a random access point. The OMX node looks at that bit > > > and then sets the OMX_BUFFERFLAG_SYNCFRAME bit to the input buffer > > > header flags. > > > > > -Ravi > > > > > On Jul 20, 1:47 am, Andy Quan <androidr...@gmail.com> wrote: > > > > Hi, > > > > I am working on video playback in Android 1.5 with OpenCORE. I want > to > > > know > > > > whether OpenCORE provides any method to recognize Intra frame in the > > > > framework, that is, outside OMX IL component. > > > > > > I find there is OMX flag named "OMX_BUFFER_SYNCFRAME", but I did not > find > > > it > > > > set when Intra frame was passed in "SendInputBuffertoOMXComponent". > > > > > > Thanks a lot. > > > > > > -- > > > > Thanks, > > > > Andy > > > > -- > > Thanks, > > Andy > > > -- Thanks, Andy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---