Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
106.19k stars 10.29k forks source link

scrcpy video outputs lines of colors #5019

Closed istrueuser closed 4 days ago

istrueuser commented 4 weeks ago

Environment

Describe the bug Audio and controls works fine, but the video encoding might have gone wrong somewhere, yet I have tried both h264 and h265, they display almost the same screen. Literally nothing unusual in the console itself...

scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     --> (tcpip)  192.168.0.109:5555              device  RMX2020
C:\Users\trueuser\OneDrive\Desktop\scrcpy-win64-v2.4\scrcp... file pushed, 0 skipped. 52.1 MB/s (69007 bytes in 0.001s)
[server] INFO: Device: [realme] realme RMX2020 (Android 13)
INFO: Renderer: direct3d
INFO: Texture: 1600x720

image

rom1v commented 4 weeks ago

Probably an encoder issue on the device.

  1. Try with another encoder.
  2. Try with a lower resolution (scrcpy -m1024)
  3. Try to record (scrcpy --record=file.mp4) and play the file with some player (VLC), is the result ok?
  4. Try to record the screen using:

    adb screenrecord /sdcard/file.mp4
    adb pull /sdcard/file.mp4

    Is the result ok?

Refs #4399

Riztard commented 4 days ago

Probably an encoder issue on the device.

  1. Try with another encoder.

nice that fixed my display problem