同步操作将从 Barry/QtScrcpy 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
QtScrcpy can connect to Android devices via USB (or via TCP/IP) for display and control. No root privileges are required.
A single application can support up to 16 Android devices to connect at the same time.
Supports three major desktop platforms, GNU/Linux, Windows and MacOS.
You can write your own script to map the PC keyboard keys to the touch and click of the mobile phone according to your needs. Here are the rules.
By default, it has its own mapping script for key and mouse mapping of "Game for peace" mobile games. When enabled, you can use key and mouse to play "Game for peace" mobile games like PC games. You can also write mapping files of other games according to writing rules. The default key mapping is as follows:
Here is a video demonstration of playing "Game for peace"
The operation method of custom key mapping is as follows:
QtScrcpy is based on Genymobile's scrcpy project and is very grateful to him.
The difference between QtScrcpy and the original scrcpy is as follows:
keys | scrcpy | QtScrcpy |
---|---|---|
ui | sdl | qt |
video decode | ffmpeg | ffmpeg |
video render | sdl | opengl |
base tool | c++ | Qt |
language | C | C++ |
style | sync | asyn |
build | meson+gradle | Qt Creator |
If you are interested in it and want to learn how it works and feel that you can't get started, you can choose to purchase my recorded video lessons. It details the development architecture and development process of the entire software, and takes you to develop QtScrcpy from scratch.:
course introduction:https://blog.csdn.net/rankun1/article/details/87970523
Or you can join my QtScrcpy qq group and exchange ideas with like-minded friends.:
QQ Group number:901736468
The Android part requires at least API 21 (Android 5.0).
Make sure you enabled adb debugging on your device(s).
For Windows, for simplicity, prebuilt archives with all the dependencies (including adb) are available:
or you can build it by yourself
For Mac OS, for simplicity, prebuilt archives with all the dependencies (including adb) are available:
or you can build it by yourself
you can build it by yourself(just ubuntu test)
Connect to your Android device on your computer, then run the program and click the button below to connect to the Android device.
Startup configuration: function parameter settings before starting the service
You can set the bit rate, resolution, recording format, and video save path of the local recorded video.
Refresh device list: Refresh the currently connected device
Start the service: connect to the Android device
Stop service: disconnect from Android device
Stop all services: disconnect all connected Android devices
Get device ip: Get the IP address of the Android device and update it to the "Wireless" area for easy wireless connection.
Start adbd: Start the adbd service of the Android device, you must start it before the wireless connection.
Wireless connection: Connect to Android devices wirelessly
Wireless disconnect: Disconnect wirelessly connected Android devices
adb command line: convenient to execute custom adb commands (currently does not support blocking commands, such as shell)
There are several reasons for this, and the proportions are arranged from large to small:
Try to provide all the dependencies and make it easy to compile.
Since it is based on scrcpy, respect its Licence
Copyright (C) 2018 Genymobile
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
An ordinary programmer, working mainly in C++ for desktop client development, graduated from Shandong for more than a year of steel simulation education software, and later moved to Shanghai to work in security, online education related fields, familiar with audio and video. I have an understanding of audio and video fields such as voice calls, live education, video conferencing and other related solutions. At the same time have android, linux server and other development experience.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。