hI Ravi, I am capturing the AAC data, in this I need one clarification. If I use .m4a format stream, is .m4a container will be removed and raw AAC data is passed to Component OR will it include AAC data along with the m4a container?.
My decoder supports raw AAC(adts & adif) data and it doesnt have any other format. I tried to use .AAC stream(eg.,test.aac) but it is not recognizing that format in the device. If I run it is decoding first frame later it is giving SIGSEVG fault: D/ ( 1161): .... Decoding Frame Start D/ ( 1161): DECODE Buffer: IN D/ ( 1161): DECODE Buffer: AAC_Dec_Decode IN D/ ( 1161): DECODE Buffer: AAC_Dec_Decode OUT D/ ( 1161): .... Decoding Frame End D/ ( 1161): Decoded Frame #0 D/ ( 1161): ...input buffer contents3 - °“¦à“¦ E/ ( 1161): CallbackEventHandler Multithread IN E/ ( 1161): CallbackEventHandler Multithread OUT D/ ( 1161): .... Buffer Processing ends D/ ( 1161): Audio Decoder is in Idle/Loaded State D/ ( 1161): AACLC_COMP.c ComponenetThread() - cmd = 6 D/ ( 1161): AACLC_COMP.c ComponenetThread() - cmddata = 105729 6 D/ ( 1161): .... if command is FillBuf Start D/ ( 1161): .... if command is FillBuf End E/PV ( 1161): PVLOG:TID (0x3bb00):Time=275:EventHandlerThreadSafeCallbackAO::Run() In E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:EventHandlerThreadSafeCallbackAO::Run() - No more events, call PendForExec() E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:EventHandlerThreadSafeCallbackAOAudio::Run() - Calling Process Event E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:PVMFOMXAudioDecNode::EventHandlerProcessing: Event Generated - 0 E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:PVMFOMXAudioDecNode::HandleComponentStateChange: OMX_StateIdle reached E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:EventHandlerThreadSafeCallbackAO::Run() Out E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:EmptyBufferDoneThreadSafeCallbackAO::Run() In E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:EmptyBufferDoneThreadSafeCallbackAO::Run() - No more events, call PendForExec() E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:EmptyBufferDoneThreadSafeCallbackAO::Run() - Calling Process Event E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:PVMFOMXAudioDecNode::EmptyBufferDoneProcessing: In E/PV ( 1161): PVLOG:TID (0x3bb00):Time=276:PVMFOMXAudioDecNode::EmptyBufferDoneProcessing: Input buffer returned non-empty with 120 bytes still in it E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:PVMFOMXAudioDecNode::EmptyBufferD oneProcessing: Release input buffer with TS=0 (with 0 refcount remaining of inpu t message) E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:PVMFOMXAudioDecNode::EmptyBufferD oneProcessing: Release input buffer 10b230 back to mempool E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:PVMFOMXAudioDecNode::freechunkava ilable() Memory chunk in INPUT mempool was deallocated, 1 out of 1 now available E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:EmptyBufferDoneThreadSafeCallbackAO::Run() Out E/PV ( 1161): PVLOG:TID(0x3bb00):Time=277:PVMFOMXAudioDecNode::Run () In E/PV ( 1161): PVLOG:TID(0x3bb00):Time=277:PVMFOMXAudioDecNode::Run () - Input commands empty E/PV ( 1161): PVLOG:TID(0x3bb00):Time=277:PVMFOMXAudioDecNode::Run () - Calling HandleProcessingState E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:PVMFOMXAudioDecNode::HandleProcessingState() In E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:PVMFOMXAudioDecNode::HandleProcessingState() Ready To Decode start E/PV ( 1161): PVLOG:TID (0x3bb00):Time=277:PVMFOMXAudioDecNode::SendInputBufferToOMXComponent () In I/DEBUG ( 875): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** * ** I/DEBUG ( 875): pid: 1161, tid: 1169 >>> /system/bin/mediaserver <<< I/DEBUG ( 875): signal 11 (SIGSEGV), fault addr 00000014 I/DEBUG ( 875): r0 0010b480 r1 4080ac64 r2 00000000 r3 a60cc95f I/DEBUG ( 875): r4 00000000 r5 000c649c r6 000c649c r7 000c63a0 I/DEBUG ( 875): r8 4050ab24 r9 afe39dd4 10 a9d29e05 fp 00000001 I/DEBUG ( 875): ip afbc30c8 sp 4080ad08 lr afbc1123 pc a60cc970 cpsr 000 00030 I/DEBUG ( 875): #00 pc 000cc970 /system/lib/ libopencore_common.so I/DEBUG ( 875): #01 pc 000cdd66 /system/lib/ libopencore_common.so I/DEBUG ( 875): #02 pc 000cf00c /system/lib/ libopencore_common.so I/DEBUG ( 875): #03 pc 000317ce /system/lib/ libopencore_common.so I/DEBUG ( 875): #04 pc 00031884 /system/lib/ libopencore_common.so I/DEBUG ( 875): #05 pc 0003227a /system/lib/ libopencore_common.so I/DEBUG ( 875): #06 pc 000beb1c /system/lib/ libopencore_player.so I/DEBUG ( 875): #07 pc 000bec04 /system/lib/ libopencore_player.so I/DEBUG ( 875): #08 pc 00029e6c /system/lib/libutils.so I/DEBUG ( 875): #09 pc 0000f940 /system/lib/libc.so I/DEBUG ( 875): #10 pc 0000f4b4 /system/lib/libc.so I/DEBUG ( 875): stack: I/DEBUG ( 875): 4080acc8 000d01c8 [heap] I/DEBUG ( 875): 4080accc 00000000 I/DEBUG ( 875): 4080acd0 00000001 I/DEBUG ( 875): 4080acd4 a602bd55 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4080acd8 00000000 I/DEBUG ( 875): 4080acdc 4080ad04 I/DEBUG ( 875): 4080ace0 a6100030 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4080ace4 4080ad04 I/DEBUG ( 875): 4080ace8 a610f408 /system/lib/ libopencore_common.so Whether I am going some where wrong? Thanks Gururaja B O On Jan 13, 10:47 am, RaviY <yend...@pv.com> wrote: > The most simple form of debugging is to capture the input being sent > to the OMX component [as part of EmptyThisBuffer] and the output being > received [as part of FillBufferDone]. This will tell u whether u r > receiving the the output as expected against the input being provided. > > -Ravi > > On Jan 13, 9:50 am, guru <guru.nav...@gmail.com> wrote: > > > Hi Ravi, > > > I have integrated AAC decoder to Opencore. When I try to play media > > file, it status bar is going up to 24 sec and but I am not hearing any > > sound. > > aftre 24 seconds it will stop but displaying ( it will go on > > displaying these values until media server dies) > > > I/DEBUG ( 875): 40d6cf30 00000000 > > I/DEBUG ( 875): 40d6cf34 00000000 > > I/DEBUG ( 875): 40d6cf38 00000000 > > I/DEBUG ( 875): 40d6cf3c 00000000 > > I/DEBUG ( 875): 40d6cf40 00000000 > > I/DEBUG ( 875): 40d6cf44 00000000 > > I/DEBUG ( 875): 40d6cf48 00000000 > > I/DEBUG ( 875): 40d6cf4c 00000000 > > I/DEBUG ( 875): 40d6cf50 00000000 > > I/DEBUG ( 875): 40d6cf54 00000000 > > I/DEBUG ( 875): 40d6cf58 00000000 > > I/DEBUG ( 875): 40d6cf5c 00000000 > > I/DEBUG ( 875): 40d6cf60 00000000 > > I/DEBUG ( 875): 40d6cf64 00000000 > > I/DEBUG ( 875): 40d6cf68 00000000 > > I/DEBUG ( 875): 40d6cf6c 00000000 > > I/DEBUG ( 875): 40d6cf70 00000000 > > I/DEBUG ( 875): 40d6cf74 00000000 > > I/DEBUG ( 875): 40d6cf78 00000000 > > > So I wanted to know what data is coming to decoder from PV and cross > > check with original file. > > Is there any best way to debug these types of errors? > > > Thanks & Regards > > Gururaja B O > > > On Jan 13, 8:21 am, RaviY <yend...@pv.com> wrote: > > > > - What is it that you are trying to do? > > > - The "source" node is the one handling the reading of the content. > > > You can try to follow the aac parser node or mp3 parser node for an > > > example. > > > > -Ravi > > > > On Jan 12, 2:57 pm, guru <guru.nav...@gmail.com> wrote: > > > > > HI All > > > > > I want to capture the encoded audio data read by the PV which is then > > > > sent for decoding to component decoder. > > > > > I want to know > > > > Who is handling this reading of data from the audio file in pv > > > > framework? > > > > What is the best way to capture the data? > > > > > we are using write system call to write to our file. > > > > > Regards > > > > Gururaja B O- Hide quoted text - > > > > - Show quoted text -
-- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting