Skip to content

Predicate the full screen 1080p and 4k resolution? #1939

@Mike-the-one

Description

@Mike-the-one

So how do I tell the best supported full screen 4k and 1080p resolution? I know I can use 1920x1080 and 3840 x 2160, but nowdays, most phones are wider, I want to go full width.
One theory I have is, query the display resolution, so I can get the aspect ration, then do the math to find the corresponding 1080p resolution and 4k resolution.

for example, for pixel 9 pro, the display is 2856x1280, after the math, it is 2410x1080
for pixel 8 pro, the display is 2992 × 1344, after the calculation it is 2404x1080

they seem to work for both streaming and recording.
however if I want to record to 4k, double the width and height do not work, I have to use standard 16x9 4k.
So how to record in full screen 4k?

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions