Multimedia

Updated 11/Nov/2006: Changed totem-xine package for mozilla. Seems that livna is changing things in how to install totem and so.

MP3 audio support

Due to licensing problems Fedora Core doesn’t install any MP3 codec. As there are still people posting podcasts with MP3 format instead of OGG, some free content with MP3, and so. And I’m too lazy (and I suppose you too) to convert all MP3 to OGG, I have to install MP3 codecs.

xmms

XMMS is available from Extras, but MP3 support isn’t. For XMMS-MP3 support we can get xmms-mp3 from livna.org repo:

yum install xmms-mp3

Yum will pull dependencies needed.

bmp

BMP is an enhanced version of XMMS (we can’t use both simultaneously). BMP-MP3 support is available from livna.org repo:

yum install bmp-mp3

Yum will pull dependencies needed.

Audacious

Audacious is an enhanced fork of BMP, actually Fedora will replace BMP with audacious as an update. MP3 and WMA support is available from livna.org repo:

yum install audacious-plugins-nonfree-mp3 audacious-plugins-nonfree-wma audacious-plugins-nonfree-aac

(Yum command in one unique line)

Yum will pull dependencies needed.

Amarok

Amarok is a really nice and powerful music player, it’s KDE based and is (together with k3b), the only KDE apps I use usually.

yum install amarok amarok-extras-nonfree

will install amarok and some extras. Amarok needs some engine to play MP3 files. As it comes it uses HelixPlayer (a “free” Realplayer). We must substitute it for RealPlayer (the real one), before installing amarok (just to make it easy, we can do it afterwards anyway). To get RealPlayer, visit: http://www.real.com/linux/ and get the RPM package. Install it with:

yum localinstall RealPlayer10GOLD.rpm

This way yum will take care of dependencies (compat-libstdc++ f.e.) and pull required packages. (Filename may change). You can leave HelixPlayer if you want or can remove it (rpm -e HelixPlayer). Once installed you should configure Amarok. If you plan to use RealPlayer go to Settings, Configure Amarok and there, in Engine:

  • Helix/Realplay core directory: /usr/local/RealPlayer/common
  • Helix/Realplay plugins directory: /usr/local/RealPlayer/plugins
  • Helix/Realplay codecs directory: /usr/local/RealPlayer/codecs

If you plan to use xine, set engine to xine.

Video support

Totem-Xine (DiVX)

The easiest way to get video (DiVX, WMV and QT) support including a Mozilla plugin if you have livna’s repository is to remove totem and use totem-xine instead. To do it:

yum remove totem

and then:

yum install totem-xine totem-xine-mozplugin

Check the plugin installation going to about:plugins in Mozilla (remember to close it after installing mozilla-totem-xine), and to test QT go to http://www.apple.com/quicktime. Totem-xine provides a xine enabled version of totem, it works just like totem but with additional plugins.

Flash (v7 a.k.a. Stable)


To install flash version 7, that is "stable" (only 32 bits) we can add a YUM repository pointing to Macromedia’s Flash Plugin. To do so, add a file called macromedia.repo to /etc/yum.repos.d/ with the following:

[macromedia]
name=Macromedia for i386 Linux
baseurl=http://macromedia.rediris.es/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.mplug.org/FEDORA-GPG-KEY

(this files is availave at http://macromedia.mplug.org/macromedia-i386.repo), dnd yes, the repository is at rediris.es (SPANISH Academic network).

Once added this repository, a:

yum install flash-plugin

Will suffice.

There’s a known issue with flash in Fedora Core 5 and it happens also in Fedora Core 6. In the home page (http://macromedia.mplug.org/) of the flash plugin for Fedora Core 5 and 6 there’s a recipe for solving it.

The recipe is:

11. Most text is failing to display on Flash sites!

The plugin has bugs where it makes bad assumptions about the font configuration.
For this reason, it fails to find fonts on newer versions of X.org. You can
workaround this problem in the short-term by using these commands as root.


mkdir -p /usr/X11R6/lib/X11/fs/
ln -s /etc/X11/fs/config /usr/X11R6/lib/X11/fs/config


Read Red Hat Bugzilla #184028 for more information about this problem.
Ultimately Macromedia must fix this bug in a future version of their plugin.

Acrobat Reader


First we must dowload AdoberReader from adobe.com, as of today (29th October) latest version is 7.0.8 (http://ardownload.adobe.com/pub/adobe/reader/unix/7x/7.0.8/enu/AdobeReader_enu-7.0.8-1.i386.rpm)

Once downloaded, as root, we must do:

yum localinstall AdobeReader_enu-7.0.8-1.i386.rpm

This way all depencencies will be resolved by yum.

Bug
Theres a bug in 7.0.8 that prevents acroread from working, from Adobe Forums:

Topic

GTK 2.10 breaks Reader

Mauro Leibelt – 10:30am Aug 15, 2006 Pacific

Reader’s startup script will fail the GTK version check after you install GTK 2.10.
A way to have it working again is to replace
MIN_GTK_VERSION=”240″ with MIN_GTK_VERSION=”2040″
and
echo $mfile| sed ‘s/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g’ with echo $mfile| sed s/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g’
in the startup script {READER_ROOT}/bin/acroread.

at:
http://www.adobeforums.com/cgi-bin/webx?13@@.3bc14512

Acrobat plugin
Just like in FC5, you must install the plugin by hand:

ln -s /usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so /usr/lib/mozilla/plugins/nppdf.so

Top

K3B Extras

There are some extras you can add to K3B (more audio codecs) that will make burning CDs easier (and will upset RIAA or SGAE):

yum install k3b-extras-nonfree k3b-extras

MPlayer

I still use mplayer (i’m not used to GUI video players :-D) and of course I use mencoder to re-encode things for my Nokia770. To install (with livna repo):

yum install mplayer-fonts mplayer-gui mencoder

If you want the mozilla plugin:

yum install mplayerplug-in

I plan to experiment mplayerplug-in shortly (up to FC5 I used it), now I want to experiment for a few days with totem-xine plugin.

Comentaris
  1. Anika ha dit:

    Thanks for the Amarok help.

  2. Fieral ha dit:

    # yum install amarok amarok-extras-nonfree
    Loading “installonlyn” plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    No Match for argument: amarok-extras-nonfree
    Nothing to do

    :((

  3. carlesm ha dit:

    There are two possibilities:

    1. The package has changed name (AFAIK that didn’t happen), you can always do things like: yum install *amarok*
    2. You don’t have the necessary repositories (livna in fact). Check: http://carlesm.com/fedora-core-6-installation-notes/repositories/   to install them or use Viagra (http://carlesm.com/fedora-core-6-installation-notes/viagra-automated-script/) to do everything.
  4. vulture ha dit:

    Under the Amarok section, there are some html mistakes. I see "& amp ;", without the spaces. Otherwise, really helpful tips!!

Deixa un comentari

Fill in your details below or click an icon to log in:

WordPress.com Logo

Esteu comentant fent servir el compte WordPress.com. Log Out / Canvia )

Twitter picture

Esteu comentant fent servir el compte Twitter. Log Out / Canvia )

Facebook photo

Esteu comentant fent servir el compte Facebook. Log Out / Canvia )

Google+ photo

Esteu comentant fent servir el compte Google+. Log Out / Canvia )

Connecting to %s