Try to Video Record using adb shell screenrecord Android 4.4

不想你离开。 提交于 2019-11-30 23:01:32

问题


I am try to create a video from terminal but I can't succeed. It gives error on terminal like this.

adb shell screenrecord  /sdcard/screenshotyyyy.mp4
ERROR: unable to create encoder input surface (err=-38)
WARNING: failed at 320x480, retrying at 720x1280
ERROR: unable to create encoder input surface (err=-38)

回答1:


The screenrecord feature doesn't work in the AOSP emulator, because the software AVC encoder doesn't support the necessary features. As noted in this bug, the screenrecord binary will be removed from future emulator distributions to avoid confusion.

I don't expect support to be added in the near future, as this requires a bunch of work in the codec.



来源:https://stackoverflow.com/questions/19724058/try-to-video-record-using-adb-shell-screenrecord-android-4-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!