log如下
java.io.IOException: setDataSourceFD failed.: status=0x80000000
at android.media.MediaPlayer._setDataSource(Native Method)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1025)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1009)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:988)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:944)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:891)
at android.media.MediaPlayer.setDataSource(MediaPlayer.java:874)
at com.universalvideoview.UniversalVideoView.openVideo(UniversalVideoView.java:322)
at com.universalvideoview.UniversalVideoView.access$2100(UniversalVideoView.java:46)
at com.universalvideoview.UniversalVideoView$7.surfaceCreated(UniversalVideoView.java:600)
at android.view.SurfaceView.updateWindow(SurfaceView.java:572)
at android.view.SurfaceView.access$000(SurfaceView.java:86)
at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175)
at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1887)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1016)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5692)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:544)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
at android.os.Handler.handleCallback(Handler.java:758)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at dalvik.system.NativeStart.main(Native Method)
播放本地mp4视频出现的错误
log如下 java.io.IOException: setDataSourceFD failed.: status=0x80000000 at android.media.MediaPlayer._setDataSource(Native Method) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1025) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1009) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:988) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:944) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:891) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:874) at com.universalvideoview.UniversalVideoView.openVideo(UniversalVideoView.java:322) at com.universalvideoview.UniversalVideoView.access$2100(UniversalVideoView.java:46) at com.universalvideoview.UniversalVideoView$7.surfaceCreated(UniversalVideoView.java:600) at android.view.SurfaceView.updateWindow(SurfaceView.java:572) at android.view.SurfaceView.access$000(SurfaceView.java:86) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1887) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1016) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5692) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) at android.view.Choreographer.doCallbacks(Choreographer.java:574) at android.view.Choreographer.doFrame(Choreographer.java:544) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747) at android.os.Handler.handleCallback(Handler.java:758) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5021) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)