Install Multimedia Codecs, Enable DVD Playback in Ubuntu 14.10

September 29, 2014 — 2 Comments

install multimedia codecs, enable dvd playback

Due to legal constraints in many countries, Ubuntu does not include multimedia codecs to play mp3, movies, and DVDs out-of-the-box.

This quick tutorial will show you how to manually install the multimedia codecs to enable playback audio, video, DVDs in Ubuntu 14.10 Utopic.

Install Multimedia Codecs:

There is a package “Ubuntu restricted extras” available in Ubuntu Software Center. Installing it will pull in support for MP3 playback and decoding, support for various other audio & video formats such as mp4, avi, rmvb, wmv and more, Microsoft fonts, Flash plugin, LAME (to create compressed audio files), and DVD playback.

To install the package, just click the link below to bring up Ubuntu Software Center and click the install button:

install ubuntu-restricted-extras

During the installing process, you will be asked to accept the EULA license terms.

Tip: If you get a warning dialog says “to install ubuntu restricted extras, these items must be removed”, just click the ignore because -extra versions of these libraries will be installed instead, to provide additional functionality.

Enable DVD Playback:

After installed the package above, you should be able to play normal DVDs. But for playing encrypted DVDs, libdvdread4 and libdvdcss2 are also required.

Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below to install libdvdread4:

sudo apt-get install libdvdread4

The package provides a simple script to download & install libdvdcss2, to run the script:

sudo /usr/share/doc/libdvdread4/

If you can’t get the libdvdcss2 package from the script, download & install,

  • libdvdcss2_1.2.13-0_amd64.deb for 64-bit Ubuntu.

  • libdvdcss2_1.2.13-0_i386.deb for 32-bit ubuntu.

from the page:

When done, you should be able to playback (and navigate DVD menus) in most video applications, including the default Totem and VLC media player..

I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to

2 responses to Install Multimedia Codecs, Enable DVD Playback in Ubuntu 14.10

  1. Hello Ji m,

    thanks for your tutorial. Unfortunately I’m no expert and it does not work for my laptop. I’m using ubuntu 14.10 and I’ve followed all your instructions above. Unfortunately no DVD is recognized/shown in nautilus. However I’ve no problems with audio cds.

    At least the terminal shows that there is a DVD:

    g@g-Aspire-V3-571G:~$ wodim dev=/dev/sr0 –devices
    wodim: Overview of accessible drives (1 found) :
    0 dev=’/dev/sr0′ rwrw– : ‘MATSHITA’ ‘DVD-RAM UJ8C2Q’
    g@g-Aspire-V3-571G:~$ wodim dev=/dev/sr0 -checkdrive
    Device type : Removable CD-ROM
    Version : 5
    Response Format: 2
    Capabilities :
    Vendor_info : ‘MATSHITA’
    Identification : ‘DVD-RAM UJ8C2Q ‘
    Revision : ’1.00′
    Device seems to be: Generic mmc2 DVD-R/DVD-RW.
    Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
    Driver flags : SWABAUDIO BURNFREE
    Supported modes: PACKET SAO

    Any ideas how to recognize/play dvds? Many thanks in advance!

  2. I was having trouble even after installing ubuntu restricted extras but this finally sorted it for me. The line’s up there already but if this doesn’t work then try other DVDs My disc 3 of the firefly series had a problem, all the other discs work fine now.
    sudo /usr/share/doc/libdvdread4/

Leave a Reply


Text formatting is available via select HTML.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>