Hi, I am trying to integrate aac decoder into the PV core. THe problem is that I am not getting any data in the o/p .dat file for audio dump. Although, If i dump the output myself after returning from decode call in ProcessData, the o/p is proper.
Can any body throw some light on which path I need to check for this ? I figured out that it has to do with the Sink Node, writeAsync call but not very clear on how exactly the file dump is done ? Is it done for every o/p buffer returned by ProcessData call ? Sonal On Mar 24, 6:50 pm, chrisk <[email protected]> wrote: > You would need to receive this first buffer, parse it appropriately, > then send a PortSettingsChanged event to the client (opencore).opencorewill > then follow the OMX spec to dynamically reconfigure the > port(s) whose settings were changed. > > Hope this helps. > > On Mar 23, 11:51 pm, baskar rajagopal <[email protected]> wrote: > > > > > Hi, > > > i have a small idea , Why cant the decoder instance be created with some > > default values like bitrate=128 , samplingrate=44100 etc. then after getting > > the first frame from the parser , we can reset the decoder. > > > This situation of resetting the decoder is anyway needed because your > > decoder should support VBR encoded file also ( i guess ). > > > Please add your comments/suggestions.. > > > regards, > > bas. > > > On Sat, Mar 21, 2009 at 9:51 AM, MMF <[email protected]> wrote: > > > Hi Ravi, > > > > Thanks for the reply. > > > In my case parser has to send this information as I need this information > > > at the time of initializing the decoder. > > > And I would create my decoder instance only when I get this information > > > using OMX_AUDIO_PARAM_MP3TYPE. > > > and then proceed with the decoding. > > > > Regards > > > APT > > > > On Sat, Mar 21, 2009 at 12:22 AM, rktb <[email protected]> wrote: > > > >> Why would the parser need to communicate this information the > > >> component? The component will know this when it decodes the first > > >> frame. Right? > > > >> -Ravi > > > >> On Mar 20, 10:33 am, MMF <[email protected]> wrote: > > >> > Hello Friends, > > > >> > I have a small doubt to be clarified. > > >> > I will try to explain it with mp3 decoder example. > > > >> > I have a mp3 parser (pv parser node) which is capable of extracting the > > >> > information about channel, bit-rate, sample-rate from the .mp3 file > > >> while > > >> > parsing. > > >> > Now this information I need in my OMX mp3 decoder component.. > > >> > Is there any way I can communicate this info from my parser to OMX > > >> > component? (which is nothing but calling the SetParam of the OMX > > >> component). > > >> > What I need to do in the parser or in the player engine so that the > > >> SetParam > > >> > gets called? > > >> > Is there any method or way of achieving this inOpenCOREFW. > > > >> > regards > > >> > APT- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
