Android MediaRecorder recording video and saving as static

view story

http://stackoverflow.com – The audio saves fine but the video comes across as static in purple and green streaks and there does not appear to be an image behind it. The app turns on and opens the camera then when the video button is pressed it switches to video mode and begins recording when stop is pressed the video is stopped. Why doesnt the video come across when the file saves. public void VideoSwap(View view) throws IOException { Toast.makeText(this, "Recording", Toast.LENGTH_SHORT).show(); recorder.setCamera(camera); camera.unlock(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); r (HowTos)