3

コマンド ラインから Stagefright を使用するにはどうすればよいですか? 出来ますか?

4

2 に答える 2

3

はい、デバイスを 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)
于 2013-01-25T18:49:02.463 に答える
1

残念ながら、Stagefright はネイティブ ライブラリであり、コマンド ライン テスト アプリはありません。それでも、 Android フレームワークのMediaPlayerは使いやすく、裏で Stagefright を使用しています。

于 2012-01-03T19:06:41.783 に答える