android - 如何从命令行使用 Stagefright?

标签 android stagefright

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

最佳答案

是的,如果您的设备已 root 并且可以访问命令行,则可以从命令行使用 stagefright。这是我的 android 开发板的输出:

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)

关于android - 如何从命令行使用 Stagefright?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6900692/

相关文章:

android - 为什么我在使用 Android MediaPlayer 读取 H.264 编码的 rtsp 流时收到 "Unsupported format"错误?

java - TextView 不会随着 OnItemSelectedListener 而改变

android - 如何在 Android native 代码中导入 media/stagefright/* 类

android - 创建穿戴应用程序 XML : AAPT: error: attribute android:boxedEdges not found 时面临问题

android - Android 中用于 EditText 的 InputFilter 的正则表达式帮助

android - 如何在android源代码中调用我的自定义解码器

Android libstagefright_h264 ff_get_buffer is not declared in this scope 错误

适用于 H264 流的 Android 硬件加速视频解码器

通过服务器请求防止 Android 盗版

同一包中两个 Activity 之间的Android链接