Installing Codecs on Ubuntu Linux

Many of the ubuntu newcomers might be left in a fix when they discover that their system has lost its capability to play media. Actually its not so, those media formats which you might be trying are proprietary ones which requires you to install codecs from a third party. Since ubuntu is shipped with only those packages which are free, according to the policy it has adopted.
You must have tried to play the media with Totem Player. Actually you need to install the gstreamer framework. These are packages from third party. We can adopt two methods for installing them.
Command Line: Just open your Terminal. Applictions> Accessories> Terminal
Type this command, enter your password when prompted.

sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg.

You need an active internet connection for downloding them.
GUI Method: Open Synaptic Package Manager. System >Administration> Synaptic Package Manager. You will be prompted for your password.
Now Click on Packages on menu bar. Select in Software Sources. Now select multiverse and restricted so that all four universe, main, multiverse and restricted are selected.
Click on Search. Search for these packages and install them. You need an active internet connection

gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg.

Advertisements

6 thoughts on “Installing Codecs on Ubuntu Linux

  1. you forgot to add “install” after apt-get, the full line should read:

    sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-ffmpeg

  2. I used mentioned command, but no use
    I m trying to convert the FLV file to mpeg with MP3 codec I get the following error

    Unsupported codec for output stream #0.1

    FFmpeg doesnot suppor MP3, AAC codec

    how to configure FFmpeg with all these codecs

    1. Use this..
      sudo apt-get install ubuntu-restricted-extras

      installs most of the codecs,flash player, java etc… .Its an AllInOne package

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