Why Amarok doesn’t play MP3 files in Slackware 14 and how to solve the problem ?

gstreamer logo

Amarok one of the best music players for the Gnu\Linux world and I have been a loyal fan of it ever since I started using it.

Back to the point now !! 🙂 . After installing Slackware 14 I was hugely disappointed, I wasn’t able to play MP3 files using Amarok. I tried changing the backend by going to

-> Settings 
  -> Configure Amarok 
    -> Playback 
      -> Sound System Configuration
        -> Backend tab

and that didn’t help me. But after a google search I was able to spot the problem. Amarok uses phonon in the backend and which in-turn depends on GStreamer to work. The problem revealed to be the missing of some GStreamer plugins which were used to play the mp3 files. GStreamer plugins are grouped into several packages: base, good, bad and ugly. Slackware 14 was not giving ugly group ( This package contains plug-ins from the “ugly” set, a set of good-quality plug-ins that might pose distribution problems.) of plugins out of the box, probably because of its license. I installed ugly plugins, i.e, gst-plugins-ugly, but I didn’t know if it was enough so Installed gst-plugins-bad and gst-plugins-ffmpeg also. It was a blind shot but it worked. And I am happily hearing to some music now,  Amaroking by the way ;).

waiting for your comments, cheers 🙂

Installation of flash player in Slackware

N.B : Support for Firefox in Linux is only up to v. 11.2 of flash player

[1] Flash Player  Installation : Manual Way

  1. Change to the folder in which the flash-player tar ball is downloaded.
    .

    $cd path_to_the_folder_downloaded_folder
  2. Extract the file.
    .

    $ tar -xf install_flash_player_11_linux.tar.gz
  3. Create a directory named ‘plugins’ in /usr/lib/firefox-* (32 bit slackware), or /usr/lib64/firefox-* (64 bit slackware). ( For firefox 21 and above it is /usr/lib/firefox-*/browser or /usr/lib64/firefox-*/browser ).
  4. # mkdir /usr/lib/firefox-*/plugins or # mkdir /usr/lib64/firefox-*/plugins
  5. Copy the libflashplayer.so to the plugins folder.
    .

    # cp libflashplayer.so /usr/lib/firefox-*/plugins/ (for 32 bit slackware)
    
    or
    
    # cp libflashplayer.so /usr/lib64/firefox-*/plugins/ (for 64 bit slackware)
  6. Restart the Firefox browser.
    .
  7. Open Firefox web browser. Type about:plugins to verify flash player.

Enjoy the YouTube videos.

[2] Flash Player  Installation : Using Slack builds

To install the Adobe flash player 11 plugin in Slackware 13.37, we can get the slackbuild scripts from Slackware ftp server or HTTP mirrors

Here is one URL : http://slackbuilds.org/repository/13.37/multimedia/flash-player-plugin/

Download the file “flash-player-plugin.tar.gz” which contains

  • doinst.sh
  • flsh-player-plugin.info
  • flash-player-plugin.SlackBuild
  • README
  • slack-desc

Uncompress the tar ball and change directory to the uncompressed folder. Then run the slack build to install the flash player

Step by step instructions are given below :

  1. Download “flash-player-plugin.tar.gz” from Slackware mirror. The above link is one of them.
  2. Download the “install_flash_player_11_linux.x86_64.tar.gz” from the Adobe website.
  3. Uncompress the tar ball
  4. Copy the “install_flash_player_11_linux.x86_64.tar.gz ” file to the uncompressed folder
  5. Change directory to where you uncompressed slackbuild scripts.
  6. Run slackbuild script to create Slackware package.
  7. $ cd  /tmp
  8. $ installpkg flash-player-plugin-11.1.102.55-x86_64-1_SBo.tgz