Open GOGOsu opened 10 months ago
How did you take the screenshot on the right?
How is the resulting image if you capture with:
adb exec-out screencap -p > file.png
?
What if you record with:
adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4
?
Does it happen with all encoders?
And if you increase the bitrate (scrcpy -b20M
)?
(don't use "software" rendering)
Also related: #638
adb shell screencap /sdcard/test.png; adb pull /sdcard/test.png
adb exec-out screencap -p > file.png
produce a correct-looking file like the above command.Encoders returned by scrcpy --list-encoders
:
[server] INFO: List of video encoders:
--video-codec=h264 --video-encoder='c2.qti.avc.encoder'
--video-codec=h264 --video-encoder='OMX.qcom.video.encoder.avc'
--video-codec=h264 --video-encoder='c2.android.avc.encoder'
--video-codec=h264 --video-encoder='OMX.google.h264.encoder'
--video-codec=h265 --video-encoder='c2.qti.hevc.encoder'
--video-codec=h265 --video-encoder='OMX.qcom.video.encoder.hevc'
--video-codec=h265 --video-encoder='c2.qti.hevc.encoder.cq'
--video-codec=h265 --video-encoder='OMX.qcom.video.encoder.hevc.cq'
--video-codec=h265 --video-encoder='c2.android.hevc.encoder'
[server] INFO: List of audio encoders:
--audio-codec=opus --audio-encoder='c2.android.opus.encoder'
--audio-codec=aac --audio-encoder='c2.android.aac.encoder'
--audio-codec=aac --audio-encoder='OMX.google.aac.encoder'
All video encoder containing qti
or qcom
will produce abnormal color, but the video is smooth.
The remaining 3 encoder (c2.android.avc.encoder
, OMX.google.h264.encoder
, c2.android.hevc.encoder
) produce correct color, but with significant lag & jelly-like scrolling (even if -b20M / -b40M)
English is not my native language, sorry for any inconvenience.
The screenrecord looks too white, like in issue.
Ok, this is a capture issue on your device then.
You could check if you have some "color enhancement" applied in your device settings that might confuse the capture.
Thank you for your reply! I will try later and update the thread when I get some usable information.
Thank you for your reply! I will try later and update the thread when I get some usable information.
I have the same problem, have you solved it?
I have the same problem, have you solved it?
Sadly, no. I tried everything in my phone's color settings, but no luck.
Environment
Describe the bug As description. When I use scrcpy the screen is too white and lost details. I tried using with -m 800 or --render-driver=software or without them, but nothing helps.
Terminal outputs seems normal:
The following screenshot shows the difference between scrcpy and adb exec-out screencap:![image](https://github.com/Genymobile/scrcpy/assets/31916454/96802d4f-2ff1-4a7e-8126-04f56047ad10)