QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1100|回复: 6

如何用xmms播放WMA(windows media audio)?

[复制链接]
发表于 2003-2-13 16:20:19 | 显示全部楼层 |阅读模式
我在xmms的官方网站上都找不到wma的插件啊,有哪位知道哪里有得下吗?
发表于 2003-2-13 18:35:10 | 显示全部楼层
建议用mplayer,功能强。
回复

使用道具 举报

发表于 2003-2-14 14:29:10 | 显示全部楼层
用 xmms 是不可以播放 wma 的啦。

WMA 是 萎软的专有格式。可以用 mplayer 来播放。
回复

使用道具 举报

发表于 2003-2-14 17:38:53 | 显示全部楼层
xmms有wma插件,叫avi-xmms,在xmms主页上搜索一下
不过,编译不通过...
回复

使用道具 举报

 楼主| 发表于 2003-2-14 18:38:45 | 显示全部楼层
是啊是啊,我也碰到这个情况啊,又不敢装RPM包——经常装不上!
回复

使用道具 举报

发表于 2003-2-15 10:25:11 | 显示全部楼层
2003年02月15日上午10时17分33秒[root@gugonghcs avi4xmms]# l README
============================================================================
                                  Avi4Xmms
============================================================================

The Avi4Xmms Input-Plugin uses the Avifile library to play avi, wma, wmv and
asf files. It supports audio-output through either avifile itself or
alternatively though XMMS. However, output through XMMS should only be used
(especially for videos) for means of converting (for example to mp3), since
it is pretty slow and makes the video hang all the time.

Requirements:

- XMMS linked with aviplay
  See the INSTALL file for more info on that. (Alternatively you can also
  link all the avifile plugins with "-laviplay -lstdc++" but this is much
  more complicated than just linking XMMS.)

- A recent avifile
  Version 0.6 at least. Dunno from which versions on it works, I have only
  tested it with versions newer than the 20011207 snapshot. If you want to
  use XMMS audio-out you have to use a version from at least February (maybe
  March) 2002. It's always a save bet to use a recent snapshot or cvs (also
  has much better handling for asf and streaming).
2003年02月15日上午10时17分39秒[root@gugonghcs avi4xmms]# l INSTALL
============================================================================
                           Getting Avi4Xmms to work
============================================================================

Ok, the basic problem with this is that avifile itself uses a plugin system.
So when you use avifile itself as a plugin avifile won't be able to load
it's pugins due to linking errors.
The solution for this is to link xmms with -laviplay and -lstdc++.
Just add "-laviplay -lstdc++" to xmms_LDADD in <xmms-source>/xmms/Makefile.am,
recompile and you are set.
After that do the normal ./configure && make && make install in avi4xmms.
回复

使用道具 举报

发表于 2003-2-15 10:30:16 | 显示全部楼层
24992 ?        Z      0:00 [rxvt <defunct>]
20680 pts/4    S      0:02 rpm -Uvh /usr/src/redhat/RPMS/i386/SDL-1.2.5-1.i386.rpm /usr/src/redhat/RPMS/i386/SDL-devel-1.2.5-1.i38
20827 pts/0    R      0:00 ps ax
2003年02月15日上午10时23分06秒[root@gugonghcs tmp]# cd avi-xmms-1.2.3/
2003年02月15日上午10时23分11秒[root@gugonghcs avi-xmms-1.2.3]# l README
AVI Player for XMMS plugin 1.0.1

TABLE OF CONTENTS
~~~~~~~~~~~~~~~~~

1. Install notes (Read this!)
2. Usage
3. Known bugs
4. Report a bug

1. Install notes
~~~~~~~~~~~~~~~~

This plugin uses the aviplay library version 0.53.5. Avifile is included
in the archive and will compile to a static library and then static linked
into the plugin. This means there will not be any other files installed
exept for the plugin itself. Please make sure you don't have avifile linked
to xmms as avi4xmms require that to function, if you do you will not be
able to play any avi files as there will be a conflict between avifile
versions.

Also, SDL library (www.libsdl.org) is required to play movies using avi-xmms.
If you plan to use software YUV decoding, you should have SDL 1.1.7 or better,
because software YUV decoders of SDL 1.1.6 (and previous versions also) are
broken and will cause XMMS to crash.

We have the big issue with this plugin: If SDL is compiled using Xfree 4.0
and NOT Xfree 4.0.1 it will not work in a correct way and crashes a lot.
Xfree 4.0 has a threading bug in libXv.a that SDL compiles statically and
XMMS is a threaded application and that's why this plugin won't work with
Xfree 4.0. Please upgrade Xfree to 4.0.1 Else you can compile SDL without
libXv.a but you won't get Hardware acceleration do (in SDL directory):
./configure --disable-video-x11-xv

Xfree 3.3.x do not have this problem. But is in general slower due to the
lack of Hardware acceleration. But still, you may have crash in "software YUV",
if you have SDL versions prior to 1.1.7.

Installing after this issue has been solved is pretty straightforward.

untar the package, cd into it and do:
./configure && make && make install
This should take care of the installation, restart xmms and you should
have avi-xmms in your Input list and you are ready to play AVI movies
using XMMS.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-2 01:31 , Processed in 0.194966 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表