Perfect Pixel (alt+g) not working properly.
DienoX opened this issue · comments
Environment
- OS: [e.g. Debian, Windows, macOS...] Windows
- scrcpy version: [e.g. 1.12.1] newest
- installation method: [e.g. manual build, apt, snap, brew, Windows release...] Windows release
- device model: waydroid
- Android version: [e.g. 10] 11
Describe the bug
Pixel perfect It's not working properly.
After using alt+g, the height is 4 pixels too low.
I use waydroid and on the waydroid screen via rdp the quality seems to be much better.
Below are my measurements from GIMP.
After using alt+g, the height is 4 pixels too low.
This is not alt+g, it's the window size of the device which is not a multiple of 8, so scrcpy rounds it down to the next multiple of 8 (it is a requirement for many encoders). Check the size reported by scrcpy, probably:
INFO: Texture: 960x536
I use waydroid and on the waydroid screen via rdp the quality seems to be much better.
You can adapt video quality by changing the codec, encoder and bitrate. See https://github.com/Genymobile/scrcpy/blob/master/doc/video.md
You're right. Everything was done wrong by me. I was unaware of this behavior.
Now I set the resolution to 1280x720 and the image looks very similar to it in waydroid. There is no need to change other parameters.
Can I close this report? And once again I apologize for my lack of knowledge.
You have nothing to apologize for. 😉