linux下播放mp3

來源:互聯網
上載者:User

主站http://www.mpg123.de/mpg123/mpg123-0.59r.tar.gz
下載這個最新的版本
我下回來放在這裡
#cd /usr/local/src
#tar -zxvf mpg123-0.59r.tar.gz
#cd mpg123-0.59r
#make
You must specify the system which you want to compile for:

make linux-help Linux, more help
make freebsd-help FreeBSD more help
make solaris Solaris 2.x (tested: 2.5 and 2.5.1) using SparcWorks cc
make solaris-gcc Solaris 2.x using GNU cc (somewhat slower)
make solaris-gcc-esd Solaris 2.x using gnu cc and Esound as audio output
make solaris-x86-gcc-oss Solaris with (commercial) OSS
make solaris-gcc-nas Solaris with gcc and NAS
make sunos SunOS 4.x (tested: 4.1.4)
make hpux HP/UX 9/10, /7xx
make hpux-gcc HP/UX 9/10, /7xx using GCC cc
make hpux-alib HP/UX with ALIB audio
make sgi SGI running IRIX
make sgi-gcc SGI running IRIX using GCC cc
make dec DEC Unix (tested: 3.2 and 4.0), OSF/1
make ultrix DEC Ultrix (tested: 4.4)
make aix-gcc IBM AIX using gcc (tested: 4.2)
make aix-xlc IBM AIX using xlc (tested: 4.3)
make aix-tk3play IBM AIX
make os2 IBM OS/2
make netbsd NetBSD
make bsdos BSDI BSD/OS
make bsdos4 BSDI BSD/OS 4.0
make bsdos-nas BSDI BSD/OS with NAS support
make mint MiNT on Atari
make generic try this one if your system isn''t listed above

這是它支援的平台
#make linux-help
There are several Linux flavours. Choose one:

make linux Linux (i386, Pentium or unlisted platform)
make linux-i486 Linux (optimized for i486 ONLY)
make linux-3dnow Linux, output 3DNow!(TM) optimized code
(ie with ''as'' from binutils-2.9.1.0.19a or later)
make linux-alpha make with minor changes for ALPHA-Linux
make linux-ppc LinuxPPC or MkLinux for the PowerPC
make linux-m68k Linux/m68k (Amiga, Atari) using OSS
make linux-nas Linux, output to Network Audio System
make linux-sparc Linux/Sparc
make linux-sajber Linux, build binary for Sajber Jukebox frontend
make linux-alsa Linux with ALSA sound driver
make linux-mips-alsa Linux/MIPS with ALSA sound driver

make linux-esd Linux, output to EsounD
make linux-alpha-esd Linux/Alpha, output to EsounD
make linux-ppc-esd Linux/PPC, output to EsounD

這是支援的linux平台
於是我選
#make linux
開始編譯,完了安裝
#make install
好了,聽歌
#/usr/local/bin/mpg123 /usr/local/mp3/xxx.mp3 2>/dev/null &
列表聽歌,亂序播放
#/usr/local/bin/mpg123 -@ 1.lst -Z 2>/dev/null &
感覺還不錯

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.