Pages

Monday, January 7, 2013

Adding goom audio visualisation to XBMC

This article is based on my prior released XBMC article which can be found here.
Goom is a very nice audio visualisation which you can use with XBMC. This article will describe how to setup goom and howto setup XBMC with goom support. First download the goom sources:

# mkdir /usr/src/xbmc
# cd /usr/src/xbmc
# wget -c "http://downloads.sourceforge.net/project/goom/goom2k4/0/goom-2k4-0-src.tar.gz"
# tar xf goom-2k4-0-src.tar.gz
# cd goom2k4-0/


For Slackware64 run:

# ./configure --prefix=/usr --libdir=/usr/lib64
...


For Slackware run:

# ./configure --prefix=/usr
...


For Slackware64 and Slackware run:

# make && make install
...


Check that the goom library is available:

# ls /usr/lib*/*goom*
/usr/lib64/libgoom2.la*
...
/usr/lib64/libgoom2.so.0.0.0*


Next rebuild XBMC. I assume you have the sources already downloaded and extracted under /usr/src/xbmc as described in my XBMC article. Reconfigure the sources by enabling goom:

# cd /usr/src/xbmc/xbmc-11.0
# ./configure --prefix=/opt/xbmc/11.0 --enable-goom
...


When the configure scripts has finished take a closer look at the conclusion:

...
  GOOM:         Yes
...


If you don't see that goom was enabled then try to figure what went wrong. Next rebuild XBMC:

# make && make install
...


As long as you only added goom support nothing should happen to your prior installed XBMC. When XBMC has been installed you need to restart it (if it was up and running). You can change the audio visualisation in the Music options under System.