Real-time manipulations on mobile
There are many manipulations that can be done on mobile using scrcpy. Some of them are listed below with an example. Type the following commands in the command prompt.
Connect multiple devices
This tool allows users to connect multiple devices simultaneously. You just need to follow these simple steps to make it work. First, turn USB debugging on for all the devices and connect them to the PC. Then, list all the devices which are recognized by adb by running the following command.
adb devices
Now, for each device listed in the output, copy its serial number and run the following command. Replace SERIAL_NUM with the serial number of the device.
scrcpy --serial SERIAL_NUM
It will display all the devices on the screen.
Reduce size
You can also mirror the device’s screen at a lower resolution to increase performance.
scrcpy --max-size 720
It preserves the aspect ratio of the screen.
Limit frame rate
You can also change the frame rate of the captured screen.
scrcpy --max-fps 10
Crop screen
Sometimes, you only need to display a part of the screen, so, you can so that with this feature.
scrcpy --crop 1224:1440:0:0
Record screen:
You can also record the screen while mirroring.
scrcpy --record myrecording.mp4
Full-screen:
You can start the app directly in full-screen mode.
scrcpy --fullscreen
Show touches
Sometimes, you need to show the physical touches. This feature will help you in that case.
scrcpy --show-touches
Stay Awake
Prevent the device from sleeping after some delay.
scrcpy --stay-awake
Mirror Android Screen to PC using scrcpy
scrcpy is a free and open-source Android screen mirroring application. It is a very lightweight application that provides display and control of Android devices connected over USB or TCP. It doesn’t require any root access. In this article, we are going to see how can we mirror the android device’s screen using it.
Contact Us