请教大虾

请教大虾

请问我才装的LINPUS LINUX为什么放不了MP3 是不是还要什么插件阿,谢谢      
安装一个Beep media吧.      
个人推荐MPlayer!

顺手转个贴!
希望能帮你!

[原创]MPlayer v1.0pre6a 安装手记!

--------------------------------------------------------------------------------

[原创]MPlayer v1.0pre6a 安装手记!


1.声明:

安装环境为AS4 同样适用于FC3 至于老的版本redhat 检查GCC版本2.95.3(或者2.95.4)和3.2+(gcc怎么升级这里不说了 站里有) GUI 支持需要 gtk gtk-devel
声卡驱动当然也是必须的!

2.下载:

官方下载地址
MPlayer v1.0pre6a source(必须)
官方CODES-all(可选)
官方win32_CODES-all(可选)
字体font(必须,笔者选用ming字体)
皮肤Skin(必须,笔者选用Blue的皮肤)
(以上链接如有问题或下载其他皮肤字体 自行到官方主页下载)


3. 准备

tar vjxf all-20050216.tar.bz2
mv all-20050216 /usr/lib/codes
chmod 644 /usr/lib/codes/*
chown root.root /usr/lib/codes/*

unzip windows-all-20050115.zip
mv windows-all-20050115 /usr/lib/wincodes
chmod 644 /usr/lib/wincodes/*
chown root.root /usr/lib/wincodes/*


4.安装

tar vjxf MPlayer-1.0pre6a.tar.bz2

cd MPlayer-1.0pre6a

./configure \ #详细说明见./configure --help
--prefix=/usr/local/mplayer/ \ #安装路径
--enable-gui \ #如果你只在命令下用可以不要这个,相信是不会的
--enable-menu \ #定义的菜单键,当然你也可以用默认的
--enable-xmms \ #用xmms的插件,确定已经装了
--enable-freetype \ #方便以后调整字体(怎么调整这里不说 站里有)
--with-xmmsplugindir=/usr/lib/xmms/Input/lib/ \ #指定plugins目录
--with-xmmslibdir=/usr/lib/ \ #指定libxmms.so.1目录
--with-codecsdir=/usr/lib/codes/ \ #我们把下载的插件拷贝到这里
--with-win32libdir=/usr/lib/wincodes/ \ #指定win32代码目录


make

make install


5.调整

配置
cd MPlayer-1.0pre6a/etc
cp example.conf /usr/local/mplayer/etc/config (必须)
cp codecs.conf /usr/local/mplayer/etc/ (必须)
cp menu.conf /usr/local/mplayer/etc/ (可选,最好不要)

字体
tar vjxf gb2312-ming.tar.bz2
mv gb2312-ming /usr/local/mplayer/share/mplayer/font/
cd /usr/local/mplayer/share/mplayer/font/
ln -s gb2312-ming font

皮肤
tar vjxf Blue-1.4.tar.bz2
mv Blue /usr/local/mplayer/share/mplayer/Skin/
cd /usr/local/mplayer/share/mplayer/Skin/
ln -s Blue default

桌面图标
ln -s /usr/local/mplayer/bin/mplayer /usr/bin/
ln -s /usr/local/mplayer/bin/mplayer /usr/bin/gmplayer
cd /usr/local/mplayer/share/applications/
vi mplayer.desktop
修改为
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=MPlayer
GenericName=Multimedia Player
Comment=Multimedia Player
Comment[de]=Multimedia Player
Comment[es]=Reproductor multimedia
Comment[fr]=Lecteur multimedia
Comment[it]=Lettore multimediale
Icon=/usr/local/mplayer/share/pixmaps/mplayer-desktop.xpm (加了路径)
TryExec=gmplayer
Exec=gmplayer
Terminal=false (改了)
Categories=GNOME;KDE;GTK;Application;Multimedia;AudioVideo;Videolayer;

cp mplayer.desktop /root/Desktop/ (拷贝到桌面,笔者用的是gnome root, ctrl+r刷新桌面)

6.mozilla页面播放

这里下载系统对应的版本
笔者下载了
mplayerplug-in-2.80-13.2.el4.rf.i386.rpm
rpm -ivh --nodeps mplayerplug-in-2.80-13.2.el4.rf.i386.rpm


7.完成
参考说明
MPlayer-1.0pre6a/DOCS/zh/documentation.html
http://www.chinalinuxpub.com/read.htm?id=1306
http://www.chinalinuxpub.com/read.htm?id=1051
http://www.chinalinuxpub.com/read.htm?id=1343      
再把压在箱底的贴翻出来:

XINE!

XINE是专为Linux、FreeBSD等UNIX系统设计的媒体播放软件,支持包括MPEG-1、MPEG-2、VCD、DVD、SVCD、AVI和CD-audio等在内的媒体文件,堪称“全能”播放器。更难能可贵的是,它是完全免费的。XINE的功能很强大,连MS-Windows中的很多商业媒体播放软件都望尘莫及。我们可以到http://www.linuxeden.com/download/indexsoft.php?category=multimedia下载XINE的RPM软件发行包。在控制台(Console)界面中,使用“rpm -ivh xine-x.x.x-i386.rpm”(其中x.x.x代表下载的软件的版本号)即可安装,然后,只需在控制台中直接键入“xine”命令即可看到XINE的操作界面了。

 XINE支持命令行快速播放功能,可以直接在命令行状态下快速打开影像媒体文件,格式为:xine file://媒体文件所在路径。比如你在/root目录下有一个名叫linuxeden.avi的文件,那么用XINE播放它只要简单地键入“xine file://root/linuxeden.avi”即可。

  现在大多数电影都以光盘(VCD/DVD)的形式发行,那么如何用XINE打开光盘上的文件呢?键入“mount/dev/cdrom /mnt/cdrom”,光盘上的文件就被加载到了“/mnt/cdrom”目录中,再执行播放命令就可以了。mount的这个用法适用于VCD和DVD光盘


99999999999999999999999

软件简介:最新版 Xine 1.0 Beta12
现在xine能播放 DVD,VCD,SVCD,CD,AVI,WMV,RM,ASF,MOV,MP3,OGG,WMA等等。。。

喜欢自己编译的朋友到它的主页下载源代码吧。
xine的主页地址 http://xinehq.de/

如果不想自己编译那请到下面这个网站下载 RPM 包
http://cambuca.ldhs.cetuc.puc-rio.br/xine/
只用下载四个包

libxine包..(对应该各种CPU编译的)
libxine1-(version)-xxxxxx.i586.rpm for Pentium/Pentium MMX
libxine1-(version)-xxxxxx.i686.rpm for Pentium II/Pentium III/Pentium IV
libxine1-(version)-xxxxxx.k6.rpm for AMD K6
libxine1-(version)-xxxxxx.k7.rpm for AMD Athlon

xine-ui包
xine-ui-(version)-xxxxxx.i586.rpm for any CPU.

DVD支持包
libdvdcss-1.2.6-2.network.i386.rpm

如果要想你的Xine支持全部解码功能,请下载(如果你有安装Mplayer应该已经有这些文件了)
w32codec-0.52-1.i386.rpm

我们可以在它的主页下载gxine这个基于GTK2的界面。
gxine最新版是0.3.3
编译gxine一定要下载libxine的devel包。

如果要支持RM。一定要下载
realplay8或9

还有一个mozilla 插件.
Step by step guide to run xine
1. You need to download the xine engine (libxine). Get the libxine rpm which more closely matches yourCPU:
2. libxine1-(version)-xxxxxx.i586.rpm for Pentium/Pentium MMX
3. libxine1-(version)-xxxxxx.i686.rpm for Pentium II/III/IV
4. libxine1-(version)-xxxxxx.k6.rpm for AMD K6
5. libxine1-(version)-xxxxxx.k7.rpm for AMD Athlon/Duron

If you don't know your CPU just get the i586 package.
6. Download xine-ui:
xine-ui-(version)-xxxxxx.i586.rpm for any CPU.
7. Install the packages (you need to be root):
8. # rpm -U libxine1* xine-ui*
9. If you want full DVD support download and install libdvdcss:
10. libdvdcss-1.2.8-1.network.i386.rpm
By default, xine expects to find your DVD-ROM at /dev/dvd. Creating a symbolic link to your device is recommended (for example, /dev/hdc or /dev/scd0). The command below should work for most users:
# ln -s /dev/cdrom /dev/dvd

Make sure the DMA is enabled for your DVD-ROM, otherwise playback will be 'jumpy'.
# hdparm -d1 /dev/cdrom

11. If you want full Windows Media Video and Quicktime support download and install:
12. w32codec-0.52-1.i386.rpm
13. If you want full Real Media support download and install:
RealPlayer9-9.0.7.151-4.i386.rpm newest version
(alternative rpm for fedora core: RealPlayer9-9.0.7.151-6.fdr.0.i386.rpm), or
RealPlayer8-8.0.3.412-5.i386.rpm older version (if you have problems instaling RealPlayer9)
obs: Depending on your distro, you might need /usr/sbin/update-alternatives or libXm.so.2
14. Type 'xine' at your console window and enjoy...
Hint: consider reading the xine FAQ.
15. To try an experimental Netscape/Mozilla plugin using xine to play embedded videos, download and install:
xine-mozilla-plugin-(version)-xxxxxx.i586.rpm xine plugin for Netscape/Mozilla.
This plugin was not officialy released, it might hang/crash/freeze/burn. in case of trouble just uninstall.      
谢谢各位,可以了