I'm trying to record video with camera in android, but any output format i put produces a green and blocky video (though with normal sound)..
So here are the parameters i set (i tried h264 and mpeg_4_sp too)
mediaRecorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER);
mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
The native camera capture app does save the video ok (and it has h263 in configurations set)
Any ideas why it may occur in my app? Is there any other special settings to put here?
ps: my android version i use for test is 2.2.1 with BiffMod v2.1
EDIT
this is how it looks on both Android and PC media players: http://i52.tinypic.com/2rcbwau.jpg