Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CameraX update (part3) using setTargetResolution with normalized values on VideoCapture #643

Draft
wants to merge 1 commit into
base: try/camerax-update-1.0.0-rc-02
Choose a base branch
from

Conversation

mzorz
Copy link
Contributor

@mzorz mzorz commented Feb 22, 2021

This PR explores using a combination of:

  • target aspect ratio for Preview & ImageCapture use cases
  • target resolution for the VideoCapture use case instead
  • passing a normalized target resolution to it, which is the same normalized resolution being used to generate the resulting stories video slide in mp4composer

In general, it seemed to get us better results on the tested handsets (see #638), but leaving this exploration as an experiment only for now

@peril-automattic
Copy link

You can test the changes on this Pull Request by downloading the APK here.

@mzorz mzorz added the CameraX applicable only to CameraX implementation label Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CameraX applicable only to CameraX implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant