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:
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,
libdvdcss2 are also required.
Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, paste the commands below to install
sudo apt-get install libdvdread4
The package provides a simple script to download & install
libdvdcss2, to run the script:
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: download.videolan.org/ubuntu/utopic
When done, you should be able to playback (and navigate DVD menus) in most video applications, including the default Totem and VLC media player..
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:
[email protected]:~$ wodim dev=/dev/sr0 –devices
wodim: Overview of accessible drives (1 found) :
0 dev=’/dev/sr0′ rwrw– : ‘MATSHITA’ ‘DVD-RAM UJ8C2Q’
[email protected]:~$ wodim dev=/dev/sr0 -checkdrive
Device type : Removable CD-ROM
Version : 5
Response Format: 2
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!
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.