Video record is not supported in master or release-1.0 and is only
somewhat working in cupcake. What branch are you using? How are you
generating the frames from the camera?

On Dec 18, 12:32 am, "[email protected]" <[email protected]>
wrote:
> when start video recorder,dalvikvm crash,logcat information:
>
> V/camera  (  698): got shutter event com.android.camera.Camera
> $imagecapt...@43518658
> V/camera  (  698): start recording
> D/CameraService(  534): setPreviewDisplay(0x3a280)
> D/CameraService(  534): getParameters
> E/Camera  (  698): _getParameters: jpeg-quality=85;picture-
> format=jpeg;picture-size=800x600;preview-format=rgb565;preview-frame-
> rate=15;preview-size=400x240;rotation=90
> E/Camera  (  698): setParameters()
> D/CameraService(  534): setParameters(picture-size=800x600;preview-
> frame-rate=15;preview-size=400x240;picture-format=jpeg;jpeg-
> quality=85;preview-format=rgb565;rotation=90)
> D/CameraService(  534): initHeapLocked: preview size=400x240
> D/CameraService(  534): startPreview()
> W/CameraService(  534): ioctl VIDIOC_S_PARM
> successs5k4b_set_capture_format[in:16][out:16]
> [w:400][h:240]
> s5k4bhw_set_CbYCrY
> W/CameraService(  534): ioctl VIDIOC_STREAMON success
> V/camera  (  698): video dir  /sdcard
> sync QCI with Vsync!
> V/camera  (  698): video recording path is /sdcard/Videos/
> VideoRecorder/Camera_19700109_183346.3gp
> V/camera  (  698): ------enter setupVideoMode
> V/camera  (  698): create new mRecorder
> V/camera  (  698): path = /sdcard/Videos/VideoRecorder/
> Camera_19700109_183346.3gp
> I/MediaRecorder(  698): prepare: surface=0x25f208 (id=1)
> D/AndroidRuntime(  698): Shutting down VM
> W/dalvikvm(  698): threadid=3: thread exiting with uncaught exception
> (group=0x40010e28)
> E/AndroidRuntime(  698): Uncaught handler: thread main exiting due to
> uncaught exception
> E/AndroidRuntime(  698): java.lang.RuntimeException: start failed.
> E/AndroidRuntime(  698):        at android.media.MediaRecorder.start
> (Native Method)
> E/AndroidRuntime(  698):        at com.android.camera.Camera
> $VideoCapture.setupVideoMode(Camera.java:382)
> E/AndroidRuntime(  698):        at com.android.camera.Camera
> $VideoCapture.startRecording(Camera.java:459)
> E/AndroidRuntime(  698):        at com.android.camera.Camera
> $VideoCapture.onSnap(Camera.java:330)
> E/AndroidRuntime(  698):        at com.android.camera.Camera$4.onClick
> (Camera.java:1199)
> E/AndroidRuntime(  698):        at android.view.View.performClick
> (View.java:2109)
> E/AndroidRuntime(  698):        at android.view.View.onTouchEvent
> (View.java:3523)
> E/AndroidRuntime(  698):        at android.view.View.dispatchTouchEvent
> (View.java:3178)
> E/AndroidRuntime(  698):        at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857)
> E/AndroidRuntime(  698):        at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857)
> E/AndroidRuntime(  698):        at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857)
> E/AndroidRuntime(  698):        at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857)
> E/AndroidRuntime(  698):        at
> android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:857)
> E/AndroidRuntime(  698):        at
> com.android.internal.policy.impl.PhoneWindow
> $DecorView.superDispatchTouchEvent(PhoneWindow.java:1564)
> E/AndroidRuntime(  698):        at
> com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
> (PhoneWindow.java:1088)
> E/AndroidRuntime(  698):        at
> android.app.Activity.dispatchTouchEvent(Activity.java:1873)
> E/AndroidRuntime(  698):        at
> com.android.internal.policy.impl.PhoneWindow
> $DecorView.dispatchTouchEvent(PhoneWindow.java:1548)
> E/AndroidRuntime(  698):        at android.view.ViewRoot.handleMessage
> (ViewRoot.java:1140)
> E/AndroidRuntime(  698):        at android.os.Handler.dispatchMessage
> (Handler.java:88)
> E/AndroidRuntime(  698):        at android.os.Looper.loop(Looper.java:
> 123)
> E/AndroidRuntime(  698):        at android.app.ActivityThread.main
> (ActivityThread.java:3742)
> E/AndroidRuntime(  698):        at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime(  698):        at java.lang.reflect.Method.invoke
> (Method.java:515)
> E/AndroidRuntime(  698):        at com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:739)
> E/AndroidRuntime(  698):        at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
> E/AndroidRuntime(  698):        at dalvik.system.NativeStart.main
> (Native Method)
> I/Process (  557): Sending signal. PID: 698 SIG: 3
> I/dalvikvm(  698): threadid=7: reacting to signal 3
>
> log indicate dalvikvm crash at android.media.MediaRecorder.start,the
> class comes from opencore
>
> who knows why?
>
> how can i display opencore's log?logcat does't display relative
> information about opencore.
>
> thanks~
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to