Hi Ravi, I have my own Decoder initialization API and calling that API to initialize it and not using this config data. The above config data is of only 2 bytes length and what information it contains which helps in decoder initialization?
We captured the config data, it is showing hex values of 12 10. is this data is correct? After reading config data and calling FillThisBuffer and later processing it is giving SIGSEGV fault; E/PV ( 878): PVLOG:TID (0x5b6f8):Time=687:PVPlayerEngine::HandleDatapathStart() TargetNPT 0, StartNPT 0 StartTS 0 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=687:PVPlayerEngine::HandleDatapathStart() TargetNPT 0, StartNPT 0 StartTS 0 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=687:PVPlayerEngine::SetEngineState() In Current state 4, New state 8 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=687:PVPlayerEngine::EngineCommandCompleted() In CmdId 4, Status 1 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=687:PVPlayerEngine::EngineCommandCompleted() Type=24 ID=4 APIcmd=1 Tick=687 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=687:PVPlayerEngine::EngineCommandCompleted() Notifying engine command as completed. CmdId 4 Status 1 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=689:PVPlayerEngine::HandleDatapathStart() Out E/PV ( 878): PVLOG:TID (0x5b6f8):Time=689:PVPlayerEngine::HandlePlayerDatapathEvent() Out E/PV ( 878): PVLOG:TID (0x5b6f8):Time=689:PVPlayerDatapath::NodeCommandCompleted() Out E/PV ( 878): PVLOG:TID (0x5b6f8):Time=690:PVPlayerEngine::GetPVPlayerStateSync() E/PV ( 878): PVLOG:TID (0x5b6f8):Time=690:PVPlayerEngine::DoGetPVPlayerState() In E/PV ( 878): PVLOG:TID (0x5b6f8):Time=690:PVPlayerEngine::DoGetPVPlayerState()Player state=3 E/PV ( 878): PVLOG:TID (0x5b6f8):Time=690:PVPlayerEngine::DoGetPVPlayerState() Out **I/DEBUG ( 875): pid: 878, tid: 1165 >>> /system/bin/mediaserver <<< I/DEBUG ( 875): signal 11 (SIGSEGV), fault addr 00000005 I/DEBUG ( 875): r0 00000001 r1 00000000 r2 00000001 r3 00000000 I/DEBUG ( 875): r4 0010ef68 r5 0005b548 r6 00000000 r7 0005b647 I/DEBUG ( 875): r8 bedb28ec r9 afe39dd4 10 a9d29e05 fp 00000001 I/DEBUG ( 875): ip a610dcfc sp 4180ad90 lr afe0edac pc a70be6a0 cpsr 400 00030 I/DEBUG ( 875): #00 pc 000be6a0 /system/lib/ libopencore_player.so I/DEBUG ( 875): #01 pc 000c11c2 /system/lib/ libopencore_player.so I/DEBUG ( 875): #02 pc 000317ce /system/lib/ libopencore_common.so I/DEBUG ( 875): #03 pc 00031884 /system/lib/ libopencore_common.so I/DEBUG ( 875): #04 pc 0003227a /system/lib/ libopencore_common.so I/DEBUG ( 875): #05 pc 000beb1c /system/lib/ libopencore_player.so I/DEBUG ( 875): #06 pc 000bec04 /system/lib/ libopencore_player.so I/DEBUG ( 875): #07 pc 00029e6c /system/lib/libutils.so I/DEBUG ( 875): #08 pc 0000f940 /system/lib/libc.so I/DEBUG ( 875): #09 pc 0000f4b4 /system/lib/libc.so I/DEBUG ( 875): stack: I/DEBUG ( 875): 4180ad50 0005b6c8 [heap] I/DEBUG ( 875): 4180ad54 afe0ea00 /system/lib/libc.so I/DEBUG ( 875): 4180ad58 00000000 I/DEBUG ( 875): 4180ad5c 00000000 I/DEBUG ( 875): 4180ad60 00000000 I/DEBUG ( 875): 4180ad64 0005b6cc [heap] I/DEBUG ( 875): 4180ad68 00000000 I/DEBUG ( 875): 4180ad6c 0005b647 [heap] I/DEBUG ( 875): 4180ad70 bedb28ec [stack] I/DEBUG ( 875): 4180ad74 a603360f /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180ad78 0005b548 [heap] I/DEBUG ( 875): 4180ad7c 0010ef68 [heap] I/DEBUG ( 875): 4180ad80 0005b548 [heap] I/DEBUG ( 875): 4180ad84 a70be9cf /system/lib/ libopencore_player.so I/DEBUG ( 875): 4180ad88 df002777 I/DEBUG ( 875): 4180ad8c e3a070ad I/DEBUG ( 875): #00 4180ad90 0010ef68 [heap] I/DEBUG ( 875): 4180ad94 a70c11c7 /system/lib/ libopencore_player.so I/DEBUG ( 875): #01 4180ad98 00000000 I/DEBUG ( 875): 4180ad9c 00000001 I/DEBUG ( 875): 4180ada0 a6109a60 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180ada4 0000000a I/DEBUG ( 875): 4180ada8 00000000 I/DEBUG ( 875): 4180adac afe0ea00 /system/lib/libc.so I/DEBUG ( 875): 4180adb0 00000000 I/DEBUG ( 875): 4180adb4 afe0ed94 /system/lib/libc.so I/DEBUG ( 875): 4180adb8 00000000 I/DEBUG ( 875): 4180adbc 000a5d48 [heap] I/DEBUG ( 875): 4180adc0 000a5dd4 [heap] I/DEBUG ( 875): 4180adc4 00000000 I/DEBUG ( 875): 4180adc8 bedb28ec [stack] I/DEBUG ( 875): 4180adcc a6033357 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180add0 a610e408 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180add4 afe0ea00 /system/lib/libc.so I/DEBUG ( 875): 4180add8 a610e408 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180addc 00000030 I/DEBUG ( 875): 4180ade0 a610e408 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180ade4 afe0ed94 /system/lib/libc.so I/DEBUG ( 875): 4180ade8 a610e408 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180adec 00000000 I/DEBUG ( 875): 4180adf0 a610db80 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180adf4 0005b300 [heap] I/DEBUG ( 875): 4180adf8 bedb28ec [stack] I/DEBUG ( 875): 4180adfc a60293b7 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180ae00 0005b35c [heap] I/DEBUG ( 875): 4180ae04 afe0ea00 /system/lib/libc.so I/DEBUG ( 875): 4180ae08 00000000 I/DEBUG ( 875): 4180ae0c afe0ed94 /system/lib/libc.so I/DEBUG ( 875): 4180ae10 0005b35c [heap] I/DEBUG ( 875): 4180ae14 afe0ed94 /system/lib/libc.so I/DEBUG ( 875): 4180ae18 00000002 I/DEBUG ( 875): 4180ae1c 00000003 I/DEBUG ( 875): 4180ae20 a60292b7 /system/lib/ libopencore_common.so I/DEBUG ( 875): 4180ae24 a70c1094 /system/lib/ libopencore_player.so I/DEBUG ( 875): 4180ae28 000000a0 I/DEBUG ( 875): 4180ae2c 0005b300 [heap] I/DEBUG ( 875): 4180ae30 a70bec01 /system/lib/ libopencore_player.so I/DEBUG ( 875): 4180ae34 a60317d1 /system/lib/ libopencore_common.so If possible can you give me some clue or where i have to look into so that I can proceed? Thanks Gururaja B O On Jan 20, 8:27 pm, RaviY <yend...@pv.com> wrote: > The decoder needs to decode the config data to initialize the decoder. > > On Jan 20, 3:56 pm, guru <guru.nav...@gmail.com> wrote: > > > Hi All, > > > I am trying to play audio file(AAC) Media player is failing to play. > > When I saw the log it is calling EmptyThisBuffer in > > SendConfigBufferToOMXComponent. the data length is nFilledLen=2. > > > Whether decoder has to process this config data or what is the use of > > this config data to the decoder? > > > E/PV ( 871): PVLOG:TID > > (0x5b298):Time=645:PVMFOMXAudioDecNode::SendConfigBufferToOMXComponent > > () In > > E/PV ( 871): PVLOG:TID > > (0x5b298):Time=646:PVMFOMXAudioDecNode::SendConfigBufferToOMXComponent > > () - Copied 2 bytes into buffer 0x10ca00 of size 2 > > E/PV ( 871): PVLOG:TID > > (0x5b298):Time=646:PVMFOMXAudioDecNode::SendConfigBufferToOMXComponent > > () - END OF FRAGMENT - Buffer 0x10ca00 MARKER bit set to 1 > > > Thanks > > Gururaja B O
-- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting