yixia / VitamioBundle

Vitamio for Android
http://www.vitamio.org/en/
Other
5.27k stars 2.07k forks source link

E/VitamioPlayer: Unknown video color format: 32315659 #54

Open alexliyu opened 10 years ago

alexliyu commented 10 years ago

09-27 15:52:05.928: D/VitamioPlayer: CPU implementer:0x41 09-27 15:52:05.928: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 09-27 15:52:05.938: D/VitamioPlayer: CPU architecture:7 09-27 15:52:05.948: D/VitamioPlayer: Hardware:sun4i 09-27 15:52:05.948: D/VitamioPlayer: CPU revision:2 09-27 15:52:05.958: D/VitamioPlayer: CPU variant:0x3 09-27 15:52:05.958: D/VitamioPlayer: CPU part:0xc08 09-27 15:52:05.968: D/VitamioPlayer: Revision:0000 09-27 15:52:05.968: D/VitamioPlayer: BogoMIPS:1001.88 09-27 15:52:05.978: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 09-27 15:52:05.978: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 09-27 15:52:05.988: D/VitamioPlayer: CPU architecture: 7 09-27 15:52:05.998: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 09-27 15:52:05.998: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x41044ed0 09-27 15:52:05.998: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x41044ed0 09-27 15:52:06.028: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:06.218: D/libEGL(7721): loaded /system/lib/egl/libGLES_android.so 09-27 15:52:06.228: D/libEGL(7721): loaded /system/lib/egl/libEGL_mali.so 09-27 15:52:06.238: D/libEGL(7721): loaded /system/lib/egl/libGLESv1_CM_mali.so 09-27 15:52:06.238: D/libEGL(7721): loaded /system/lib/egl/libGLESv2_mali.so 09-27 15:52:06.268: D/OpenGLRenderer(7721): Enabling debug mode 0 09-27 15:52:12.658: D/OpenGLRenderer(7721): Flushing caches (mode 0) 09-27 15:52:13.938: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:13.998: D/SurfaceView(7721): pckname = io.vov.vitamio.demo 09-27 15:52:14.088: I/SurfaceView(7721): Changes: creating=true format=true size=true visible=true mLeft=-1 mTop =-1 mLocation[0]=0 mLocation[1]=56 left=true top=true 09-27 15:52:14.088: I/SurfaceView(7721): Cur surface: Surface(name=null, identity=-1) 09-27 15:52:14.098: I/SurfaceView(7721): New surface: Surface(name=null, identity=1171), vis=true, frame=Rect(0, 56 - 1280, 720) 09-27 15:52:14.098: I/SurfaceView(7721): visibleChanged -- surfaceCreated 09-27 15:52:14.098: D/MediaPlayerDemo(7721): surfaceCreated called 09-27 15:52:14.108: I/VitamioPlayer: LIB ROOT: /data/data/io.vov.vitamio.demo/libs/ 09-27 15:52:14.108: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): No JNI_OnLoad found in /data/data/io.vov.vitamio.demo/libs/libstlport_shared.so 0x41044ed0, skipping init 09-27 15:52:14.108: D/dalvikvm(7721): Trying to load lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0x41044ed0 09-27 15:52:14.108: D/dalvikvm(7721): Added shared lib /data/data/io.vov.vitamio.demo/libs/libvplayer.so 0x41044ed0 09-27 15:52:14.118: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.118: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.118: I/VitamioPlayer: LOAD FFMPEG START: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD FFMPEG END: /data/data/io.vov.vitamio.demo/libs/libffmpeg.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VVO START: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so 09-27 15:52:14.128: E/VitamioPlayer: FIND_NAME_SYM vvo, render_yuv 09-27 15:52:14.128: I/VitamioPlayer: LOAD VVO END: /data/data/io.vov.vitamio.demo/libs/libvvo.9.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VAO START: /data/data/io.vov.vitamio.demo/libs/libvao.0.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD VAO END: /data/data/io.vov.vitamio.demo/libs/libvao.0.so 09-27 15:52:14.128: I/VitamioPlayer: LOAD OMX START: /data/data/io.vov.vitamio.demo/libs/libOMX.14.so 09-27 15:52:14.138: I/VitamioPlayer: LOAD OMX END: /data/data/io.vov.vitamio.demo/libs/libOMX.14.so 09-27 15:52:14.138: I/VitamioPlayer: VPLAYER INIT BEGIN 09-27 15:52:14.138: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.138: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.138: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.138: D/VitamioPlayer: RENDER RGB 09-27 15:52:14.158: D/VitamioPlayer: THREAD NOTIFY START 09-27 15:52:14.178: I/VitamioPlayer: VPLAYER INIT END 09-27 15:52:14.178: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.178: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.178: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.178: D/VitamioPlayer: SURFACE INIT OK 09-27 15:52:14.178: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.178: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.178: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.178: D/VitamioPlayer: SURFACE INIT OK 09-27 15:52:14.178: D/VitamioPlayer: prepare 09-27 15:52:14.178: I/VitamioPlayer: PREPARE SIG: 0 09-27 15:52:14.178: I/VitamioPlayer: THREAD PREPARE START 09-27 15:52:14.188: I/VitamioPlayer: THREAD PREPARE ATTACHED 09-27 15:52:14.188: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.188: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.188: I/VitamioPlayer: OPEN FILE /mnt/sdcard/33.mp4 09-27 15:52:14.278: D/VitamioPlayer: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/mnt/sdcard/33.mp4': 09-27 15:52:14.278: D/VitamioPlayer: Metadata: 09-27 15:52:14.278: D/VitamioPlayer: major_brand : 09-27 15:52:14.278: D/VitamioPlayer: isom 09-27 15:52:14.278: D/VitamioPlayer: minor_version : 09-27 15:52:14.278: D/VitamioPlayer: 1 09-27 15:52:14.278: D/VitamioPlayer: compatible_brands: 09-27 15:52:14.278: D/VitamioPlayer: isomavc1 09-27 15:52:14.288: D/VitamioPlayer: creation_time : 09-27 15:52:14.288: D/VitamioPlayer: 2010-10-31 11:57:00 09-27 15:52:14.288: D/VitamioPlayer: Duration: 09-27 15:52:14.288: D/VitamioPlayer: 00:04:13.09 09-27 15:52:14.288: D/VitamioPlayer: , start: 09-27 15:52:14.288: D/VitamioPlayer: 0.000000 09-27 15:52:14.288: D/VitamioPlayer: , bitrate: 09-27 15:52:14.288: D/VitamioPlayer: 2132 kb/s 09-27 15:52:14.298: D/VitamioPlayer: Stream #0:0 09-27 15:52:14.298: D/VitamioPlayer: (und) 09-27 15:52:14.298: D/VitamioPlayer: : Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 40:33 DAR 20:11], 1999 kb/s 09-27 15:52:14.298: D/VitamioPlayer: , SAR 109:90 DAR 109:60 09-27 15:52:14.298: D/VitamioPlayer: , 29.97 fps 09-27 15:52:14.298: D/VitamioPlayer: , 29.97 tbr 09-27 15:52:14.298: D/VitamioPlayer: , 30k tbn 09-27 15:52:14.298: D/VitamioPlayer: , 59.94 tbc 09-27 15:52:14.298: D/VitamioPlayer: Metadata: 09-27 15:52:14.298: D/VitamioPlayer: creation_time : 09-27 15:52:14.298: D/VitamioPlayer: 2010-10-31 11:57:00 09-27 15:52:14.298: D/VitamioPlayer: handler_name : 09-27 15:52:14.298: D/VitamioPlayer: GPAC ISO Video Handler 09-27 15:52:14.298: D/VitamioPlayer: Stream #0:1 09-27 15:52:14.298: D/VitamioPlayer: (und) 09-27 15:52:14.298: D/VitamioPlayer: : Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s 09-27 15:52:14.298: D/VitamioPlayer: Metadata: 09-27 15:52:14.298: D/VitamioPlayer: creation_time : 09-27 15:52:14.298: D/VitamioPlayer: 2010-10-31 11:57:02 09-27 15:52:14.298: D/VitamioPlayer: handler_name : 09-27 15:52:14.298: D/VitamioPlayer: GPAC ISO Audio Handler 09-27 15:52:14.298: I/VitamioPlayer: METADATA: isom1isomavc12010-10-31 11:57:00 09-27 15:52:14.298: I/VitamioPlayer: META AUDIO: 1. und. 2010-10-31 11:57:02, META SUBTITLE: 09-27 15:52:14.298: D/VitamioPlayer: FIND CODEC_ID 86018 09-27 15:52:14.298: I/VitamioPlayer: OOPS: ONLY 1 09-27 15:52:14.328: D/VitamioPlayer: OPEN CODEC aac 09-27 15:52:14.328: I/VitamioPlayer: OPEN STREAM AUDIO BEGIN 09-27 15:52:14.328: I/VitamioPlayer: Copyright (c) YIXIA (http://yixia.com). 09-27 15:52:14.328: I/VitamioPlayer: THIS SOFTWARE (Vitamio) IS WORK OF YIXIA (http://yixia.com) 09-27 15:52:14.328: I/VitamioPlayer: Application package name: io.vov.vitamio.demo 09-27 15:52:14.328: I/VitamioPlayer: 2, 44100, 0 09-27 15:52:14.338: I/VitamioPlayer: OPEN STREAM AUDIO END 09-27 15:52:14.338: D/VitamioPlayer: SURFACE RELEASEED OK 09-27 15:52:14.338: D/VitamioPlayer: THREAD AUDIO_DECODE START 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] AVC profile = 77 (Main), level = 30 09-27 15:52:14.358: D/VitamioPlayer: THREAD AUDIO_OUTPUT START 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] video dimensions are 320 x 240 09-27 15:52:14.358: I/OMXCodec(7721): [OMX.google.h264.decoder] Crop rect is 320 x 240 @ (0, 0) 09-27 15:52:14.368: E/VitamioPlayer: Unknown video color format: 32315659 09-27 15:52:14.368: A/OMXCodec(7721): frameworks/base/media/libstagefright/OMXCodec.cpp:1594 CHECK(mState == LOADED || mState == ERROR || mState == LOADED_TO_IDLE) failed. 09-27 15:52:14.368: A/libc(7721): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1) 09-27 15:52:14.448: D/dalvikvm(7721): GC_CONCURRENT freed 195K, 5% free 6809K/7111K, paused 2ms+13ms 09-27 15:52:15.418: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:16.498: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:17.578: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:18.658: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:19.738: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:20.828: W/AudioTrack(7721): obtainBuffer() track 0x292bf8 disabled, restarting 09-27 15:52:22.228: D/VitamioPlayer: CPU implementer:0x41 09-27 15:52:22.248: D/VitamioPlayer: Serial:0541ce82575548488071825016236784 09-27 15:52:22.248: D/VitamioPlayer: CPU architecture:7 09-27 15:52:22.258: D/VitamioPlayer: Hardware:sun4i 09-27 15:52:22.258: D/VitamioPlayer: CPU revision:2 09-27 15:52:22.258: D/VitamioPlayer: CPU variant:0x3 09-27 15:52:22.258: D/VitamioPlayer: CPU part:0xc08 09-27 15:52:22.258: D/VitamioPlayer: Revision:0000 09-27 15:52:22.258: D/VitamioPlayer: BogoMIPS:1001.88 09-27 15:52:22.268: D/VitamioPlayer: Features:swp half thumb fastmult vfp edsp neon vfpv3 09-27 15:52:22.268: D/VitamioPlayer: Processor:ARMv7 Processor rev 2 (v7l) 09-27 15:52:22.268: D/VitamioPlayer: CPU architecture: 7 09-27 15:52:22.278: D/VitamioPlayer: GET CPU FATURE: V5TE V6 VFP V7A VFPV3 NEON 09-27 15:52:22.278: D/dalvikvm(7753): Trying to load lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x410457f8 09-27 15:52:22.278: D/dalvikvm(7753): Added shared lib /data/data/io.vov.vitamio.demo/lib/libvinit.so 0x410457f8 09-27 15:52:22.298: I/VitamioPlayer: isNativeLibsInited, APP VERSION: 2, Vitamio Library version: 2 09-27 15:52:22.438: D/libEGL(7753): loaded /system/lib/egl/libGLES_android.so 09-27 15:52:22.448: D/libEGL(7753): loaded /system/lib/egl/libEGL_mali.so 09-27 15:52:22.458: D/libEGL(7753): loaded /system/lib/egl/libGLESv1_CM_mali.so 09-27 15:52:22.458: D/libEGL(7753): loaded /system/lib/egl/libGLESv2_mali.so 09-27 15:52:22.498: D/OpenGLRenderer(7753): Enabling debug mode 0

crossle commented 10 years ago

What's phone you used? emulator?

alexliyu commented 10 years ago

no....this is Android BOX...

alexliyu commented 10 years ago

maybe error is here: Unknown video color format: 32315659

alexliyu commented 10 years ago

09-27 16:06:44.378: A/OMXCodec(8054): frameworks/base/media/libstagefright/OMXCodec.cpp:1594 CHECK(mState == LOADED || mState == ERROR || mState == LOADED_TO_IDLE) failed.

alexliyu commented 10 years ago

how can i do?

alexliyu commented 10 years ago

but when i used Android mediaplayer all is right...

alexliyu commented 10 years ago

Android mediaplayer is used hw decoder. so this is error of Vitamio

crossle commented 10 years ago

Send me Android Mediaplayer log

alexliyu commented 10 years ago

es player.

I/ActivityManager( 150): Start proc com.estrongs.android.pop for activity com.estrongs.android.pop/.view.FileExplorerActivity: pid=8786 uid=10006 gids={3003, 3002, 3001, 1015} I/dalvikvm( 8786): Turning on JNI app bug workarounds for target SDK version 4... D/dalvikvm( 86): GC_EXPLICIT freed 37K, 5% free 6537K/6851K, paused 2ms+2ms D/dalvikvm( 86): GC_EXPLICIT freed <1K, 5% free 6537K/6851K, paused 2ms+2ms D/dalvikvm( 86): GC_EXPLICIT freed <1K, 5% free 6537K/6851K, paused 2ms+2ms I/ActivityThread( 8786): Pub com.estrongs.android.provider.fex: com.estrongs.android.pop.FexProvider I/ActivityThread( 8786): Pub com.estrongs.files: com.estrongs.android.pop.app.FileContentProvider I/GlobalLogger( 8786): RequestEventHandler:0 is waiting to pop request... I/GlobalLogger( 8786): RequestEventHandler:1 is waiting to pop request... I/GlobalLogger( 8786): RequestEventHandler:2 is waiting to pop request... I/GlobalLogger( 8786): RequestEventHandler:3 is waiting to pop request... D/dalvikvm( 8786): GC_CONCURRENT freed 245K, 5% free 6806K/7111K, paused 2ms+3ms D/dalvikvm( 8786): GC_CONCURRENT freed 299K, 5% free 7062K/7431K, paused 1ms+2ms D/dalvikvm( 8786): GC_CONCURRENT freed 328K, 7% free 7213K/7687K, paused 2ms+3ms D/dalvikvm( 8786): GC_CONCURRENT freed 322K, 6% free 7386K/7815K, paused 2ms+4ms D/dalvikvm( 8786): GC_CONCURRENT freed 298K, 5% free 7638K/8007K, paused 1ms+7ms V/TabletStatusBar( 232): setLightsOn(true) D/dalvikvm( 8786): GC_CONCURRENT freed 291K, 5% free 7831K/8199K, paused 2ms+4ms I/GlobalLogger( 8786): RequestEventHandler:2 pop request successfully D/dalvikvm( 8786): GC_CONCURRENT freed 301K, 5% free 8083K/8455K, paused 2ms+3ms I/GlobalLogger( 8786): RequestEventHandler:2 is waiting to pop request... I/GlobalLogger( 8786): RequestEventHandler:2 pop request successfully I/GlobalLogger( 8786): RequestEventHandler:2 is waiting to pop request... I/ActivityManager( 150): Displayed com.estrongs.android.pop/.view.FileExplorerActivity: +2s433ms D/webviewglue( 8786): nativeDestroy view: 0x2ef4b8 W/InputManagerService( 150): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4145ac20 (uid=10004 pid=8768) D/dalvikvm( 8786): GC_CONCURRENT freed 402K, 6% free 8147K/8647K, paused 2ms+4ms I/ActivityManager( 150): No longer want com.hiapk.marketpho (pid 7336): hidden #16 D/InputEventConsistencyVerifier( 8786): KeyEvent: ACTION_UP but key was not down. D/InputEventConsistencyVerifier( 8786): in android.widget.FrameLayout@410ace38 D/InputEventConsistencyVerifier( 8786): 0: sent at 519890256000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_DOWN, scanCode=108, metaState=0, flags=0x8, repeatCount=0, eventTime=519890256, downTime=519890112, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): KeyEvent: ACTION_UP but key was not down. D/InputEventConsistencyVerifier( 8786): in android.widget.LinearLayout@410d4928 D/InputEventConsistencyVerifier( 8786): 0: sent at 519890576000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_DOWN, scanCode=108, metaState=0, flags=0x8, repeatCount=0, eventTime=519890576, downTime=519890464, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): KeyEvent: ACTION_UP but key was not down. D/InputEventConsistencyVerifier( 8786): in com.estrongs.android.pop.view.RealViewSwitcher@4104d5d8 D/InputEventConsistencyVerifier( 8786): 0: sent at 519890880000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_DOWN, scanCode=108, metaState=0, flags=0x8, repeatCount=0, eventTime=519890880, downTime=519890776, deviceId=4, source=0x301 } I/ActivityManager( 150): START {cmp=com.estrongs.android.pop/.view.OpenRecomm (has extras)} from pid 8786 D/dalvikvm( 8786): GC_CONCURRENT freed 322K, 5% free 8292K/8711K, paused 2ms+4ms D/dalvikvm( 8786): GC_FOR_ALLOC freed 98K, 5% free 8413K/8839K, paused 22ms V/TabletStatusBar( 232): setLightsOn(true) D/dalvikvm( 8786): GC_CONCURRENT freed 444K, 6% free 8625K/9159K, paused 2ms+5ms I/ActivityManager( 150): Displayed com.estrongs.android.pop/.view.OpenRecomm: +1s2ms I/ActivityManager( 150): START {act=android.intent.action.VIEW dat=file:///sdcard/33.mp4 typ=video/mp4 flg=0x4000000 cmp=com.estrongs.android.pop/.app.PopVideoPlayer (has extras)} from pid 8786 D/dalvikvm( 150): GC_CONCURRENT freed 1361K, 21% free 12898K/16263K, paused 3ms+8ms D/SurfaceView( 8786): pckname = com.estrongs.android.pop V/TabletStatusBar( 232): setLightsOn(true) I/SurfaceView( 8786): Changes: creating=true format=true size=true visible=true mLeft=-1 mTop =-1 mLocation[0]=0 mLocation[1]=0 left=true top=true I/SurfaceView( 8786): Cur surface: Surface(name=null, identity=-1) I/SurfaceView( 8786): New surface: Surface(name=null, identity=1276), vis=true, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8786): visibleChanged -- surfaceCreated D/MediaPlayerService(28854): mHasSurface is inited as 0 D/MediaPlayerService(28854): MediaPlayerService::Client::setSubGate(): showSub = 1 D/CDX_Player(28854): >>>>>>>> CedarX Player Version: 00010704 D/MediaPlayerService(28854): MediaPlayerService::Client::setDataSource() : screen = 0 I/CedarPlayerWrapper(28854): setDataSource('/sdcard/33.mp4') D/MediaPlayerService(28854): [2] setVideoSurfaceTexture(0x50f38) D/MediaPlayerService(28854): mHasSurface is set as 1 I/WindowManager( 150): MediaPlayer.isPlayingVideo D/MediaPlayerService(28854): [2] setVideoSurfaceTexture(0x1c890) D/VideoDec_Component(28854): pVideoDecData->container type 0 I/SurfaceView( 8786): surfaceChanged -- format=4 w=1280 h=720 I/SurfaceView( 8786): surfaceRedrawNeeded I/SurfaceView( 8786): finishedDrawing V/SurfaceView( 8786): Layout: x=0 y=0 w=1280 h=720, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8786): Changes: creating=false format=false size=false visible=false mLeft=0 mTop =0 mLocation[0]=0 mLocation[1]=0 left=false top=false I/SurfaceView( 8786): Cur surface: Surface(name=null, identity=1276) I/SurfaceView( 8786): New surface: Surface(name=null, identity=1276), vis=true, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8786): surfaceRedrawNeeded I/SurfaceView( 8786): finishedDrawing V/SurfaceView( 8786): Layout: x=0 y=0 w=1280 h=720, frame=Rect(0, 0 - 1280, 720) I/ActivityManager( 150): Displayed com.estrongs.android.pop/.app.PopVideoPlayer: +346ms D/MediaPlayer( 8786): getMetadata I/SurfaceView( 8786): Changes: creating=false format=false size=true visible=false mLeft=0 mTop =0 mLocation[0]=100 mLocation[1]=0 left=true top=false I/SurfaceView( 8786): Cur surface: Surface(name=null, identity=1276) V/SurfaceView( 8786): android.widget.VideoView@41120690 got resized: w=720 h=480, cur w=-1 h=-1 I/SurfaceView( 8786): New surface: Surface(name=null, identity=1276), vis=true, frame=Rect(100, 0 - 1180, 720) I/SurfaceView( 8786): surfaceChanged -- format=4 w=720 h=480 D/VideoDec_Component(28854): vdec touch cpu freq V/SurfaceView( 8786): Layout: x=100 y=0 w=1080 h=720, frame=Rect(0, 0 - 1080, 720) I/SurfaceView( 8786): Changes: creating=false format=false size=false visible=false mLeft=100 mTop =0 mLocation[0]=100 mLocation[1]=0 left=false top=false I/SurfaceView( 8786): Cur surface: Surface(name=null, identity=1276) D/AudioDec_Component(28854): touch cpu freq I/SurfaceView( 8786): New surface: Surface(name=null, identity=1276), vis=true, frame=Rect(100, 0 - 1180, 720) D/SurfaceTextureClient(28854): dispatchSetBuffersGeometry1! D/SurfaceTextureClient(28854): dispatchSetBuffersGeometry2! D/ (28854): layer_info.w = 720 D/ (28854): layer_info.h = 480 D/ (28854): layer_info.format = 86 D/ (28854): layer_info.screenid = 0 D/ ( 85): layer_info.w = 720 D/ ( 85): layer_info.h = 480 D/ ( 85): layer_info.format = 86 D/ ( 85): layer_info.screenid = 0 V/SurfaceView( 8786): Layout: x=100 y=0 w=1080 h=720, frame=Rect(0, 0 - 1080, 720) I/hwcomposer( 85): layer open hdl:101,ret :0 D/audio_hw_primary(28854): start_output_stream AUDIO_DEVICE_OUT_AUX_DIGITAL D/alsa_pcm(28854): pcm_open_req, card: 1, device: 0, req_rate: 44100 V/alsa_pcm(28854): ~~~ pcm_open_req try rate: 44100 V/alsa_pcm(28854): ~~~ pcm_open_req OK config->rate: 44100

alexliyu commented 10 years ago

native box mediaplayer

D/audio_hw_primary(28854): start_output_stream AUDIO_DEVICE_OUT_AUX_DIGITAL D/alsa_pcm(28854): pcm_open_req, card: 1, device: 0, req_rate: 44100 V/alsa_pcm(28854): ~~~ pcm_open_req try rate: 44100 V/alsa_pcm(28854): ~~~ pcm_open_req OK config->rate: 44100 V/TabletStatusBar( 232): setLightsOn(true) D/InputEventConsistencyVerifier( 8786): KeyEvent: ACTION_UP but key was not down. D/InputEventConsistencyVerifier( 8786): in Handler (android.view.ViewRootImpl) {411265f0} D/InputEventConsistencyVerifier( 8786): 0: sent at 519972737000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=519972737, downTime=519972737, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): -- recent events -- D/InputEventConsistencyVerifier( 8786): 1: sent at 519972737905000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=523.8942, y[0]=439.2725, toolType[0]=TOOL_TYPE_MOUSE, buttonState=BUTTON_BACK, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=519972737, downTime=504311111, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): 2: sent at 519972585842000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=523.8942, y[0]=439.2725, toolType[0]=TOOL_TYPE_MOUSE, buttonState=BUTTON_BACK, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=519972585, downTime=504311111, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): 3: sent at 519972585842000, MotionEvent { action=ACTION_HOVER_ENTER, id[0]=0, x[0]=523.8942, y[0]=439.2725, toolType[0]=TOOL_TYPE_MOUSE, buttonState=BUTTON_BACK, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=519972585, downTime=504311111, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): 4: sent at 519900456000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, scanCode=28, metaState=0, flags=0x8, repeatCount=0, eventTime=519900456, downTime=519900336, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): 5: sent at 519900336000000, KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DPAD_CENTER, scanCode=28, metaState=0, flags=0x8, repeatCount=0, eventTime=519900336, downTime=519900336, deviceId=4, source=0x301 } D/dalvikvm( 8786): GC_CONCURRENT freed 531K, 7% free 8703K/9351K, paused 2ms+5ms I/SurfaceView( 8786): Changes: creating=false format=false size=false visible=true mLeft=100 mTop =0 mLocation[0]=100 mLocation[1]=0 left=false top=false I/SurfaceView( 8786): Cur surface: Surface(name=null, identity=1276) I/SurfaceView( 8786): New surface: Surface(name=null, identity=-1), vis=false, frame=Rect(100, 0 - 1180, 720) I/SurfaceView( 8786): visibleChanged -- surfaceDestroyed V/SurfaceView( 8786): Layout: x=100 y=0 w=1080 h=720, frame=Rect(0, 0 - 1080, 720) D/InputEventConsistencyVerifier( 8786): KeyEvent: ACTION_UP but key was not down. D/InputEventConsistencyVerifier( 8786): in android.widget.LinearLayout@410d4928 D/InputEventConsistencyVerifier( 8786): 0: sent at 519975738000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_RIGHT, scanCode=106, metaState=0, flags=0x8, repeatCount=0, eventTime=519975738, downTime=519975600, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): -- recent events -- D/InputEventConsistencyVerifier( 8786): 1: sent at 519890776000000, (unhandled) KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DPAD_DOWN, scanCode=108, metaState=0, flags=0x8, repeatCount=0, eventTime=519890776, downTime=519890776, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): 2: sent at 519890576000000, (unhandled) KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_DOWN, scanCode=108, metaState=0, flags=0x80000008, repeatCount=0, eventTime=519890576, downTime=519890464, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): KeyEvent: ACTION_UP but key was not down. D/InputEventConsistencyVerifier( 8786): in com.estrongs.android.pop.view.RealViewSwitcher@4104d5d8 D/InputEventConsistencyVerifier( 8786): 0: sent at 519976256000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_DOWN, scanCode=108, metaState=0, flags=0x8, repeatCount=0, eventTime=519976256, downTime=519976136, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): -- recent events -- D/InputEventConsistencyVerifier( 8786): 1: sent at 519972737905000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=523.8942, y[0]=439.2725, toolType[0]=TOOL_TYPE_MOUSE, buttonState=BUTTON_BACK, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=519972737, downTime=504311111, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): 2: sent at 519972585842000, MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=523.8942, y[0]=439.2725, toolType[0]=TOOL_TYPE_MOUSE, buttonState=BUTTON_BACK, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=519972585, downTime=504311111, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): 3: sent at 519972585842000, MotionEvent { action=ACTION_HOVER_ENTER, id[0]=0, x[0]=523.8942, y[0]=439.2725, toolType[0]=TOOL_TYPE_MOUSE, buttonState=BUTTON_BACK, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=519972585, downTime=504311111, deviceId=268374015, source=0x2002 } D/InputEventConsistencyVerifier( 8786): 4: sent at 519900456000000, KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, scanCode=28, metaState=0, flags=0x8, repeatCount=0, eventTime=519900456, downTime=519900336, deviceId=4, source=0x301 } D/InputEventConsistencyVerifier( 8786): 5: sent at 519900336000000, KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DPAD_CENTER, scanCode=28, metaState=0, flags=0x8, repeatCount=0, eventTime=519900336, downTime=519900336, deviceId=4, source=0x301 } I/ActivityManager( 150): START {cmp=com.estrongs.android.pop/.view.OpenRecomm (has extras)} from pid 8786 V/TabletStatusBar( 232): setLightsOn(true) I/ActivityManager( 150): Displayed com.estrongs.android.pop/.view.OpenRecomm: +237ms I/ActivityManager( 150): START {act=android.intent.action.VIEW dat=file:///sdcard/33.mp4 typ=video/mp4 flg=0x4000000 cmp=com.softwinner.TvdVideo/.TvdVideoActivity (has extras)} from pid 8786 I/ActivityManager( 150): Start proc com.softwinner.TvdVideo for activity com.softwinner.TvdVideo/.TvdVideoActivity: pid=8832 uid=10058 gids={3003} D/SurfaceView( 8832): pckname = com.softwinner.TvdVideo W/MovieViewControl( 8832): **** Uri2File2Uri failed *** W/MovieViewControl( 8832): *** scheme is null or scheme != file, create playlist failed ***** D/dalvikvm( 8832): GC_CONCURRENT freed 120K, 3% free 6903K/7111K, paused 1ms+4ms D/dalvikvm( 8832): GC_FOR_ALLOC freed 11K, 3% free 7326K/7495K, paused 16ms D/dalvikvm( 8832): GC_CONCURRENT freed 4K, 3% free 7587K/7751K, paused 1ms+2ms W/MediaController( 8832): *** initControllerView ***** D/libEGL ( 8832): loaded /system/lib/egl/libGLES_android.so D/libEGL ( 8832): loaded /system/lib/egl/libEGL_mali.so D/libEGL ( 8832): loaded /system/lib/egl/libGLESv1_CM_mali.so D/libEGL ( 8832): loaded /system/lib/egl/libGLESv2_mali.so D/OpenGLRenderer( 8832): Enabling debug mode 0 I/SurfaceView( 8832): Changes: creating=true format=true size=true visible=true mLeft=-1 mTop =-1 mLocation[0]=0 mLocation[1]=0 left=true top=true I/SurfaceView( 8832): Cur surface: Surface(name=null, identity=-1) I/SurfaceView( 8832): New surface: Surface(name=null, identity=1282), vis=true, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8832): visibleChanged -- surfaceCreated D/MediaPlayerService(28854): mHasSurface is inited as 0 D/MediaPlayerService(28854): MediaPlayerService::Client::setSubGate(): showSub = 1 D/CDX_Player(28854): >>>>>>>> CedarX Player Version: 00010704 D/MediaPlayerService(28854): MediaPlayerService::Client::setDataSource() : screen = 0 I/CedarPlayerWrapper(28854): setDataSource('/sdcard/33.mp4') D/MediaPlayerService(28854): [3] setVideoSurfaceTexture(0x66df0) D/MediaPlayerService(28854): mHasSurface is set as 1 I/WindowManager( 150): MediaPlayer.isPlayingVideo D/MediaPlayerService(28854): [3] setVideoSurfaceTexture(0x66e58) D/MediaPlayer( 8832): Deprecated setSubGate() D/MediaPlayerService(28854): MediaPlayerService::setGlobalSubGate(): enable = 1 I/SurfaceView( 8832): surfaceChanged -- format=4 w=1280 h=720 I/SurfaceView( 8832): surfaceRedrawNeeded I/SurfaceView( 8832): finishedDrawing V/SurfaceView( 8832): Layout: x=0 y=0 w=1280 h=720, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8832): Changes: creating=false format=false size=false visible=false mLeft=0 mTop =0 mLocation[0]=0 mLocation[1]=0 left=false top=false I/SurfaceView( 8832): Cur surface: Surface(name=null, identity=1282) I/SurfaceView( 8832): New surface: Surface(name=null, identity=1282), vis=true, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8832): surfaceRedrawNeeded I/SurfaceView( 8832): finishedDrawing V/SurfaceView( 8832): Layout: x=0 y=0 w=1280 h=720, frame=Rect(0, 0 - 1280, 720) D/VideoDec_Component(28854): pVideoDecData->container type 0 I/ActivityManager( 150): Displayed com.softwinner.TvdVideo/.TvdVideoActivity: +665ms W/InputManagerService( 150): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@4112a480 (uid=10006 pid=8786) D/MediaPlayer( 8832): getMetadata E/MediaPlayer-JNI( 8832): enter android_media_MediaPlayer_getTrackList E/MediaPlayer-JNI( 8832): enter android_media_MediaPlayer_getSubList D/VideoDec_Component(28854): vdec touch cpu freq D/AudioDec_Component(28854): touch cpu freq D/SurfaceTextureClient(28854): dispatchSetBuffersGeometry1! D/SurfaceTextureClient(28854): dispatchSetBuffersGeometry2! D/ (28854): layer_info.w = 720 D/ (28854): layer_info.h = 480 D/ (28854): layer_info.format = 86 D/ (28854): layer_info.screenid = 0 D/ ( 85): layer_info.w = 720 D/ ( 85): layer_info.h = 480 D/ ( 85): layer_info.format = 86 D/ ( 85): layer_info.screenid = 0 I/hwcomposer( 85): layer open hdl:101,ret :0 D/VideoView( 8832): #################setvideoSize(), result: width = 1280, height = 720 D/VideoView( 8832): #################setvideoSize(), result: width = 1280, height = 720 D/audio_hw_primary(28854): start_output_stream AUDIO_DEVICE_OUT_AUX_DIGITAL D/alsa_pcm(28854): pcm_open_req, card: 1, device: 0, req_rate: 44100 V/alsa_pcm(28854): ~~~ pcm_open_req try rate: 44100 V/alsa_pcm(28854): ~~~ pcm_open_req OK config->rate: 44100 I/SurfaceView( 8832): Changes: creating=false format=false size=true visible=false mLeft=0 mTop =0 mLocation[0]=0 mLocation[1]=0 left=false top=false I/SurfaceView( 8832): Cur surface: Surface(name=null, identity=1282) V/SurfaceView( 8832): com.softwinner.TvdVideo.VideoView@4104ff08 got resized: w=720 h=480, cur w=-1 h=-1 I/SurfaceView( 8832): New surface: Surface(name=null, identity=1282), vis=true, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8832): surfaceChanged -- format=4 w=720 h=480 V/SurfaceView( 8832): Layout: x=0 y=0 w=1280 h=720, frame=Rect(0, 0 - 1280, 720) I/SurfaceView( 8832): Changes: creating=false format=false size=false visible=false mLeft=0 mTop =0 mLocation[0]=0 mLocation[1]=0 left=false top=false I/SurfaceView( 8832): Cur surface: Surface(name=null, identity=1282) I/SurfaceView( 8832): New surface: Surface(name=null, identity=1282), vis=true, frame=Rect(0, 0 - 1280, 720) V/SurfaceView( 8832): Layout: x=0 y=0 w=1280 h=720, frame=Rect(0, 0 - 1280, 720) W/InputManagerService( 150): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@414464e8

crossle commented 10 years ago

@alexliyu I dont see any about hardware decoder, I think Android MediaPlayer use software decoder, Your Android Box dont support HW decode. What's chipsets? Android OS version?

winsontan520 commented 10 years ago

I encountered this error too. I posted at https://bbs.vitamio.org/topics/455?locale=en Any solution for this?

crossle commented 10 years ago

@alexliyu native box and es player use Android MediaPlayer, Android MediaPlayer has software decoder and HW decoder, I don't sure it's use SW or HW from log. Android OS version?

crossle commented 10 years ago

@winsontan520 I send email to you.

alexliyu commented 10 years ago

i used mediaplayer hw decoder...the log shows omx..... my box is 迪优美特 x5

娱讯(厦门)文化传播有限公司 李昱 电话: 0592-5166918 传真: 0592-5166755 E-mail:liy@eiimedia.cn (Work) E-mail:alexliyu2012@gmail.com (Personal) QQ: 939567050 地址:厦门市禾祥东路138号鸿运大厦裙楼4楼

2013/10/17 Crossle Song notifications@github.com

@winsontan520 https://github.com/winsontan520 I send email to you.

— Reply to this email directly or view it on GitHubhttps://github.com/yixia/VitamioBundle/issues/54#issuecomment-26473016 .

crossle commented 10 years ago

@alexliyu send me detail playback log

crossle commented 10 years ago

@alexliyu @winsontan520 Please use Vitamio 4.2.0