SUSE Conversations


Additional multimedia codec support for SLED 11 SP3



By: mikewillis

July 17, 2013 11:01 am

Reads:808

Comments:0

Rating:5.0

As with most Linux distributions, SLED’s out of the box multimedia capability is somewhat limited in terms of codec support. It has support for MP3, the OGG family and some others, but it doesn’t have support for commonly used codecs such as H264 and AAC and those required for DVD playback.

There are packages available from third parties built for SLED that will add such capabilities in the form of plugins for gstreamer (the backend used by Totem, Banshee and others). However all such packages I’ve found require that you replace packages that are already in SLED with different versions. Wherever possible I like to avoid replacing packages provided by SUSE. The more you replace the higher the risk of undesirable results and it may also have an effect on your ability to obtain support from SUSE. (Perhaps your problem is due to you having replaced all those packages…) So I set out to work out my own solution that would provide codec support I wanted without replacing anything provided by SUSE and which could be trivially removed if required.

So one advantage of this method is that it doesn’t replace any packages SUSE provide. Another advantage, albeit which may or may not apply to you, is that provided all the required dependencies are already installed, it is possible to use this solution without having root access. (Details of which packages need to be installed are in the README.txt file in the attachment.) A disadvantage is that you do not get the latest versions of the additional gstreamer plugins. The versions of the gstreamer plugins used are ones which I have found, through looking at release dates and some degree of trial and error, to be the newest that are compatible with the version of gstreamer provided in SLED.

This solution involves obtaining source code and compiling it, but if that sounds beyond your capability don’t worry as I have created a script multimediacodecs_sled11sp3 to automate the process. The script will leave you with compiled binaries that you can copy to the relevant location and optionally an rpm which you can simply install instead of manually copying files to the necessary locations.

You need to read the README.txt file for full details, but to give you an idea of what’s involved, the build process is as follows:

To build the plugins, run the build script.

$ ./build

By default the plugins will be built to live in /opt/multimedia If you want them to live somewhere else then change the line

prefix=/opt/multimedia;

to reflect where you want to put them. E.g if you want them in your home directory you could use

prefix=”${HOME}/.multimedia”;

By default an rpm will be built but if you set the prefix to something in your home directory the rpm won’t be built as it’s assumed you’re specifying your home directory as the prefix because you don’t have root and hence can’t install an rpm.

VN:D [1.9.22_1171]
Rating: 5.0/5 (2 votes cast)
Additional multimedia codec support for SLED 11 SP3, 5.0 out of 5 based on 2 ratings

Tags: , ,
Categories: Desktop, SUSE Linux Enterprise Desktop, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comments are closed.

RSS