This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Video can't be played on am3517 with android 2.3.4.

Other Parts Discussed in Thread: AM3517

Hi, 

I am using am3517 with android 2.3.4, kernel 2.6.36, when play videos, eg. mp4, it will show as sequence pictures and it is very slow, even more it will stop and do nothing, why?

below is my ddms log:

---------------------------------------------

01-01 02:08:34.312: E/InputDispatcher(1710): channel '408c5080 com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
01-01 02:08:34.312: E/InputDispatcher(1710): channel '408c5080 com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-01 02:08:34.312: I/WindowManager(1710): WINDOW DIED Window{408c5080 com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity paused=false}
01-01 02:08:34.328: I/ActivityManager(1710): Process com.estrongs.android.pop (pid 4760) has died.
01-01 02:08:34.328: I/WindowManager(1710): WIN DEATH: Window{408aa890 com.estrongs.android.pop/com.estrongs.android.pop.app.PopVideoPlayer paused=false}
01-01 02:08:34.335: W/TimedEventQueue(1691): Event 11161 was not found in the queue, already cancelled?
01-01 02:08:34.335: D/TIOverlay(1710): overlay_destroyOverlay:IN dev (0x1dd2d8) and overlay (0x2eef40)
01-01 02:08:34.335: I/TIOverlay(1710): Destroying overlay/fd=186/obj=002eef40
01-01 02:08:34.335: D/TIOverlay(1710): overlay_destroyOverlay:OUT
01-01 02:08:34.351: I/WindowManager(1710): WIN DEATH: Window{408ab980 SurfaceView paused=false}
01-01 02:08:34.390: I/ActivityManager(1710): Start proc com.estrongs.android.pop for activity com.estrongs.android.pop/.view.FileExplorerActivity: pid=5097 uid=10014 gids={3003, 3002, 3001, 1015}
01-01 02:08:34.679: D/szipinf(5097): Initializing inflate state
01-01 02:08:34.726: I/ActivityThread(5097): Pub com.estrongs.android.provider.fex: com.estrongs.android.pop.FexProvider
01-01 02:08:34.765: I/GlobalLogger(5097): RequestEventHandler:0 is waiting to pop request...
01-01 02:08:34.773: I/GlobalLogger(5097): RequestEventHandler:1 is waiting to pop request...
01-01 02:08:34.773: I/GlobalLogger(5097): RequestEventHandler:2 is waiting to pop request...
01-01 02:08:34.781: I/GlobalLogger(5097): RequestEventHandler:3 is waiting to pop request...
01-01 02:08:34.914: D/dalvikvm(5097): GC_CONCURRENT freed 457K, 51% free 2905K/5831K, external 884K/1038K, paused 3ms+4ms
01-01 02:08:35.179: D/dalvikvm(5097): GC_EXTERNAL_ALLOC freed 28K, 50% free 2935K/5831K, external 1029K/1038K, paused 46ms
01-01 02:08:35.351: W/AudioFlinger(1691): write blocked for 9999 msecs, 11 delayed writes, thread 0x1f050
01-01 02:08:35.671: W/InputManagerService(1710): Got RemoteException sending setActive(false) notification to pid 4760 uid 10014
01-01 02:08:35.773: I/ActivityManager(1710): Displayed com.estrongs.android.pop/.view.FileExplorerActivity: +1s411ms
01-01 02:08:36.906: D/dalvikvm(5097): Calling exit(1)
01-01 02:08:36.929: E/InputDispatcher(1710): channel '408eaef0 com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
01-01 02:08:36.929: E/InputDispatcher(1710): channel '408eaef0 com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-01 02:08:36.929: I/WindowManager(1710): WINDOW DIED Window{408eaef0 com.estrongs.android.pop/com.estrongs.android.pop.view.FileExplorerActivity paused=false}
01-01 02:08:36.937: I/ActivityManager(1710): Process com.estrongs.android.pop (pid 5097) has died.
01-01 02:08:36.976: D/Zygote(1692): Process 5097 exited cleanly (1)
01-01 02:08:37.015: W/InputManagerService(1710): Got RemoteException sending setActive(false) notification to pid 5097 uid 10014
01-01 02:08:40.484: I/ActivityManager(1710): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.estrongs.android.pop/.view.FileExplorerActivity } from pid 1816
01-01 02:08:40.570: I/ActivityManager(1710): Start proc com.estrongs.android.pop for activity com.estrongs.android.pop/.view.FileExplorerActivity: pid=5131 uid=10014 gids={3003, 3002, 3001, 1015}
01-01 02:08:40.929: D/szipinf(5131): Initializing inflate state
01-01 02:08:41.023: I/ActivityThread(5131): Pub com.estrongs.android.provider.fex: com.estrongs.android.pop.FexProvider
01-01 02:08:41.125: I/GlobalLogger(5131): RequestEventHandler:0 is waiting to pop request...
01-01 02:08:41.125: I/GlobalLogger(5131): RequestEventHandler:1 is waiting to pop request...
01-01 02:08:41.125: I/GlobalLogger(5131): RequestEventHandler:2 is waiting to pop request...
01-01 02:08:41.132: I/GlobalLogger(5131): RequestEventHandler:3 is waiting to pop request...
01-01 02:08:41.265: D/dalvikvm(5131): GC_CONCURRENT freed 458K, 51% free 2905K/5831K, external 884K/1038K, paused 4ms+14ms
01-01 02:08:41.460: D/dalvikvm(5131): GC_EXTERNAL_ALLOC freed 28K, 50% free 2935K/5831K, external 1029K/1038K, paused 46ms
01-01 02:08:42.054: I/ActivityManager(1710): Displayed com.estrongs.android.pop/.view.FileExplorerActivity: +1s509ms
01-01 02:08:45.039: D/dalvikvm(5131): GC_CONCURRENT freed 247K, 47% free 3105K/5831K, external 1364K/1527K, paused 4ms+6ms
01-01 02:08:45.375: E/AudioHardwareALSA(1691): CALLING STANDBY
01-01 02:08:51.070: D/dalvikvm(1816): GC_EXPLICIT freed 4K, 47% free 3034K/5703K, external 3319K/4116K, paused 50ms
01-01 02:08:54.890: I/ActivityManager(1710): Starting: Intent { act=android.intent.action.VIEW dat=file:///shared/big_buck_bunny_cif_mpeg4_aac.mp4 typ=video/mp4 flg=0x4000000 cmp=com.estrongs.android.pop/.app.PopVideoPlayer (has extras) } from pid 5131
01-01 02:08:55.070: I/StagefrightPlayer(1691): setDataSource('/shared/big_buck_bunny_cif_mpeg4_aac.mp4')
01-01 02:08:55.296: D/MediaPlayer(5131): getMetadata
01-01 02:08:55.351: W/AudioPolicyManagerALSA(1691): AudioPolicyManagerALSA::getStrategyForStream() Stub Called...
01-01 02:08:55.351: W/AudioPolicyManagerALSA(1691): redirecting AudioPolicyManagerALSA::getStrategy()
01-01 02:08:55.375: D/TIOverlay(1710): overlay_createOverlay:IN w=352 h=288 format=0x16
01-01 02:08:55.375: I/Overlay(1710): v4l2_overlay_init:: w=352 h=288
01-01 02:08:55.375: I/Overlay(1710): v4l2_overlay_init:: w=352 h=288
01-01 02:08:55.375: I/Overlay(1710): v4l2_overlay_init:: w=352 h=288
01-01 02:08:55.375: I/Overlay(1710): 3 buffers allocated 3 requested
01-01 02:08:55.375: I/Overlay(1710): buffer cookie is 2
01-01 02:08:55.375: I/TIOverlay(1710): Opened video1/fd=175/obj=002f11d0/shm=172/size=4096
01-01 02:08:55.375: D/TIOverlay(1710): overlay_createOverlay: OUT
01-01 02:08:55.375: I/TIOverlay(1710): Position/X0/Y0/W0/H0
01-01 02:08:55.375: I/TIOverlay(1710): Adjusted Position/X121/Y0/W359/H479
01-01 02:08:55.375: I/TIOverlay(1710): Rotation/0
01-01 02:08:55.375: I/Overlay(1710): v4l2_overlay_set_position:: original w=256 h=288
01-01 02:08:55.375: I/Overlay(1710): v4l2_overlay_set_position:: new w=358 h=478
01-01 02:08:55.375: I/Overlay(1710): dumping driver state:
01-01 02:08:55.375: I/Overlay(1710): output pixfmt: w 352, h 288, colorsapce 7, pixfmt UYVY
01-01 02:08:55.375: I/Overlay(1710): v4l2_overlay window: l 121, t 0, w 358, h 478
01-01 02:08:55.375: I/Overlay(1710): output crop: l 0, t 0, w 352, h 288
01-01 02:08:55.375: I/TIOverlay(1710): Postponing Stream Enable/1/0
01-01 02:08:55.398: I/Overlay(1691): query buffer, mem=1 type=2 index=0
01-01 02:08:55.398: I/Overlay(1691): query buffer, mem=1 type=2 index=1
01-01 02:08:55.398: I/Overlay(1691): query buffer, mem=1 type=2 index=2
01-01 02:08:55.398: I/Overlay(1691): query buffer, mem=1 type=2 index=0
01-01 02:08:55.398: I/TIOverlay(1691): Buffer/0/addr=40061000/len=204800
01-01 02:08:55.398: I/Overlay(1691): query buffer, mem=1 type=2 index=1
01-01 02:08:55.406: I/TIOverlay(1691): Buffer/1/addr=40122000/len=204800
01-01 02:08:55.406: I/Overlay(1691): query buffer, mem=1 type=2 index=2
01-01 02:08:55.406: I/TIOverlay(1691): Buffer/2/addr=40303000/len=204800
01-01 02:08:55.421: D/TIALSAModule(1691): open called for devices 00000000 in mode 0...
01-01 02:08:55.429: I/TIALSAModule(1691): Initialized ALSA PLAYBACK device default
01-01 02:08:55.429: E/AudioHardwareALSA(1691): RE-OPEN AFTER STANDBY:: took 9 msecs
01-01 02:08:55.781: I/ActivityManager(1710): Displayed com.estrongs.android.pop/.app.PopVideoPlayer: +860ms
01-01 02:08:56.476: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:08:57.500: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:08:58.492: W/InputManagerService(1710): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@40971d28
01-01 02:08:58.531: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:08:59.562: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:00.617: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:01.648: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:02.679: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:03.703: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:04.734: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:05.039: W/ProcessStats(1710): Skipping unknown process pid 5205
01-01 02:09:05.789: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:06.804: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:07.828: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:08.859: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:09.882: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:10.929: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:11.960: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:12.992: W/AudioTrack(1691): obtainBuffer timed out (is the CPU pegged?) 0x29028 user=0000343e, server=0000116a
01-01 02:09:13.226: W/InputManagerService(1710): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@408f9b68

Thanks,

Kevin