명령 줄에서 Stagefright를 어떻게 사용합니까? 가능한가?명령 줄에서 Stagefright를 어떻게 사용합니까?
3
A
답변
1
불행히도 Stagefright는 기본 라이브러리이며 명령 줄 테스트 응용 프로그램이 없습니다. 그래도 안드로이드 framewrork의 MediaPlayer은 사용하기 쉽고 Stagefright를 덮개 아래에 사용합니다.
3
예, 장치를 루팅하고 명령 줄에 액세스 할 수있는 경우 명령 줄에서 stagefright를 사용할 수 있습니다. 내 안드로이드 보드 출력은 다음과 같습니다.
[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)