I got this error too...

2010/4/7 Primož Kokol <[email protected]>

> Same problem here....
>
> On 18 feb., 03:07, abukustfan <[email protected]> wrote:
> > Hi,
> >
> > I also have the same error on android 2.1 while I change camera to
> > camcorder mode.
> > Did you find the solution??
> >
> > What cause "ERROR/AuthorDriver(31): Command 13 completed with error
> > -17" ??
> >
> > On Jan 16, 1:44 am, Mr Pinguin <[email protected]> wrote:
> >
> > > I have the sameerrorby recording audio on android 2.1
> >
> > > On 22 Dez. 2009, 04:43, Tuấn <[email protected]> wrote:
> >
> > > > Hi all,
> >
> > > > I have a problem with Android 2.0.2.
> > > > My app use camera to record video. It works well on Android 2.0. But
> > > > when I run it on Android 2.0.1, my app forced close when start
> > > > recording.
> > > > The logcat show that:
> >
> > > > 12-22 10:17:34.185:ERROR/audio_input(31): unsupported parameter: x-
> > > > pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
> > > > 12-22 10:17:34.195:ERROR/audio_input(31): VerifyAndSetParameter
> > > > failed
> > > > 12-22 10:17:34.225:ERROR/CameraInput(31): Unsupported parameter(x-
> > > >
> pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)
> > > > 12-22 10:17:34.225:ERROR/CameraInput(31): VerifiyAndSetParameter
> > > > failed on parameter #0
> > > > 12-22 10:17:34.275: WARN/AuthorDriver(31): Use default video fps
> range
> > > > [5 20]
> > > > 12-22 10:17:34.275: WARN/AuthorDriver(31): Use default video width
> > > > range [176 352]
> > > > 12-22 10:17:34.275: WARN/AuthorDriver(31): Use default video height
> > > > range [144 288]
> > > > 12-22 10:17:34.286: WARN/AuthorDriver(31): Video encoding bit rate is
> > > > set to 320000 bps
> > > > 12-22 10:17:34.286: WARN/AuthorDriver(31): Use default video bps
> range
> > > > [192000 420000]
> > > > 12-22 10:17:34.425: WARN/KeyCharacterMap(245): No keyboard for id 0
> > > > 12-22 10:17:34.425: WARN/KeyCharacterMap(245): Using default keymap:
> /
> > > > system/usr/keychars/qwerty.kcm.bin
> > > > 12-22 10:17:34.625: DEBUG/CamcorderPreview(245): surfaceCreated
> > > > 12-22 10:17:34.735: INFO/MediaRecorderJNI(245): prepare:
> > > > surface=0x324d80 (id=1)
> > > > 12-22 10:17:34.775:ERROR/PVOMXEncNode(31): PVMFOMXEncNode-
> > > > Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle
> > > > 12-22 10:17:34.805:ERROR/PVOMXEncNode(31): PVMFOMXEncNode-
> > > > Video_M4V::DoPrepare(): Cannot get component OMX.PV.mpeg4enc handle,
> > > > try another component if available
> > > > 12-22 10:17:34.815: DEBUG/CameraService(31): CameraService::connect E
> > > > (pid 31, client 0x2c7b4)
> > > > 12-22 10:17:34.815: DEBUG/CameraService(31): Client::Client E (pid
> 31)
> > > > 12-22 10:17:34.825: DEBUG/CameraHardwareStub(31): initHeapLocked:
> > > > preview size=176x144
> > > > 12-22 10:17:34.845:ERROR/MediaPlayerService(31):  error: -2
> > > > 12-22 10:17:34.845:ERROR/MediaPlayer(31): Unable to to create media
> > > > player
> > > > 12-22 10:17:34.845:ERROR/CameraService(31): Failed to load
> > > > CameraService sounds.
> > > > 12-22 10:17:34.845:ERROR/MediaPlayerService(31):  error: -2
> > > > 12-22 10:17:34.845:ERROR/MediaPlayer(31): Unable to to create media
> > > > player
> > > > 12-22 10:17:34.845:ERROR/CameraService(31): Failed to load
> > > > CameraService sounds.
> > > > 12-22 10:17:34.845: DEBUG/CameraService(31): Client::Client X (pid
> 31)
> > > > 12-22 10:17:34.845: DEBUG/CameraService(31): CameraService::connect X
> > > > 12-22 10:17:34.855: DEBUG/CameraService(31): setPreviewDisplay
> > > > (0x15cd0) (pid 31)
> > > > 12-22 10:17:34.855: DEBUG/CameraInput(31): Intended mFrameWidth=320,
> > > > mFrameHeight=240
> > > > 12-22 10:17:34.855: DEBUG/CameraService(31): getParameters(picture-
> > > >
> format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame-
> > > > rate=15;preview-size=176x144)
> > > > 12-22 10:17:34.855: DEBUG/CameraService(31): setParameters(picture-
> > > >
> format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame-
> > > > rate=20;preview-size=320x240)
> > > > 12-22 10:17:34.855: DEBUG/CameraHardwareStub(31): initHeapLocked:
> > > > preview size=320x240
> > > > 12-22 10:17:34.865: DEBUG/CameraService(31): getParameters(picture-
> > > >
> format=jpeg;picture-size=213x350;preview-format=yuv422sp;preview-frame-
> > > > rate=20;preview-size=320x240)
> > > > 12-22 10:17:34.865: DEBUG/CameraInput(31): Actual mFrameWidth=320,
> > > > mFrameHeight=240
> > > > 12-22 10:17:34.865: DEBUG/CameraService(31): startPreview (pid 31)
> > > > 12-22 10:17:34.865: DEBUG/CameraService(31): startCameraMode(0) (pid
> > > > 31)
> > > > 12-22 10:17:34.865: DEBUG/CameraService(31): startPreviewMode (pid
> 31)
> > > > 12-22 10:17:34.875:ERROR/AuthorDriver(31):Command13completedwith
> > > >error-17
> > > > 12-22 10:17:34.875:ERROR/MediaRecorder(245): prepare failed: -17
> > > > 12-22 10:17:34.875:ERROR/IOException(245): java.io.IOException:
> > > > prepare failed.
> > > > 12-22 10:17:35.185:ERROR/SurfaceFlinger(59): layer 0x4d1a58,
> > > > texture=3, using format 224, which is not supported by the GL
> > > > 12-22 10:17:35.205:ERROR/SurfaceFlinger(59): GLerror0x0501
> >
> > > > And the exception is:
> >
> > > > 12-22 10:17:39.295:ERROR/AndroidRuntime(245): Uncaught handler:
> > > > thread main exiting due to uncaught exception
> > > > 12-22 10:17:39.325:ERROR/SurfaceFlinger(59): layer 0x4d1a58,
> > > > texture=3, using format 87, which is not supported by the GL
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):
> > > > java.lang.IllegalStateException
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.media.MediaRecorder.start(Native Method)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.agilemobile.im.android1.CamcorderActivity.onOptionsItemSelected
> > > > (CamcorderActivity.java:139)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.app.Activity.onMenuItemSelected(Activity.java:2170)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected
> > > > (PhoneWindow.java:730)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:
> > > > 139)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.view.menu.MenuBuilder.performItemAction
> > > > (MenuBuilder.java:855)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.view.menu.IconMenuView.invokeItem
> > > > (IconMenuView.java:525)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.view.menu.IconMenuItemView.performClick
> > > > (IconMenuItemView.java:122)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.view.View.onTouchEvent(View.java:4179)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.widget.TextView.onTouchEvent(TextView.java:6534)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.view.View.dispatchTouchEvent(View.java:3709)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:883)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:883)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.policy.impl.PhoneWindow
> > > > $DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.os.Handler.dispatchMessage(Handler.java:99)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.os.Looper.loop(Looper.java:123)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > android.app.ActivityThread.main(ActivityThread.java:4338)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > java.lang.reflect.Method.invokeNative(Native Method)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > java.lang.reflect.Method.invoke(Method.java:521)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
> > > > (ZygoteInit.java:860)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
> > > > 12-22 10:17:39.375:ERROR/AndroidRuntime(245):     at
> > > > dalvik.system.NativeStart.main(Native Method)
> >
> > > > I thinks the exception happen when the recorder start without prepare
> > > > successfully. But it start well on Android 2.0
> > > > Please help me.
> > > > Thank you so much!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>
> To unsubscribe, reply using "remove me" as the subject.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to