Playing video on Nexus-1

All your problems with Audio, Video and Images.

Playing video on Nexus-1

Postby ezmora » Sun May 09, 2010 3:00 pm

Hi,

I am trying to run code which plays a video file from the sdcard.
For some reason I keep getting an IOException when calling MediaPlayer.prepare().
LogCat is as follows:

05-09 13:58:26.471: WARN/MediaPlayer(873): info/warning (1, 26)
05-09 13:58:26.481: ERROR/PlayerDriver(31): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported
05-09 13:58:26.481: ERROR/MediaPlayer(873): error (1, -4)
05-09 13:58:26.502: WARN/PlayerDriver(31): PVMFInfoErrorHandlingComplete
05-09 16:57:25.953: DEBUG/LocationMasfClient(84): getNetworkLocation(): Location not found in cache, making network request
05-09 16:57:30.132: DEBUG/ProtoRequestListener(84): requestFailed()
05-09 16:57:31.072: DEBUG/WifiService(84): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44a29658}
05-09 16:57:31.093: DEBUG/dalvikvm(350): GC freed 1045 objects / 58808 bytes in 101ms
05-09 13:58:37.142: INFO/NotificationService(54): enqueueToast pkg=com.nds.drm callback=android.app.ITransientNotification$Stub$Proxy@43bd8718 duration=0
05-09 13:58:38.050: WARN/System.err(873): java.io.IOException: Prepare failed.: status=0x1
05-09 13:58:38.050: WARN/System.err(873): at android.media.MediaPlayer.prepare(Native Method)
05-09 13:58:38.062: WARN/System.err(873): at com.nds.drm.Player2.onCreate(Player2.java:154)
05-09 13:58:38.072: WARN/System.err(873): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
05-09 13:58:38.082: WARN/System.err(873): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2444)
05-09 13:58:38.090: WARN/System.err(873): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2497)
05-09 13:58:38.102: WARN/System.err(873): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
05-09 13:58:38.112: WARN/System.err(873): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1848)
05-09 13:58:38.120: WARN/System.err(873): at android.os.Handler.dispatchMessage(Handler.java:99)
05-09 13:58:38.130: WARN/System.err(873): at android.os.Looper.loop(Looper.java:123)
05-09 13:58:38.153: WARN/System.err(873): at android.app.ActivityThread.main(ActivityThread.java:4338)
05-09 13:58:38.160: WARN/System.err(873): at java.lang.reflect.Method.invokeNative(Native Method)
05-09 13:58:38.170: WARN/System.err(873): at java.lang.reflect.Method.invoke(Method.java:521)
05-09 13:58:38.170: WARN/System.err(873): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
05-09 13:58:38.181: WARN/System.err(873): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
05-09 13:58:38.191: WARN/System.err(873): at dalvik.system.NativeStart.main(Native Method)

Any idea why "ERROR/PlayerDriver(31): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported"

Thanks,
Eyal
ezmora
Freshman
Freshman
 
Posts: 9
Joined: Thu Mar 25, 2010 3:48 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 10 guests