Open muenraisi opened 10 months ago
scrcpy rounds the size to a multiple of 8, because many encoders do not support a size which is not multiple of 8.
Got it. Many thanks for you help. @rom1v
You could try to disable this rounding and see if it works for you: https://github.com/Genymobile/scrcpy/blob/1ee46970e373ea3c34c3d9b632fef34982d7a52b/server/src/main/java/com/genymobile/scrcpy/ScreenInfo.java#L110-L135
Thanks, this is exact what I am looking for. @rom1v
Environment
Describe the bug
The emulator resolution is 960X540, which is verified by scrcpy and adb cmd.
or
However, when I use scrcpy, the screen resolution is 960X536. The display resolution height (536) is a little lower than origin height (540), as shown by the scrcpy cmd.
When I set the emulator device resolution to any other value e.g.1920X1080, 1280X720, the texture resolution keeps the same.
Once I set the emulator device resolution to 960X540, the texture resolution is 960X536.