I run the camera app on simulator.But it crash ,after I instead code
with setEGLConfigChooser(5, 6, 5, 0, 0, 0) for GLRootView.java. It can
work.
But when I switch from camera model to video recorder.It crashed.
How to fix it?

12-24 16:25:41.580: ERROR/audio_input(34): unsupported parameter: x-
pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
12-24 16:25:41.580: ERROR/audio_input(34): VerifyAndSetParameter
failed
12-24 16:25:41.610: ERROR/CameraInput(34): Unsupported parameter(x-
pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)
12-24 16:25:41.620: ERROR/CameraInput(34): VerifiyAndSetParameter
failed on parameter #0
12-24 16:25:41.859: ERROR/PVOMXEncNode(34): PVMFOMXEncNode-
Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle
12-24 16:25:41.859: ERROR/PVOMXEncNode(34): PVMFOMXEncNode-
Audio_AMRNB::DoPrepare(): Got Component OMX.PV.amrencnb handle
12-24 16:25:41.959: ERROR/AuthorDriver(34): Command 13 completed with
error -17
12-24 16:25:41.959: ERROR/MediaRecorder(2034): prepare failed: -17
12-24 16:25:41.959: ERROR/videocamera(2034): prepare failed for /mnt/
sdcard/DCIM/Camera/VID_20101224_162541.3gp
12-24 16:25:42.059: ERROR/CameraInput(34): Unsupported parameter(x-
pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)
12-24 16:25:42.059: ERROR/CameraInput(34): VerifiyAndSetParameter
failed on parameter #0
12-24 16:25:42.069: ERROR/audio_input(34): unsupported parameter: x-
pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
12-24 16:25:42.069: ERROR/audio_input(34): VerifyAndSetParameter
failed
12-24 16:25:42.139: ERROR/AndroidRuntime(2034): FATAL EXCEPTION: main
12-24 16:25:42.139: ERROR/AndroidRuntime(2034):
java.lang.RuntimeException: java.io.IOException: prepare failed.
12-24 16:25:42.139: ERROR/AndroidRuntime(2034):     at
com.android.camera.VideoCamera.initializeRecorder(VideoCamera.java:
942)
12-24 16:25:42.139: ERROR/AndroidRuntime(2034): Caused by:
java.io.IOException: prepare failed.
12-24 16:25:42.139: ERROR/AndroidRuntime(2034):     at
android.media.MediaRecorder._prepare(Native Method)
12-24 16:25:42.139: ERROR/AndroidRuntime(2034):     at
android.media.MediaRecorder.prepare(MediaRecorder.java:503)

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

Reply via email to