Ubuntu how-to => Audio/Video

I hope this How-to helps and encourages more and more people to go for Linux. I will attempt to describe the most common packages that you need to play your music and movies after a fresh install of Linux.

Since Ubuntu is increasingly becoming the favourite Linux distro for newbies, I will write this how-to from Ubuntu's point of view. However, with some modifications, you can use this guide for most of the distros.

So you've finally managed to install Linux, and want to listen to some music after all the hard work. Well, you will have to install the proprietary codecs (for mp3, avi, flv, dat, rm, etc) before you can do that.

STEP I) Enable extra repositories.

For Ubuntu, go to "Software Sources" located under the "System" menu. Make sure the following repos are enabled :

1. Main
2. Universe
3. Restricted
4. Multiverse


Close the window, ubuntu will update the repositories now. You need to add one more repository, the Medibuntu repository (Note that this is only available for ubuntu and its derivative distros).


Open a terminal window and type/copy & paste the following commands (in the exact same order):
sudo wget https://www.medibuntu.org/sources.list.d/jaunty.list --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get update
sudo apt-get install medibuntu-keyring
sudo apt-get update
Note that the first command has the word "jaunty", after "...org/sources.list.d/". This represents your distro release and stands for 9.04 in this case.
Change it with the appropriate name:

intrepid for 8.10
hardy for 8.04
gutsy for 7.10
dapper for 6.06

We're ready to install the softwares now.

STEP II) Install Vlc

Type :

sudo apt-get install vlc


STEP III) Install codecs


Type:

sudo apt-get install mpeg2dec a52dec mpg321 lame lame-extras flac faac faad ffmpeg flac mpegdemux totem-gstreamer gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gxine libxine-main1 libxine-extracodecs ogle ogle-gui libdvdcss2
Good codecs are tried and tested, bad may have some problems and the ugly set might be, well, UGLY!!

STEP IV) Install win32 codecs

The codecs that we have installed will not play certain formats(like .dat, .rm, .rmvb, etc). In order to play those codecs, you'll need to install the w32codecs. Again, open the Synaptic package manager and look for w32codecs (w64codecs in case of 64-bit Ubuntu).

That's it. You're all set to play your favourite numbers on your favourite distro!!


EASY WAY --> If you're not the adventurous type, I suggest you go in for, ubuntu-restricted-extras package. You will need to enable the universe and multiverse repositories though. Read more about this here:

RestrictedFormats - Community Help Wiki

Replies

  • durga ch
    durga ch
    nice infromation Maddie ๐Ÿ˜ I remember we had one CEan who was facing issues with running Audio/ Vedio

    but whats with windows codecs?
  • Kaustubh Katdare
    Kaustubh Katdare
    Wow, great! Thanks for the post, maddy!

    [PS: We're soon going to add thank you button]
  • Aashish Joshi
    Aashish Joshi
    durga
    but whats with windows codecs?
    I don't use Windows any more , that is why no info on windows codecs.

    If you need a good codec pack, go to this website and have a look. These codecs will play almost all the formats.

    Download K-Lite Codec Pack

    @biggie
    Glad to be of help. This is part one of the many how-tos I hope to write.

    Next - Java, Flash, et all
  • nk.krishnak
    nk.krishnak
    hi everyone .could anyone let me know where i can get the stabe version of wine like wine 1.0.1...... i am using ubuntu 9.04 and the i find only development versions on its reference website... like #-Link-Snipped-# -i am new to linux...plz help.....

You are reading an archived discussion.

Related Posts

Hi, everyone can anyone tell me where to start learning hacking? i have tried many times but i can't find a suitable book or reference. sometime they are completely theoretical...
Hi, can someone please tell me how to get the spatial frequency of the image in MATLAB. I want to be able to plot the frequency against the x or...
My hello to all CEans. I am a Mechanical engineer working in Aerospace field in Bangalore, India. I came across this site through word of mouth (a colleague in my...
Finally: Official Google Blog: Introducing the Google Chrome OS Google Operating System is coming and it's going to be called 'Chrome'. While Google is building an operating system from scratch,...
Folks, I can't believe this: Slowdown? Cognizant to promote, hike employees' salaries- ITeS-Infotech-The Economic Times What do you think?