[Optimus One, P500 Original Android Development] jhonatann_989:
video recording doesn't work

please help :s can't record video. i'm not a developer but i tried to make a logcat.

here are the lines:

V/videocamera( 818): startVideoRecording

D/CameraStorage( 818): External storage state=mounted

V/videocamera( 818): initializeRecorder

W/StagefrightRecorder( 110): Max file duration is not positive: 0 us. Disabling

duration limit.

W/StagefrightRecorder( 110): Target duration (0 us) too short to be respected

V/videocamera( 818): New video filename: /storage/sdcard0/DCIM/Camera/VID_20121

021_170806.mp4.tmp

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

D/MediaProvider( 415): object removed 2304

D/CameraHAL( 110): Setting KEY_PREVIEW_FPS_RANGE: (10,25)

D/CameraSource( 110): Camera does not support setVideoSize()

I/QualcommCameraHardware( 110): Parameter Rolloff is not supported for this sen

sor

D/CameraHAL( 110): Setting KEY_PREVIEW_FPS_RANGE: (10,25)

I/SoftMPEG4Encoder( 110): Construct SoftMPEG4Encoder

W/OMXCodec( 110): Error correction param query is not supported

W/AudioFlinger( 110): findSuitableHwDev_l() loading well know audio hw modules

W/AudioFlinger( 110): loadHwModule() module primary already loaded

W/AudioFlinger( 110): loadHwModule() module a2dp already loaded

E/AudioFlinger( 110): int android::load_audio_interface(char const*, audio_hw_d

evice_t**) couldn't load audio hw module audio.usb (No such file or directory)

I/AudioFlinger( 110): loadHwModule() error -2 loading module usb

E/AudioRecord( 110): Could not get audio input for record source 5

E/StagefrightRecorder( 110): audio source is not initialized

D/MPEG4Writer( 110): Stopping Video track

E/MPEG4Writer( 110): Stop() called but track is not started

E/MediaRecorder( 818): start failed: -2147483648

E/videocamera( 818): Could not start media recorder.

E/videocamera( 818): java.lang.RuntimeException: start failed.

E/videocamera( 818): at android.media.MediaRecorder.start(Native Method)

E/videocamera( 818): at com.android.camera.VideoCamera.startVideoRecording(Vi

deoCamera.java:1507)

E/videocamera( 818): at com.android.camera.VideoCamera.onShutterButtonClick(V

ideoCamera.java:619)

E/videocamera( 818): at com.android.camera.ShutterButton.performClick(Shutter

Button.java:108)

E/videocamera( 818): at android.view.View$PerformClick.run(View.java:16966)

E/videocamera( 818): at android.os.Handler.handleCallback(Handler.java:615)

E/videocamera( 818): at android.os.Handler.dispatchMessage(Handler.java:92)

E/videocamera( 818): at android.os.Looper.loop(Looper.java:137)

E/videocamera( 818): at android.app.ActivityThread.main(ActivityThread.java:4

930)

E/videocamera( 818): at java.lang.reflect.Method.invokeNative(Native Method)

E/videocamera( 818): at java.lang.reflect.Method.invoke(Method.java:511)

E/videocamera( 818): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle

r.run(ZygoteInit.java:791)

E/videocamera( 818): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja

va:558)

E/videocamera( 818): at dalvik.system.NativeStart.main(Native Method)

V/videocamera( 818): Releasing media recorder.

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

V/videocamera( 818): Empty video file deleted: /storage/sdcard0/DCIM/Camera/VID

_20121021_170806.mp4.tmp

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

D/dalvikvm( 818): GC_FOR_ALLOC freed 112K, 17% free 15194K/18119K, paused 105ms

, total 110ms

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

I/dalvikvm-heap( 818): Grow heap (frag case) to 25.943MB for 3145744-byte alloc

ation

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

D/dalvikvm( 818): GC_CONCURRENT freed 4287K, 31% free 17061K/24391K, paused 5ms

+31ms, total 124ms

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

V/StateManager( 818): no more state, finish activity

V/StateManager( 818): finishState com.android.gallery3d.app.PhotoPage@41156a60

W/WindowManager( 290): Failure taking screenshot for (240x360) to layer 21045

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

I/InputReader( 290): Reconfiguring input devices. changes=0x00000004

I/InputReader( 290): Device reconfigured: id=6, name='touch_mcs6000', surface s

ize is now 320x480, mode is 1

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

V/videocamera( 818): closeCamera

V/videocamera( 818): Closing effects

D/videocamera( 818): Effects are already closed. Nothing to do

W/CameraService( 110): lockIfMessageWanted(16): dropped unwanted message

I/QualcommCameraHardware( 110): deinitPreview E

I/QualcommCameraHardware( 110): deinitPreview X

D/QualcommCameraHardware( 110): release E

D/QualcommCameraHardware( 110): frame_thread X

E/mm-camera( 110): config_proc_CAMERA_STOP_SNAPSHOT: state is not correct ctrl-

>state = 7

D/QualcommCameraHardware( 110): release X

D/memalloc( 818): /dev/pmem: Unmapping buffer base:0x52970000 size:1351680 offs

et:122880

I/CameraService( 110): Destroying camera 0

D/CameraHAL( 110): camera_device_close

D/QualcommCameraHardware( 110): ~QualcommCameraHardware E

D/QualcommCameraHardware( 110): ~QualcommCameraHardware X

V/videocamera( 818): Releasing media recorder.

D/memalloc( 818): /dev/pmem: Unmapping buffer base:0x52098000 size:2150400 offs

et:921600