|
RK3288使用Android5.1系统播放器播放视频出错
发表于 2018-3-8 14:39:01
浏览:10281
|
回复:0
打印
只看该作者
[复制链接]
楼主
RK3288使用Android5.1系统自带的视频播放器播放视频时,刚点开视频播放器就挂掉了,显示播放出错,视频为MP4格式并且视频完好无误,打印Android调试信息如下:
--------- beginning of system
I/ActivityStackSupervisor( 446): START u0 {act=android.intent.action.VIEW dat=file:///mnt/internal_sd/2.mp4 typ=video/* cmp=android.rk.RockVideoPlayer/.VideoPlayActivity} from uid 10032 on display 0
I/System.out( 446): android.rk.RockVideoPlayer.VideoPlayActivityaddAppToken taskId:21
V/WindowManagerService( 446): addAppToken: AppWindowToken{d8b94c0 token=Token{34d59643 ActivityRecord{6166ff2 u0 android.rk.RockVideoPlayer/.VideoPlayActivity t21}}} to stack=1 task=21 at 1
D/WindowManagerService( 446): null ==========setInputFocusLw ========== =======
I/ActivityManagerService( 446): Start proc 1145:android.rk.RockVideoPlayer/u0a30 for activity android.rk.RockVideoPlayer/.VideoPlayActivity
I/art ( 160): Explicit concurrent mark sweep GC freed 703(30KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 2MB/3MB, paused 140us total 9.512ms
I/art ( 160): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 39% free, 2MB/3MB, paused 130us total 9.094ms
I/art ( 160): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 39% free, 2MB/3MB, paused 117us total 8.705ms
V/----zjy ( 1145): ------------------------------ConfigUtil.SET_FIX_FREQUENCY:false
D/PhoneWindow( 1145): DecorView - SCREEN_WEITH = 1280 - SCREE_HEIGHT = 704
E/realHightPixels-heightPixels( 1145): 800width
V/VideoDisplayView( 1145): --------------------------mVideoWidth:1280,mVideoHeight:800
D/OpenGLRenderer( 1145): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/Atlas ( 1145): Validating map...
W/Atlas ( 1145): Pointer 0x0, not in getPreloadedDrawables?
W/Atlas ( 1145): Pointer 0x0, not in getPreloadedDrawables?
V/WindowManagerService( 446): Adding window Window{1d46b9a2 u0 android.rk.RockVideoPlayer/android.rk.RockVideoPlayer.VideoPlayActivity} at 3 of 8 (after Window{1389e889 u0 com.android.rk/com.android.rk.RockExplorer})
I/SurfaceView( 1145): onWindowVisibilityChangedtrue
D/ViewRootImpl( 1145): onAttachToWindow register content observer attrs=WM.LayoutParams{(0,0)(fillxfill)mPosX=0mPosY=0mHScale=1.0mVScale=1.0 align=UNDEFINE taskId=21 sim=#100 ty=1 fl=#1810500 wanim=0x10303e5 vsysui=0x1707 sysuil=true surfaceInsets=Rect(0, 0 - 0, 0) needsMenuKey=2packageName=android.rk.RockVideoPlayertoken=android.os.BinderProxy@24511fa6}
D/WindowManagerService( 446): Window{1d46b9a2 u0 android.rk.RockVideoPlayer/android.rk.RockVideoPlayer.VideoPlayActivity} ==========setInputFocusLw ========== =======
I/mali_so ( 1145): [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 780; [Func] : base_context_deal_with_version_affairs_rk_ext;
I/mali_so ( 1145): arm_release_ver of this mali_so is 'r6p0-02rel0', rk_so_ver is '11@0', built at '17:59:04', on 'Aug 12 2015'.
I/mali_so ( 1145): [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 807; [Func] : base_context_deal_with_version_affairs_rk_ext;
I/mali_so ( 1145): mali_ver_property has been set to 'r6p0-02rel0-13-11@0', to return.
I/OpenGLRenderer( 1145): Initialized EGL, version 1.4
D/OpenGLRenderer( 1145): Enabling debug mode 0
V/WindowManagerService( 446): Adding window Window{13facdee u0 SurfaceView} at 3 of 9 (before Window{1d46b9a2 u0 android.rk.RockVideoPlayer/android.rk.RockVideoPlayer.VideoPlayActivity})
D/AndroidRuntime( 1145): Shutting down VM
--------- beginning of crash
E/AndroidRuntime( 1145): FATAL EXCEPTION: main
E/AndroidRuntime( 1145): Process: android.rk.RockVideoPlayer, PID: 1145
E/AndroidRuntime( 1145): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
E/AndroidRuntime( 1145): at android.rk.RockVideoPlayer.VideoController.setVedioName(VideoController.java:310)
E/AndroidRuntime( 1145): at android.rk.RockVideoPlayer.VideoDisplayView.openVideo(VideoDisplayView.java:466)
E/AndroidRuntime( 1145): at android.rk.RockVideoPlayer.VideoDisplayView.access$3600(VideoDisplayView.java:78)
E/AndroidRuntime( 1145): at android.rk.RockVideoPlayer.VideoDisplayView$16.surfaceCreated(VideoDisplayView.java:1420)
E/AndroidRuntime( 1145): at android.view.SurfaceView.updateWindow(SurfaceView.java:607)
E/AndroidRuntime( 1145): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:185)
E/AndroidRuntime( 1145): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
E/AndroidRuntime( 1145): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2077)
E/AndroidRuntime( 1145): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1152)
E/AndroidRuntime( 1145): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6184)
E/AndroidRuntime( 1145): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
E/AndroidRuntime( 1145): at android.view.Choreographer.doCallbacks(Choreographer.java:580)
E/AndroidRuntime( 1145): at android.view.Choreographer.doFrame(Choreographer.java:550)
E/AndroidRuntime( 1145): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
E/AndroidRuntime( 1145): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 1145): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 1145): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 1145): at android.app.ActivityThread.main(ActivityThread.java:5280)
E/AndroidRuntime( 1145): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 1145): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 1145): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
E/AndroidRuntime( 1145): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
W/ActivityManagerService( 446): Force finishing activity 1 android.rk.RockVideoPlayer/.VideoPlayActivity
W/ActivityManagerService( 446): Force finishing activity 2 com.android.rk/.RockExplorer
D/ActivityManagerService( 446): moveHomeStackTaskToTop: moving TaskRecord{209c628f #20 A=com.android.launcher3 U=0 sz=1}
D/WindowManagerService( 446): null ==========setInputFocusLw ========== =======
D/PhoneWindow( 446): DecorView - SCREEN_WEITH = 1280 - SCREE_HEIGHT = 704
D/TypefaceImpl( 446): makeFontCollection adding /system/fonts/Roboto-Regular.ttf
E/Minikin ( 446): addFont failed to create font /system/fonts/NanumGothic.ttf
E/Minikin ( 446): addFont failed to create font /system/fonts/DroidSansFallback.ttf
D/OpenGLRenderer( 446): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/Atlas ( 446): Validating map...
W/Atlas ( 446): Pointer 0x0, not in getPreloadedDrawables?
W/Atlas ( 446): Pointer 0x0, not in getPreloadedDrawables?
D/WindowManagerService( 446): Window{14452d77 u0 Application Error: android.rk.RockVideoPlayer} ==========setInputFocusLw ========== =======
D/ViewRootImpl( 446): onAttachToWindow register content observer attrs=WM.LayoutParams{(0,0)(wrapxwrap)mPosX=0mPosY=0mHScale=1.0mVScale=1.0 align=UNDEFINE taskId=-1 gr=#ffffffff sim=#120 ty=2003 fl=#1860002 pfl=0x110 fmt=-3 wanim=0x103046a surfaceInsets=Rect(64, 64 - 64, 64) needsMenuKey=2packageName=androidtoken=null}
E/EmojiFactory_jni( 446): Failed to load libemoji.so: dlopen failed: library "libemoji.so" not found
I/OpenGLRenderer( 446): Initialized EGL, version 1.4
D/OpenGLRenderer( 446): Enabling debug mode 0
W/ActivityManagerService( 446): Activity pause timeout for ActivityRecord{6166ff2 u0 android.rk.RockVideoPlayer/.VideoPlayActivity t21 f}
W/ActivityManagerService( 446): getTasks: caller 10032 does not hold GET_TASKS; limiting output
W/ActivityManagerService( 446): getTasks: caller 10032 does not hold GET_TASKS; limiting output
D/ViewRootImpl( 1067): onDetachedFromWindow ungister contentObserver
I/ActivityManagerService( 446): Waited long enough for: ServiceRecord{1df6f6fd u0 android.rockchip.update.service/.RKUpdateService}
W/ResourceType( 573): No package identifier when getting value for resource number 0x00000000
W/PackageManager( 573): Failure retrieving resources for com.android.rk: Resource ID #0x0
W/AudioTrack( 446): AUDIO_OUTPUT_FLAG_FAST denied by client
I/Process ( 1145): Sending signal. PID: 1145 SIG: 9
D/ViewRootImpl( 446): onDetachedFromWindow ungister contentObserver
D/OpenGLRenderer( 446): endAllStagingAnimators on 0xb7fa6e90 (RippleDrawable) with handle 0xb7dd1ad0
D/WindowManagerService( 446): Window{3101bea2 u0 com.android.launcher3/com.android.launcher3.Launcher} ==========setInputFocusLw ========== =======
E/JavaBinder( 446): !!! FAILED BINDER TRANSACTION !!!
I/WindowState( 446): WIN DEATH: Window{1d46b9a2 u0 android.rk.RockVideoPlayer/android.rk.RockVideoPlayer.VideoPlayActivity}
W/WindowManagerService( 446): Force-removing child win Window{13facdee u0 SurfaceView} from container Window{1d46b9a2 u0 android.rk.RockVideoPlayer/android.rk.RockVideoPlayer.VideoPlayActivity}
I/ActivityManagerService( 446): Process android.rk.RockVideoPlayer (pid 1145) has died
W/WindowManagerService( 446): Failed looking up window
W/WindowManagerService( 446): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@2e725f69 does not exist
W/WindowManagerService( 446): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:10872)
W/WindowManagerService( 446): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:10863)
W/WindowManagerService( 446): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1439)
W/WindowManagerService( 446): at android.os.BinderProxy.sendDeathNotice(Binder.java:551)
I/WindowState( 446): WIN DEATH: null
E/AudioTrackShared( 155): mFlush 0x2000 -> 0x4000, front 0xd7000, rear 0xd8000, mask 0x1fff, newFront 0xd6000, filled 8192=0x2000
E/AudioSink( 155): received unknown event type: 1 inside CallbackWrapper !
D/RKUpdateService( 633): WorkHandler::handleMessage() : To perform 'COMMAND_CHECK_LOCAL_UPDATING'.
D/RKUpdateService( 633): getValidFirmwareImageFile() : Target image file path : /data/media/0/update.zip
D/RKUpdateService( 633): getValidFirmwareImageFile() : Target image file path : /mnt/internal_sd/update.zip
D/RKUpdateService( 633): getValidFirmwareImageFile() : Target image file path : /mnt/external_sd/update.zip
D/RKUpdateService( 633): getValidFirmwareImageFile() : Target image file path : /mnt/usb_storage/update.zip
希望大神帮我看看到底什么问题
|
|