Linux How to : Enable Multimedia Suport in Ubuntu 7.10.

Status
Not open for further replies.

Dark Star

Innovator
pitivi.png
Ubuntu is one of the widely used GNU OS which is considered as Newbie friendly . But still there are few things to work .. Here is a small/quick guide that will let you enable Playback for any type of Audio/Video files.. Since most users get baffled after they fail to play media files. So I thought of posting a guide which will let you play every Media files like DivX,Real Media,AC3,MPEG4 to name a few .. So lets get started .

Before I start I would lets do some basic settings..

1'st we have to enable repos..

Go to System -> Administration -> Software Sources . Check all the unchecked options under Ubuntu Software , Third Party Software, Updates. After that it will ask you to relode the package stats so that latest repositories can be added in the database for installation of the necessary software.

After the relode done you will be prompted to update your system . It is necessary to update your whole system before installing any software..

So I think you are done till now.. Considering system is updated lemme me now start with installing codecs and media players..

Note: In this guide I prefer installing components from terminal but you can always use the good old Synaptic Package Manager and Add/remove Programs..

Audio Playback Support​

There are lots of media player out there from which you can choose your own flavor .. but I am focusing on the best right now. So in this Tutorial we will install Amarok ...

To Install Amarok Open Terminal . Main Menu -> Accessories -> Terminal .

Now type this in Terminal

Code:
sudo apt-get install amarok

Amarok is basically a KDE backed player but since its the most feature rich loaded with clean interface so I choose Amarok though you can install Gnome based players like Exaile, Banshee, XMMS [Winamp Alt.], Listen or the pre-insalled Rythmbox.

To install Gnome based players..

Code:
sudo apt-get install exaile

sudo apt-get install banshee

sudo apt-get install xmmms

sudo apt-get install listen*

Now since you have installed much of the Audio Player now we should head forward and install codecs so that these players work without any problem...

There are mainly 2 codec pack that are maily used in GUN OS..

  • Gstreamer : - This GStreamer plugin supports a large number of audio and video compression formats through the use of the FFmpeg library.GStreamer is a streaming media framework, based on graphs of filters which operate on media data.Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related.Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins.

Gstreamer is maily used for Gnome based OS and Ubuntu will recommend you install this by default...

To install every plugin of Gstreamer do this in Terminal

Code:
sudo apt-get install gstreamer*

After you have installed Gstreamer all the above mentioned Player will work like charm while playing Media files..

  • Xine : Xine is mainly meant for KDE based players . but being a good set it is recommended that you install Xine Codecs.

To install Xine do this in Terminal

Code:
sudo apt-get install xine*

Xine will install its own Video Player which will let you play Video files.. Its interface is pretty similar to that of Power DVD ...

Now we have finally installed all the codecs necessary playing media files .. Now we should continue installing Video Players and few extra codecs...

Video Playback Support​

Considering you have installed Xine too we will use Xine-Ui as our primary Video Player but we will learn to install other players tooo..

There are few other players that will let you play Video files in full swing like VideoLan (VLC) , Mplayer or use the pre-installed Totem Movie player..

To install these players do this in Terminal

Code:
sudo apt-get install vlc*

sudo apt-get install mplayer

sudo apt-get install xine-ui

After this you will able to play all the media files in case your player fails to play few restricted formats like DivX, Real Media, MPEG4, Ac3 .. do the following in terminal..

Code:
sudo gedit /et/apt/sources.list

Now add these lines at the end of the editor.. Since Ubuntu did not have these formats in repo's we'l have to add these as Media Ubuntu has these in heir repo'....

Code:
deb [url]http://archive.ubuntu.com/ubuntu[/url] gutsy universe multiverse

deb-src [url]http://archive.ubuntu.com/ubuntu[/url] gutsy universe multiverse

After that type the following command

Code:
sudo apt-get update

This will relode all the latest info that about the repo. that you added ...

For Ubuntu Gutsy Gibbon Users run the following command

Code:
sudo wget [url]http://www.medibuntu.org/sources.list.d/gutsy.list[/url] -O /etc/apt/sources.list.d/medibuntu.list

Now you need to copy the key using the following command

Code:
wget -q [url]http://packages.medibuntu.org/medibuntu-key.gpg[/url] -O- | sudo apt-key add -

Update the source list using the following command

Code:
sudo apt-get update

Now install the codecs by doing this

Code:
sudo apt-get install w32codecs libdvdcss2

Now you are one you are now able to view all the Media files .. So enjoy Tuxing and do update the system regularly ;)

Regards Ds
 
  • Like
Reactions: 1 person
Awesome post, just a question on the video codecs...

How do you get them for 8.04 Hardy version ? ie do you just replace "gutsy" with "hardy"
 
you can install all gstreamer plugins from Add/Remove Software.. Install all bad,ugly etc. plugins i.e. gstreamer-ugly etc..

This should solve all ur queries:

Ubuntu:Hardy -
 
^^Follow the link provided by Pat .. For Gstreamer codec . Just install Ubuntu Restricted Extra From Add/Remove .. That will install all gstreamer code , along with Java, Flash and other goodies :)

 
I have installed all the gsteramer codecs using the apt-get gstreamer* command...

I have installed Mplayer using the apt-get command but video is not playable, I guess some of the codecs are missing. Am at work will try the link Pat gave in the night and post the results.

Video is really choppy, only if I can get that to work, it can actually work as a windows replacement for me...
 
Try Xine Ui
Code:
sudo apt-get install xine-ui
also do not forget to add the Mediabuntu codeccs .. Lemme tell you how to do that

Open SOftware Sources under Administartion .. Now add the repo.. under third party tab..
Code:
deb [url]http://packages.medibuntu.org/[/url] hardy free non-free

After that do the following in Terminal

Code:
  wget -q [url]http://packages.medibuntu.org/medibuntu-key.gpg[/url] -O- | sudo apt-key add -
Code:
   sudo apt-get update 
   
   sudo apt-get install libdvdcss2

That will do the trick :) Do not forget to install latest ATI driver for optimum performance :)
 
I have installed the latest ATI drivers but am unsure if they are the correct ones or not.. how do I check ?
 
^^ Done, the video has gone absolutely haywire in almost all media players but SMplayer, I guess it seems to be working fine.. not as good as KMplayer in windows but should do for the time being.

Now which is a good torrent software ? :)
 
Torrent client is available there :) I love Transmission but you can try Deluge if you are addicted to utorrent.. Limewire is available for Linux if you use it :)

Wait ? have you enabled Compiz Fusion ? If yes try the video by disabling it Or enable the Video plugin by CCSM. Install it by

Code:
sudo apt-get install compizconfig-settings-manager

Edit : To disable compiz.. Right Click the desktop and select change desktop background, under Desktop Effects select none :)
 
Status
Not open for further replies.