LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 813|回复: 6

有谁用BMP成功播放APE了??

[复制链接]
发表于 2004-12-30 17:26:06 | 显示全部楼层 |阅读模式
说一下你的方法
把???
发表于 2005-1-2 12:33:37 | 显示全部楼层
http://www.monkeysaudio.com/cgi- ... play;num=1076871797


  1. Here's a Python script that, in combination with  xmms-meta-input (http://www.xmms.org/plugins.php?details=156) will let you play .ape files directly from xmms:

  2. #!/usr/bin/python

  3. import sys, os

  4. player = '/usr/local/bin/mac'

  5. def help():
  6.     print "Usage: %s [play|isOurFile] <filename>"
  7.     sys.exit(-1)

  8. try:
  9.     command, filename = tuple(sys.argv[1:])
  10. except ValueError:
  11.     help()

  12. if command == 'play':
  13.     os.system('%s "%s" - -d' % (player, filename))
  14. elif command == 'isOurFile':
  15.     if os.path.splitext(filename)[1] == '.ape':
  16.    sys.exit(0)

  17. sys.exit(-1)


  18. HOWTO:
  19. 1. Copy the mac binary to /usr/local/bin (or edit the script to match where you've put the binary)
  20. 2. Install xmms-meta-input
  21. 3. Save the above python script to /usr/lib/xmms/Input/Meta (or whereever xmms puts your Input plugins.  You can use xmms-config --input-plugin-dir to find out)  and chmod it to 755
  22. 4. Restart xmms
  23. 5.  Play an .ape file

  24. Enjoy
复制代码


xmms 的这个插件只要把头文件改成 bmp.h 就可以在 bmp 中用了

好像还可以用 libxmms-mac
好像还可以用 faad 还是 faac,也用上面的那个 xmms 插件


不过要找到那个 xmms 插件,需要仔细看最后一个帖子
发表于 2005-1-2 12:42:11 | 显示全部楼层
http://www.monkeysaudio.com/cgi- ... 047876982;start=135

另外一篇帖子里看到的
Dave78
Newbie
*



I love YaBB 1 Gold! (what the hell does this mean?)
My email is ddopson at mit edu.  it's also listed on my webpage/profile: http://ddopson.dyndns.org:8078/

Re: XMMS plugin
&#171; Reply #147 on: Dec 8th, 2004, 9:36pm &#187;         Quote Quote Modify Modify
I don't have time to deal with this stuff right now, but I'll post a quick update / project status blurb.  You can glean much of this information from the thread if track it backwards 10+ pages.

So Here's the deal:
I wrote and xmms-mac plugin way back when and got it working with MAC 3.97 on my x86 gentoo linux box.  The build is user-friendly when it works, but I made my plugin as a stand-alone since there wasn't a standard MAC on linux source base back then.  I tried to fix some issues, and for many ppl it builds, but for some, particularly PPC, hacking may be required.

SuperMMX did a full porting job of the MAC 3.99 source to linux (i think).  Then he wrote an xmms-plugin that requires his 3.99 libmac as a dependancy.  The two packages were available in one .tar.gz last time I checked.  I initially got it to work (once i figured out it was two separate packages and built them in the correct order), but then I had some issue with it crashing or something and I ripped it out and put my plugin back in. Some day I'll play with it again, but not yet.

SuperMMX and I emailed each other and concluded the obvious.  Both of us agree his plugin is probably the one that will become the official one, but that some simple user documentation, or at least an install guide needs to be created. However, neither of us has time to deal with this right now.  (Any eager volunteers are welcome to help out with organizing the code or organizing the packages or writing up instructions or whatever).  Right now, there are _two_ working xmms-mac plugins, but neither is completely user-friendly to find, download, build, and install.

So, solution:
I'm going to throw up a web page with this info on it and a link to download the plugins.  That way, at least there will be a place with this information, and I can even update it some day if I get adventurous.
My webspace:

http://ddopson.dyndns.org:8078/xmms-mac.html


If anyone wants to write their own (html pref) description of the situation (or their own plugin, heh Grin) or something, I'd be glad to add it to the page.  Just email me the file or something.  Or contact me on AIM.




你要是找找 http://supermmx.org 还会找到相关信息,虽然并没有提到 bmp
发表于 2005-1-2 13:21:35 | 显示全部楼层
http://rpm.pbone.net 找到了 libmac-3.99 和 libmac-devel 还有 xmms-in-mac-0.21
把插件复制到 bmp 的插件目录里,倒是也在插件列表里看到了,就是不知道会不会出问题


http://routes-linux.scooba.org/le_plugin_ape_pour_xmms.php
也不知道能不能用?
发表于 2005-1-2 19:14:27 | 显示全部楼层
我移植了一个 APE 插件到 BMP 里。

等公社恢复正常你可以到
http://www.magiclinux.org/people/jiangtao9999
里找。

总共需要两个:bmp-mac 插件和 mac 库。
发表于 2005-1-2 23:00:57 | 显示全部楼层
是的,江淘兄的插件俺一直用,很好的
没有碰到过什么问题,推荐!
发表于 2005-1-3 10:53:00 | 显示全部楼层
文件信息显示有问题…………
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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