Good idea!
I am working on it by modifying wav's parser node.
Now there is still some problems and I don't know how to resolve it.
The error log as following:
E/PV ( 727): PVLOG:TID
(0xd530):Time=3257:AndroidSurfaceOutput::setParametersSync() Video
Format Key, Value X-YUV-420
E/PV ( 727): PVLOG:TID
(0xd530):Time=3257:PVMediaOutputNode::SetClock: aClock=0x13568
E/PV ( 727): PVLOG:TID
(0xd530):Time=3258:AndroidSurfaceOutput::setParametersSync() Error,
unrecognized key = x-pvmf/mediaxfer/output/rate;type=rel;valtype=int32
E/PV ( 727): PVLOG:TID
(0xd530):Time=3258:PVMediaOutputNodePort::ChangeClockRate rate 1
E/PV ( 727): PVLOG:TID
(0xd530):Time=3258:PVMediaOutputNode:CommandComplete Id 8 Cmd 2 Status
1 Context 101124 EVData 126500 EVCode 0
E/PV ( 727): PVLOG:TID
(0xd530):Time=3258:PVPlayerDatapath::NodeCommandCompleted() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3258:PVPlayerDatapath::NodeCommandCompleted() Out
E/PV ( 727): PVLOG:TID(0xd530):Time=3259:PVMFAVIFFParserNode::Run
() In
E/PV ( 727): PVLOG:TID(0xd530):Time=3259:PVMFAVIFFParserNode::Run
() Out 5
E/PV ( 727): PVLOG:TID(0xd530):Time=3259:PVMFOMXVideoDecNode::Run
() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3259:PVMFOMXVideoDecNode::DoRequestPort() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3259:PVMFOMXVideoDecNode:CommandComplete Id 6003 Cmd 4
Status 1 Context 104688 Data 128376
E/PV ( 727): PVLOG:TID
(0xd530):Time=3260:PVPlayerDatapath::NodeCommandCompleted() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3260:PVPlayerDatapath::NodeCommandCompleted() Out
E/PV ( 727): PVLOG:TID(0xd530):Time=3260:PVMFOMXVideoDecNode::Run
() - rescheduling after process command
E/PV ( 727): PVLOG:TID(0xd530):Time=3260:PVMFOMXVideoDecNode::Run
() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3260:PVMFOMXVideoDecNode::DoRequestPort() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3272:PVMFOMXVideoDecNode:CommandComplete Id 6004 Cmd 4
Status 1 Context 125112 Data 129272
E/PV ( 727): PVLOG:TID
(0xd530):Time=3272:PVPlayerDatapath::NodeCommandCompleted() In
E/PV ( 727): PVLOG:TID
(0xd530):Time=3272:PVPlayerDatapath::NodeCommandCompleted() All node
RequestPort() requests completed successfully
E/PV ( 727): PVLOG:TID
(0xd530):Time=3273:PVPlayerDatapath::NodeCommandCompleted() Out
E/PV ( 727): PVLOG:TID(0xd530):Time=3273:PVPlayerDatapath::Run()
Processing PREPARE_CONNECT case for X-RGB-16
E/PV ( 727): PVLOG:TID(0xd530):Time=3273:PVSCHED:Scheduler
'AndroidPVWrapper', Thread 0xd530: Error! AO PVPlayerDatapath Error
104 not handled
E/PV ( 727): PVLOG:TID(0xd530):Time=3273:PVSCHED:Scheduler
'AndroidPVWrapper', Thread 0xd530: Error! Reason 104
E/PV ( 727): PVLOG:TID(0xd530):Time=3273:PVSCHED:Scheduler
'AndroidPVWrapper', Thread 0xd530: Exited PV Scheduling Loop
E/OsclErrorTrap( 727): Panic!! Category PVEXEC reason 65
I/DEBUG ( 551): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG ( 551): Build fingerprint: 'generic/generic/generic/:1.5/
CUPCAKE/eng.vm.20090703.130618:eng/test-keys'
I/DEBUG ( 551): pid: 727, tid: 732 >>> /system/bin/mediaserver <<<
I/DEBUG ( 551): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG ( 551): r0 00000032 r1 40507e3c r2 2b160b31 r3 00000000
I/DEBUG ( 551): r4 00000041 r5 00000068 r6 0000d338 r7 a71b0641
I/DEBUG ( 551): r8 40307ab4 r9 afe39dd0 10 a9d2856d fp 00000001
I/DEBUG ( 551): ip afbc30c8 sp 40507e68 lr afbc1123 pc
a7529460 cpsr 60000030
I/DEBUG ( 551): #00 pc 00029460 /system/lib/
libopencorecommon.so
I/DEBUG ( 551): #01 pc 000295c0 /system/lib/
libopencorecommon.so
I/DEBUG ( 551): #02 pc 000314ae /system/lib/
libopencorecommon.so
I/DEBUG ( 551): #03 pc 001b058c /system/lib/
libopencoreplayer.so
I/DEBUG ( 551): #04 pc 001b0644 /system/lib/
libopencoreplayer.so
I/DEBUG ( 551): #05 pc 000285d4 /system/lib/libutils.so
I/DEBUG ( 551): #06 pc 0000f880 /system/lib/libc.so
I/DEBUG ( 551): #07 pc 0000f3f4 /system/lib/libc.so
I/DEBUG ( 551): stack:
I/DEBUG ( 551): 40507e28 0000d570 [heap]
I/DEBUG ( 551): 40507e2c 00000000
I/DEBUG ( 551): 40507e30 00000000
I/DEBUG ( 551): 40507e34 0000d570 [heap]
I/DEBUG ( 551): 40507e38 40307ab4
I/DEBUG ( 551): 40507e3c 2b160b31
I/DEBUG ( 551): 40507e40 0000d508 [heap]
I/DEBUG ( 551): 40507e44 00000041
I/DEBUG ( 551): 40507e48 00000068
I/DEBUG ( 551): 40507e4c 0000d338 [heap]
I/DEBUG ( 551): 40507e50 a71b0641 /system/lib/
libopencoreplayer.so
I/DEBUG ( 551): 40507e54 a752945d /system/lib/
libopencorecommon.so
I/DEBUG ( 551): 40507e58 a75652a8 /system/lib/
libopencorecommon.so
I/DEBUG ( 551): 40507e5c a75652c8 /system/lib/
libopencorecommon.so
I/DEBUG ( 551): 40507e60 df002777
I/DEBUG ( 551): 40507e64 e3a070ad
I/DEBUG ( 551): #00 40507e68 0000eec8 [heap]
I/DEBUG ( 551): 40507e6c a7529ad7 /system/lib/
libopencorecommon.so
I/DEBUG ( 551): 40507e70 00000068
I/DEBUG ( 551): 40507e74 a75295c5 /system/lib/
libopencorecommon.so
I/DEBUG ( 551): #01 40507e78 0000d338 [heap]
I/DEBUG ( 551): 40507e7c 00000000
I/DEBUG ( 551): 40507e80 00012bf0 [heap]
I/DEBUG ( 551): 40507e84 a75314b3 /system/lib/
libopencorecommon.so
W/MediaPlayer( 699): MediaPlayer server died!
E/MediaPlayer( 699): error (100, 0)
E/MediaPlayer( 699): Error (100,0)
D/VideoView( 699): Error: 100,0
W/AudioSystem( 577): AudioFlinger server died!
I/ServiceManager( 549): service 'media.audio_flinger' died
I/ServiceManager( 549): service 'media.camera' died
I/ServiceManager( 549): service 'media.player' died
> Maybe we need a new parser node forAVI,these node can be modified by
> mp4 parser node.
>
> -OOD
>
> On Aug 7, 9:06 pm, RaviY <
yend...@pv.com> wrote:
>
>
>
> > You need to fill the GAU structure not just for getKeyMediaSampleNumAt
> > () call but for any such media retrieval call to the mp4 parser. If
> > you don't have all the information to fill in that structure, you may
> > write your own function definition that has only the required fields.
>
> > Starting from the mp4 parser node is a good idea, but trying to
> > maintain all the API signatures to be the same is not an ideal
> > solution, for any code development.
>
> > -Ravi
>
> > On Aug 7, 4:49 am, Roopesh <
roopesh....@gmail.com> wrote:
>
> > > hi Ravi,
> > > Inorder to enableAVIsupport what I did is I just created a
> > > copy of mp4 recognizer and mp4 parser code and then started modifying
> > > it according to the spec ofaviformat. I have done changes almost