Reputation: 3101
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?
Upvotes: 3
Views: 1304
Reputation: 15525
I think you can achieve it by using
mVideoRecorder.setVideoSize(640, 480);
For more detail refer the following likns
Thanks.
Upvotes: 1