利用亚行外壳screenrecord Android 4.4系统的尝试录像 [英] Try to Video Record using adb shell screenrecord Android 4.4

查看:294
本文介绍了利用亚行外壳screenrecord Android 4.4系统的尝试录像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试从终端creare视频,但我不能成功。它提供了对终端的错误是这样的。

 亚行外壳screenrecord /sdcard/screenshotyyyy.mp4
    错误:无法创建连接codeR输入表面(ERR = -38)
    警告:在720x1280在失败分辨率320x480,重试
    错误:无法创建连接codeR输入表面(ERR = -38)
 

解决方案

在screenrecord功能不会在AOSP模拟器的工作,因为软件AVC EN codeR不支持必要的功能。正如这个bug 所指出的,screenrecord二进制会从未来的仿真器中删除分布以避免混淆。

我不希望在不久的将来要添加的支持,因为这需要在codeC一堆的工作。

I am try to creare video from terminal but i can't success. 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)

解决方案

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.

这篇关于利用亚行外壳screenrecord Android 4.4系统的尝试录像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆