According to the devs of Amarok, the new VLC based backend for Phonon delivers better sound quality than the Xine backend. Something like this just begs to be explored of course and the instructions below are based on the generic ones but specifically for Gentoo. Please note that the backend is alpha: it is incomplete and changes daily.
Install VLC 1.1 pre by installing the live version (note that VLC 1.1 is about to be released any time now so this might be available by the time you read this). Note that I had to disable the Gentoo patches in the vlc-9999 ebuild as they prevent VLC from compiling.
ACCEPT_KEYWORDS=** emerge =vlc-9999
Note to self: add the keywords to the /etc/portage/package.keywords
file. 😉
Next, fetch the Phonon-VLC backend from GIT. Note that is should become ‘stable’ soonish (it said somewhere it should be moving to kdereview in the near future) so it should be safe to assume it sort of works.
cyberwizzard@cyberxps ~ $ mkdir kde cyberwizzard@cyberxps ~ $ cd kde cyberwizzard@cyberxps ~/kde $ mkdir src cyberwizzard@cyberxps ~/kde $ cd src cyberwizzard@cyberxps ~/kde/src $ git clone git://gitorious.org/phonon/phonon-vlc.git Initialized empty Git repository in /home/cyberwizzard/kde/src/phonon-vlc/.git/ remote: Counting objects: 483, done. remote: Compressing objects: 100% (400/400), done. remote: Total 483 (delta 330), reused 116 (delta 66) Receiving objects: 100% (483/483), 102.22 KiB, done. Resolving deltas: 100% (330/330), done. cyberwizzard@cyberxps ~/kde/src $ cd phonon-vlc/ cyberwizzard@cyberxps ~/kde/src/phonon-vlc $ cmake -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=/usr $HOME/kde/src/phonon-vlc/ ...configure here... cyberwizzard@cyberxps ~/kde/src/phonon-vlc $ make ...wait a bit more... cyberwizzard@cyberxps ~/kde/src/phonon-vlc $ su -c "make install" Password: [100%] Built target phonon_vlc Install the project... -- Install configuration: "debugfull" -- Installing: /usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so -- Set runtime path of "/usr/lib/kde4/plugins/phonon_backend/phonon_vlc.so" to "/usr/lib:/usr/lib64/qt4" -- Installing: /usr/share/kde4/services/phononbackends/vlc.desktop cyberwizzard@cyberxps ~/kde/src/phonon-vlc $ su -c "kbuildsycoca4 --noincremental" ...password and lot of output here...
And thats it! Just fire up Amarok -> Settings -> Configure Amarok -> Playback -> Configure Phonon (or go through System Settings in KDE) and select the VLC backend (currently shows up as version 0.2).