AnsweredAssumed Answered

[Android] vpu-lib error while playing two videos

Question asked by charles huang on Mar 3, 2014
Latest reply on Mar 17, 2015 by Chet Kaufman
Branched to a new discussion

Target O/S: Android

Target Software Package: android_jb4.2.2_1.0.0


We have an issue about vpu error while playing two videos in the long time

log message as below


03-01 12:05:50.580 E/vpu-lib ( 2168): VPU mutex couldn't be locked,ret = 16

03-01 12:05:50.580 I/OMXPlayer( 2168): LEVEL: 1 FUNCTION: OpenVpu LINE: 1331

03-01 12:05:50.580 I/OMXPlayer( 2168): OpenVpu: vpu open failure: ret=0x1

03-01 12:05:50.580 I/OMXPlayer( 2168): LEVEL: 1 FUNCTION: FilterOneBuffer LINE: 2874

03-01 12:05:50.580 I/OMXPlayer( 2168): FilterOneBuffer: open vpu failure

03-01 12:05:50.580 I/OMXPlayer( 2168): LEVEL: 1 FUNCTION: Load LINE: 753

03-01 12:05:50.580 I/OMXPlayer( 2168): StartPipeline faint

03-01 12:05:50.580 I/OMXPlayer( 2168): LEVEL: 1 FUNCTION: Load LINE: 764

03-01 12:05:50.580 I/OMXPlayer( 2168): Load faint and stop

03-01 12:05:50.580 I/OMXPlayer( 2168): Stop Player.

03-01 12:05:50.580 I/OMXPlayer( 2168): LEVEL: 1 FUNCTION: StateTransDownWard LINE: 336

03-01 12:05:50.580 I/OMXPlayer( 2168): OMX.Freescale.std.video_render.surface.sw-based Invalid state transitioin: 1 -> 4.

03-01 12:05:50.580 I/OMXPlayer( 2168): LEVEL: 1 FUNCTION: SysEventHandler LINE: 1535

03-01 12:05:50.580 I/OMXPlayer( 2168): OMX.Freescale.std.video_decoder.avc.v3.hw-based report Error 8000100b.

03-01 12:05:50.580 E/MediaPlayer( 3001): error (1, 0)

03-01 12:05:50.580 W/System.err( 3001): java.io.IOException: Prepare failed.: status=0x1

03-01 12:05:50.580 W/System.err( 3001): at android.media.MediaPlayer.prepare(Native Method)

03-01 12:05:50.580 W/System.err( 3001): at com.uptmate.twov.Player.playUrl(Player.java:64)

03-01 12:05:50.580 W/System.err( 3001): at com.uptmate.twov.Player.onCompletion(Player.java:172)

03-01 12:05:50.580 W/System.err( 3001): at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:1996)

03-01 12:05:50.580 W/System.err( 3001): at android.os.Handler.dispatchMessage(Handler.java:99)

03-01 12:05:50.580 W/System.err( 3001): at android.os.Looper.loop(Looper.java:137)

03-01 12:05:50.580 I/vpu-lib ( 2168): <gpu> alloc handle: 0xd30e7a20, paddr: 0x3e22b000, vaddr: 0x49e5b000

03-01 12:05:50.580 W/System.err( 3001): at android.app.ActivityThread.main(ActivityThread.java:5041)

03-01 12:05:50.580 W/System.err( 3001): at java.lang.reflect.Method.invokeNative(Native Method)

03-01 12:05:50.580 W/System.err( 3001): at java.lang.reflect.Method.invoke(Method.java:511)

03-01 12:05:50.580 W/System.err( 3001): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

03-01 12:05:50.580 W/System.err( 3001): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)

03-01 12:05:50.580 W/System.err( 3001): at dalvik.system.NativeStart.main(Native Method)

03-01 12:05:50.580 I/vpu-lib ( 2168): <gpu> alloc handle: 0xd2d5c1a0, paddr: 0x361c5000, vaddr: 0x41df5000


Outcomes