-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
what is the maximum bitrate? #558
Comments
The bitrate is just forwarded to the codec:
How it is used is encoder-dependant. In practice, beyond 12 or 16, it does not change anything. |
how can I know my encoder dependence? |
I want to know this too |
so how can I check the encoder for this scrcpy and upgrade it to display same bitrate as my mobile phone screen? |
downloaded and updated codec but still same no lag but bitrate drops so much |
The screen surface is not encoded to render on the device, so you can't have the same quality without any loss. The raw content for a 1920×1080 video at 60 fps would require 1920×1080×24×60 bits per second, which is 3Gbps. So the content is encoded in H.264 with a live hardware encoder. Since it's in live, the quality cannot be as good as possible for a given bitrate. The bitrate is passed as-is to MediaCodec, and the way it impacts the encoding is encoder-dependant (and the max value too). |
Is the quality so bad? Could you post a recording of several seconds?
|
what is the maximum bitrate for scrcpy?
8 Mbps? or I can set better?
The text was updated successfully, but these errors were encountered: