Relative Content

Tag Archive for androidandroid-camera2

How to capture video in different resolutions from camera2 using surface?

There are three questions to how to output a camera video stream to a specified surface, the first scenario is that it doesn’t match the original aspect ratio but the resolution is in the output list, the second scenario is that it matches the original aspect ratio but the resolution isn’t in the output resolution list, and the third scenario is that it neither matches the aspect ratio nor is it in the output resolution list anymore.