首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何从命令行使用Stagefright?

如何从命令行使用Stagefright?
EN

Stack Overflow用户
提问于 2011-08-01 23:25:29
回答 2查看 3.4K关注 0票数 3

如何从命令行使用Stagefright?有可能吗?

EN

回答 2

Stack Overflow用户

发布于 2013-01-26 02:49:02

是的,如果你已经在你的设备上建立了根并且可以访问命令行,那么就可以从命令行使用stagefright。以下是我的android主板的输出:

代码语言:javascript
复制
root@android:/ # stagefright -h                                                
usage: stagefright
       -h(elp)
       -a(udio)
       -n repetitions
       -l(ist) components
       -m max-number-of-frames-to-decode in each pass
       -b bug to reproduce
       -p(rofiles) dump decoder profiles supported
       -t(humbnail) extract video thumbnail or album art
       -s(oftware) prefer software codec
       -r(hardware) force to use hardware codec
       -o playback audio
       -w(rite) filename (write to .mp4 file)
       -k seek test
       -x display a histogram of decoding times/fps (video only)
       -S allocate buffers from a surface
       -T allocate buffers from a surface texture
       -d(ump) filename (raw stream data to a file)
       -D(ump) filename (decoded PCM data to a file)
票数 3
EN

Stack Overflow用户

发布于 2012-01-04 03:06:42

不幸的是,Stagefright是一个本地库,没有命令行测试应用程序。尽管如此,android framewrork中的MediaPlayer仍然很容易使用,并在幕后使用了Stagefright。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6900692

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档