LostXine / naive-scrcpy-client

A naive client of Scrcpy in Python.
MIT License
74 stars 23 forks source link

Image Quality degrades after few minutes #2

Open deepanrajm opened 3 years ago

deepanrajm commented 3 years ago

First of all. Excellent work the code works like a charm.

But after few mins of running, the image quality is being degraded. The resolution of the device is 1920x720.

but when i connected to a different device (resolution 1440x720) everything seems to working fine and image quality is perfect.

Do i need to change something or am i missing any.

LostXine commented 3 years ago

Have you ever experienced a similar issue when using the original client? If not, info like the output of the console, version of FFmpeg, and what OS you run might help. As far as I know, some devices may decrease the resolution after some idle time to save power. So please share more info, and thank you for letting me know.

deepanrajm commented 3 years ago

In the Native Scrcpy there is no quality degrade, even recorder video from scrcpy has not quality degrade. OS - Windows 10 FFmpeg version - 3.4 (built with gcc 7.2.0 (GCC))

After sometimes the quality degrades even the device is not idle and changes only if a fresh screen comes (like entire screen change) else the quality seems to be low.

Additional info - Tried with the latest version of FFmpeg as well still the result is same(ffmpeg version git-2020-08-06-2c35797 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 10.2.1 (GCC) 20200805)

LostXine commented 3 years ago

Thank you for the report, which looks very interesting. I'll try to figure it out.