利用亚行屏幕记录工具,我永远不能捕捉到的android屏幕 [英] I can't capture android screen using adb screen record tool
本文介绍了利用亚行屏幕记录工具,我永远不能捕捉到的android屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个关系4与Android奇巧。
I have a nexus 4 with android KitKat.
我用下面的命令试过屏幕录像:
I tried screen recording using the following commands:
adb shell screenrecord --verbose /sdcard/demo.mp4
adb shell screenrecord --bit-rate 8000000 --time-limit 30 /sdcard/kitkat.mp4
这两次,的命令返回此消息:
Both times, the commands returned this message:
Main display is 768x1280 @60.00fps (orientation=0)
Configuring recorder for 768x1280 video at 4.00Mbps
ERROR: unable to create video/avc codec instance
在调试控制台我在AndroidStudio开放,以下日志消息被显示:
In the debug console I had open in AndroidStudio, the following log messages were shown:
02-02 18:16:29.058 176-4045/? E/OMX-VENC-720p﹕ Is component secure 0
02-02 18:16:29.058 176-4045/? E/OMX-VENC-720p﹕ ERROR: Omx_venc::Comp Init Returning failure
02-02 18:16:29.058 176-4045/? E/OMX-VENC-720p﹕ ERROR: venc_open failed
02-02 18:16:29.058 176-4045/? E/OMX-VENC-720p﹕ Destroy C2D instance
02-02 18:16:29.058 11072-11086/? E/ACodec﹕ Unable to instantiate a decoder for type 'video/avc'.
02-02 18:16:29.058 11072-11085/? E/MediaCodec﹕ Codec reported an error. (omx error 0x80001003, internalError -2147483648)
有谁得到了关于如何解决这个任何想法? (我试过较小的分辨率,但没有成功)
Does anybody got any idea on how to solve this? (I tried smaller resolutions, but with no success)
推荐答案
具有后重新启动我的电话:
Rebooted my phone after having the :
ERROR: unable to create video/avc codec instance
然后它的工作...
Then it worked...
这篇关于利用亚行屏幕记录工具,我永远不能捕捉到的android屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文