ADB screenrecord command not found

前端 未结 4 1132
栀梦
栀梦 2021-02-15 08:16

I am unable to run adb shell screenrecord /sdcard/my.mp4

Device specification that i am trying to run this command:

  • Honor 5C
  • Android
4条回答
  •  心在旅途
    2021-02-15 08:36

    Is there any other way to capture screen except screencap?

    In one word: scrcpy

    From Wikipedia:

    scrcpy is a free and open-source screen mirroring application that allows control of an Android device from a Windows, macOS, or Linux desktop computer. The software is developed by Genymobile, which also developed Genymotion, an Android emulator.

    On their Github repository you will find instructions to install it on several operating systems (including Windows, Linux, MacOS) and to run it, with various options to set resolution, bitrate, screen orientation, etc.

    Unless you explicitly disable this feature, it also lets you control your device from the PC.

    Using the --record option you can save the screen capture on a video, and using the --crop option you can even capture or record only a specific part of the screen.

    After a long search, this is the tool I liked the most and that I am using, since there is no screenrecord in my phone.

提交回复
热议问题