viarotel-org / escrcpy

📱 Graphical Scrcpy to display and control Android, devices powered by Electron.
https://github.com/viarotel-org/escrcpy
Apache License 2.0
2.61k stars 193 forks source link

v1.21.4 镜像画面不显示 #216

Closed policx closed 4 months ago

policx commented 4 months ago

应用版本:v1.21.4 运行环境:Windows 11 x64,MIUI14.0.5 触发操作:“开始镜像”连接镜像,电脑屏幕只有一个小方块,鼠标可以控制手机。 PixPin_2024-07-18_14-35-32

viarotel commented 4 months ago

偏好设置里面改什么东西了吗 点顶部的重置看能否解决

policx commented 3 months ago

重置了,不行

viarotel commented 3 months ago

请提供更多信息

  1. 是否尝试过其他手机
  2. 请尝试使用软件内置的终端命令中直接执行 scrcpy 查看是否正常
  3. 进入偏好设置中 点击 导出 提供配置信息
policx commented 3 months ago

1、没尝试其他手机 2、内置的终端命令中直接执行 scrcpy ,可以正常使用😀,点击开始镜像还是不行 3、导出配置👇

{
    "common": {
        "theme": "system",
        "language": "zh-CN",
        "savePath": "D:\\Leo\\onedrive\\桌面"
    },
    "scrcpy": {
        "global": {
            "--record-format": "mp4"
        },
        "deviceScope": "global",
        "pbtkucprfqe6rgbe": {
            "--no-video": true,
            "--show-touches": true,
            "--record-format": "mp4"
        }
    },
    "device": {
        "adb-pbtkucprfqe6rgbe-vomMPe__adb-tls-connect__tcp_": {
            "remark": "RedMi"
        },
        "pbtkucprfqe6rgbe": {
            "remark": "K30"
        }
    },
    "history": {
        "wireless": [
            {
                "host": "192.168.0.134",
                "port": 5555
            }
        ]
    },
    "terminal": {
        "dispatchedQueries": [
            "adb",
            "gnirehtet",
            "help",
            "scrcpy",
            "clear"
        ]
    },
    "appCloseCode": 0
}
viarotel commented 3 months ago

"pbtkucprfqe6rgbe": { "--no-video": true, "--show-touches": true, "--record-format": "mp4" }

"--no-video": true,把这个删掉,你似乎修改了单个设备下的配置,所以在全局作用域下重置是没用的,你需要切换到pbtkucprfqe6rgbe设备下关掉禁用视频流,或者直接在配置文件中删掉 --no-video

policx commented 3 months ago

关掉禁用视频流,完美运行!!!