Capturing Screenshot/Videos using scrcpy
Last updated
Last updated
Download scrcpy from:
Windows:
For Linux: $ sudo apt-get install scrcpy
For macOS: brew install scrcpy
(Available in Homebrew)
---------
Run using Wireless Connection
Open CMD/Terminal on scrcpy folder path
Connect your android device
Run adb devices
to check the device is connected
Now run the following command: adb tcpip 5555
(The port 5555 is used here. You can use any port number you want)
After the above command is executed, run adb connect IP_ADDR:5555
(Replace IP_ADDR with the IP Address of your device.)
Once done, disconnect the device and run scrcpy. It will start displaying your device’s screen wirelessly.
Run using USB Connection
Connect your android device and simply click on the scrcpy.exe file present in the folder downloaded
Once the file is opened, it will start displaying the device’s screen.
Get Display ID
JioGlass: Get DisplayId by running the following command
adb shell dumpsys display | findstr "HDMI"
on Windows
adb shell dumpsys display | grep "HDMI"
on Linux
JioPrism (Holoboard): Not required.
JioDive: Not required
Recording videos using scrcpy
JioPrism (Holoboard): To record the video, simply run the command scrcpy --record myrecording.mp4
in scrcpy terminal opened already
JioDive: To record the video, simply run the command scrcpy --record myrecording.mp4
in scrcpy terminal opened already
JioGlass: To record the video, simply run the command scrcpy --display <DisplayId> --record myrecording.mp4
in scrcpy terminal opened already
Note: Currently, there is no option to stop the recording in scrcpy but the workaround for the same can be found here:
Scrcpy can do a lot more other things. Check other features of scrcpy, visit .