My Dominant Hemisphere

The Official Weblog of 'The Basilic Insula'

Howto – Play Embedded Real Player Media in Konqueror Using KMplayer

with 3 comments

[Caption: 1st spot! Yay!]

Hi! Getting the nphelix.so plugin that comes with RealPlayer 11 Gold to work with Konqueror 3.5.9 is downright painful.

I figured out a way to make KMplayer work with Konqueror to view RealPlayer files. KMPlayer is nifty in that it can use multiple backend engines – not to mention xine and mplayer. This howto works for Kubuntu 8.04 (KDE 3.5.9).

Let’s get on with the howto:-

  • Download and install Real Player 11 Gold for Linux from here. Follow the instructions in this howto to do so.
  • Next install MPlayer and KMplayer from the repositories. Make sure you have all of the repositories enabled before doing so. Once you’ve done that, In a terminal just do the following:

    sudo apt-get install mplayer kmplayer

  • Now grab MPlayer’s binary codecs from here. The download is actually a single zipped file. Use Ark to extract it.
  • We need to copy all of the codecs to /usr/lib/codecs . Next we need to copy/overwrite some of these codecs with those that came with RealPlayer 11 Gold. RealPlayer’s codecs reside in the /path-to-realplayer-installation/codecs folder. Copy them into the /usr/lib/codecs folder. You can accomplish all of this graphically for this process to be more intuitive. For all of this, Konqueror needs to be run with sudo privileges. So in a terminal do:

    sudo konqueror

    Goto /usr/lib and create two folders under /usr/lib – codecs and win32. Now goto /path-to-realplayer-installation/codecs and copy all of the files to /usr/lib/codecs . Konqueror will prompt you that you’re attempting to overwrite. Have no fear! Proceed :-) !

  • Next we need to create symbolic links (shortcuts) to all of the files you just copied to /usr/lib/codecs in /usr/lib/win32 . To do so we do the following in a terminal (although you could try doing it graphically):

    cd /usr/lib/win32

    sudo ln -s /usr/lib/codecs/* .

    Don’t forget that dot! It’s not a typo :-) .

  • Now we need to configure the xine engine so that it knows where to look for the codecs. Open up Kaffeine. Goto Settings > Xine Engine Parameters > Decoders and enter either /usr/lib/codecs or /usr/lib/win32 in both fields. Click Apply and then OK. We have configured xine.
  • Now we need to configure Konqueror to use KMplayer to play Real Player files. Goto Settings > Configure Konqueror > File Associations. In the list under Known Types click on audio and select vdn.rn-realaudio. Click on the tab called Embedding. Click on Add and select Embedded player for KDE (kmplayer_part). You might be having other selections already in your Services Preference Order. So remember to place Embedded player for KDE at the very top. Repeat the whole thing with vdn.rn-realaudio, x-pn-realaudio and x-pn-realaudio-plugin all of which also lie under audio and for vdn.rn-realvideo which comes under video. Do the same for vdn.rn-realmedia, vdn.rn-realmedia-secure, vdn.rn-realmedia-vbr, vdn.rn-realplay, vdn.rn.realsystem-rmj, vdn.rn.realsystem-rmx under applications. Konqueror is now configured to use KMPlayer to play embedded Real Player media. Click on Apply and then OK. Restart Konqueror.
  • Test it all out! When an embedded media opens up, an embedded instance of KMplayer should start. You can then specify either xine or mplayer as the engine KMPlayer should use for the media. I’ve found mplayer to be more reliable.

Note that this workaround isn’t perfect and your mileage may vary. You’ll do alright for the most part though :-) . Readers are welcome to send in their comments! Cheereo :-) .

Readability grades for this post:-

Kincaid: 4.9
ARI: 5.2
Coleman-Liau: 11.0
Flesch Index: 78.7/100
Fog Index: 7.4
Lix: 29.6 = below school year 5
SMOG-Grading: 8.0

Powered by Kubuntu 8.04
-

Copyright © 2006 – 2008 Firas MR. All rights reserved.

About these ads

Written by Firas MR

April 29, 2008 at 3:09 pm

3 Responses

Subscribe to comments with RSS.

  1. These instructions are gold. Expect an increase in traffic.

    I could give you feeback but I’ll be on windows for some time !

    Jaffer

    April 29, 2008 at 8:14 pm

  2. @Jaffer:

    Thanks buddy :-) ! Yea, there has been a phenomenal spike in traffic in a matter of hours! Just type three keywords in google “real” “player” “konqueror”. My article is on the 3rd spot! Yay :-) !

    Firas MR

    April 29, 2008 at 8:21 pm

  3. I’ve had the same experience when I wrote how make the ExpressionEngine editor rich text.

    I am in fourth place when you Google “ExpressionEngine WYSIWYG”

    What boggles me is I get no comments for that post even when it’s the most popular landing page tom Google ?

    I am also doubting they could be bots !

    Jaffer

    April 30, 2008 at 3:38 am


Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: