Android command line play MP3 music

Source: Internet
Author: User

/*************************************************************************** * Android command line play MP3 music * Note: * Sometimes we will encounter touch not use, and no mouse, but we want to test the sound card on Android, so we will think of the ADB or debug terminal using the command line to play the sound. * 2016-5-26 Shenzhen Nanshan Ping Shan village Zengjianfeng ********************************************************* *****************/First, reference article:1. How to play one audio fileinchAndroidusingADB command?http://Stackoverflow.com/questions/30437599/how-to-play-one-audio-file-in-android-using-adb-command    2. How can I play a mp3 file via adb commnad with Google Play musc on Android KitKat4.4.4?http://stackoverflow.com/questions/25083848/ How-can-i-play-a-mp3-file-via-adb-commnad-with-google-play-musc-on-android-kitkaSecond, stagefright help: [email protected]:/sdcard/music # Stagefright-h usage:stagefright-h (ELP)-A (Udio)-N repetitions-L (IST) components-M Max-number-of-frames-to-decodeinchEach 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 froma surface-T Allocate buffers froma surface texture-d (UMP) filename (Raw stream data to a file)-D (UMP) filename (decoded PCM data to a file) [email protected]:/sdcard/Music # Three, stagefright example: [email protected]:/sdcard/music # stagefright-a-O Ferry.mp3

Android command line play MP3 music

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.