Aug 5, 2012

How to install mp3 codec in ubuntu


However, you can install the ability to play popular non-free media formats, including DVD, MP3, Quicktime, and Windows Media formats, by following the instructions below.



Method 1 - Manual Install


 


Open the Ubuntu Software Center. In the search box in the upper right corner, type "ubuntu-restricted-extras".


When it shows up, click on the "Ubuntu restricted extras" package, then click the install button for it.




 


Method 2 - Using Terminal


 


Open terminal and type the following command


 


sudo apt-get install ubuntu-restricted-extras


 



But this codec pack won't allow you to play original DVD movies that are encrypted by default.


So again use the below commands to enable "that one" as well. 



 


sudo wget http://www.medibuntu.org/sources.list.d/natty.list –output-


document=/etc/apt/sources.list.d/medibuntu.list


sudo apt-get update


 


sudo apt-get install medibuntu-keyring


sudo apt-get update 


 


sudo -s


apt-get install libdvdcss2


cd /usr/share/doc/libdvdread4/


./install-css.sh


Now you can play play popular non-free media formats, including DVD, MP3, Quicktime, and Windows Media formats.







 

1 comment: