3

When I am using this code.For 8mp camera with SOME_VALUE=0 : video quality is higher then 2mp camera with SOME_VALUE=10

 Intent intent = new Intent(android.provider.MediaStore.ACTION_VIDEO_CAPTURE);
        intent.putExtra(android.provider.MediaStore.EXTRA_VIDEO_QUALITY, SOME_VALUE);
        startActivityForResult(intent, REQUEST_VIDEO_CAPTURED);

So how can I make some consistency in video quality(like set resolutions) for any device using code?

Vibhor Bhardwaj
  • 3,071
  • 5
  • 28
  • 49

1 Answers1

1

I think you can achieve it by using

mVideoRecorder.setVideoSize(640, 480);

For more detail refer the following likns

  1. Link 1
  2. Link 2
  3. Link 3
  4. Link 4

Thanks.

Community
  • 1
  • 1
Gunaseelan
  • 14,415
  • 11
  • 80
  • 128