3
如何從命令行使用Stagefright?可能嗎?如何從命令行使用Stagefright?
如何從命令行使用Stagefright?可能嗎?如何從命令行使用Stagefright?
不幸的是,Stagefright是一個本地庫,沒有命令行測試應用程序。仍然,在android framewrork中的MediaPlayer很容易使用,並在封面下使用Stagefright。
是的,如果您已經爲設備建立了根並可以訪問命令行,那麼可以通過命令行使用stagefright。這裏是我的android主板的輸出:
[email protected]:/ # 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)