title: Android mediarecorder only recording terrible quality video
body: <p>So I have the following code to do my recording and the quality is absolutely terrible. I think I must have a setting wrong but I have tried it both ways. The "CamcorderProfile" way and then "Manual" way, you can see the camcorder code is commented out. Both give the exact same results. </p>
  
  <pre><code>    Camera _camera = Camera.Open (1);
      _camera.Unlock ();
  
      recorder = new MediaRecorder ();
  
      recorder.SetCamera (_camera);
  
      recorder.SetAudioSource (AudioSource.Mic);    
      recorder.SetVideoSource (VideoSource.Camera); 
  
      recorder.SetOutputFormat (OutputFormat.Default);
  
      recorder.SetAudioEncoder (AudioEncoder.Default);
      recorder.SetVideoEncoder (VideoEncoder.Default);
  
      //CamcorderProfile p = CamcorderProfile.Get(0, CamcorderQuality.High);
      //recorder.SetProfile(p);
  
      recorder.SetOutputFile (path);       
  
      recorder.SetPreviewDisplay(video.Holder.Surface);
  
      recorder.Prepare ();
      recorder.Start ();
  </code></pre>
  
  <p>And this works just fine, but here is the issue. <a href="http://i.imgur.com/k83TclJ.jpg" rel="nofollow">This</a> is a picture of the preview window when I am recording, and <a href="http://i.imgur.com/qXnl4wX.png" rel="nofollow">this</a> is picture of the video when I play it back. You cant actually tell because the screenshot is so terrible, but none of the colors are right either (it has almost no color) I think there must be some sort of issue with the color channels. For example here is another comparison with the genymotion "dummy camera" . Here is the <a href="http://i.imgur.com/FSnQeXU.png" rel="nofollow">correct</a> version. And here is the <a href="http://i.imgur.com/EMa3teE.png" rel="nofollow">weird</a> playback version. </p>