deadbeef

这个音乐播放器小巧而强大,而且有一个奇怪的名字:deadbeef.目前最新版为:DeaDBeeF 0.5.1
Archlinux中可以直接从源安装:

1
pacman -S deadbeef

之所以说它名字奇怪是因为它的名字是一个magic number,来自WIKIPEDIA的解释:

0xDEADBEEF (“dead beef”) is frequently used to indicate a software crash or deadlock in embedded systems. It is used by IBM RS/6000 systems, Mac OS on 32-bit PowerPC processors and the Commodore Amiga as a magic debug value. On Sun Microsystems’ Solaris, it marks freed kernel memory. On OpenVMS running on Alpha processors, DEAD_BEEF can be seen by pressing CTRL-T. The DEC Alpha SRM console has a background process that traps memory errors, identified by PS as “BeefEater waiting on 0xdeadbeef”.[9]

想了解更多magic number,请访问:http://en.wikipedia.org/wiki/Hexspeak

官方的介绍:
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, BSD, OpenSolaris and probably other UNIX-like systems.

插件安装:
从deadbeef在sf的插件页面下载 .zip文件,解压并COPY所有 .so 文件到 ~/.local/lib/deadbeef/
这里安装ddb_lyrics试下。
trollixx / DeaDBeeF Lyrics
Lyrics plugin for DeaDBeeF music player.

deadbeef官方下载:http://deadbeef.sourceforge.net/plugins.html

1
2
3
4
5
[admin@HuangYe ~]$ cd ~/.local/lib/deadbeef/
bash: cd: /home/admin/.local/lib/deadbeef/: No such file or directory
[admin@HuangYe ~]$ mkdir -p ~/.local/lib/deadbeef/
cd ~/.local/lib/deadbeef/
unzip -j ~/Downloads/ddb_lyrics-1.0.zip -d ~/.local/lib/deadbeef/

unzip 的两个参数:

-j junk paths (do not make directories)
-d extract files into exdir

若是5.0版的,无法使用上面的歌词插件:

starting deadbeef 0.5.0
loading plugins from /home/admin/.local/lib/deadbeef
plug_load_all: scandir found 3 files
loading plugin /home/admin/.local/lib/deadbeef/ddb_lyrics.so
WARNING: plugin “Lyrics” wants API v1.1 (got 1.0), will not be loaded
plugin not found or failed to load

关于启动 deadbeef 时的一些错误及解决办法(从terminal启动可以看到错误,直接点鼠标是看不到的 :cry: 。。。):

error: libavcodec.so.52: cannot open shared object file: No such file or directory

1
pacman -S ffmpeg

dlopen error: libfaad.so.2: cannot open shared object file: No such file or directory

loading plugin aac.so
dlopen error: /usr/lib/deadbeef/aac.so: undefined symbol: NeAACDecSetConfiguration

the problem is that libfaad or libfaac aren’t installed, or too old, or too new versions

1
pacman -S faad2 faac

libWildMidi(WildMidi_Shutdown:5065): ERROR Library not Initialized
stopped all plugins
all plugins had been unloaded
hej-hej!

1
pacman -S timidity-freepats
更多
No Responses Post a comment

Leave a Reply

Note: You may use basic HTML in your comments. Your email address will not be published.

Subscribe to this comment feed via RSS