Author Topic: DVD not playing in Ubuntu 16.04 [SOLVED!]  (Read 7879 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
DVD not playing in Ubuntu 16.04 [SOLVED!]
« on: February 24, 2018, 09:09:03 pm »
Once upon a time I could display DVDs on my laptop – perhaps that was on Ubuntu 12 – but no longer.  As my DVD collection grows so has my desire to actually view them so I beg assistance. 

The symptoms are that often the first screen is displayed inviting a choice of viewing but no videos are displayed.  Browsing the web revealed very many other disgruntled Ubuntu users and the proposed solution in each case was the same, as found here:   https://askubuntu.com/questions/845205/how-to-play-dvds-in-ubuntu-16-04
I have implemented all the suggestions given there and although the system attempts to play videos, the screen is grossly, and patchily, pixellated for a few seconds before freezing.  I used “regionset” to define region 2 although I had no reason to doubt it. 
I have no objection to buying an external USB DVD reader but it would be nice to fix the problem if possible.   I show below some system info and would be very grateful for advice.

Laptop:   Lenovo T500

lshw -c disk
*-cdrom
       description: DVD reader
       product: RW/DVD MU10N
       vendor: HL-DT-ST
      …..
       capabilities: removable audio cd-r cd-rw dvd
       configuration: ansiversion=5 status=nodisc

keith@T500:~$ dpkg -l |grep dvd
ii  libdvd-pkg                 1.4.0-1-1      all              DVD-Video playing library - installer
ii  libdvdcss2:i386         1.2.13-0        i386          library designed for accessing DVDs
ii  libdvdnav4:amd64     5.0.3-1        amd64        DVD navigation library
ii  libdvdread4:amd64    5.0.3-1        amd64        library for reading DVDs
ii  lsdvd                           0.17-1         amd64        read the content info of a DVD    (which does indeed list the contents
keith@T500:~$   

Thank you.
« Last Edit: March 08, 2018, 10:10:42 pm by Keith »

Offline wishbone

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #1 on: February 25, 2018, 07:27:55 pm »
Hi Keith,
I`m not sure if this is any help, perhaps you are missing some libraries. My knowledge isn`t all that good, so I`ve listed my details below.

sudo lshw -c disk

*-cdrom     
           
       description: DVD-RAM writer
       product: DVDRAM GSA-T20N
       vendor: HL-DT-ST
       physical id: 0.0.0
       bus info: scsi@0:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/cdrw
       logical name: /dev/dvd
       logical name: /dev/dvdrw
       logical name: /dev/sr0
       version: WW01
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=nodisc

dpkg -l |grep dvd

ii  dvd+rw-tools                                 7.1-11                                       i386         DVD+-RW/R tools
ii  dvdauthor                                    0.7.0-1.4                                    i386         create DVD-Video file system
ii  libdvdcss2                                   1.2.13-0                                     i386         library designed for accessing DVDs
ii  libdvdnav4:i386                              5.0.3-1                                      i386         DVD navigation library
ii  libdvdread4:i386                             5.0.3-1                                      i386         library for reading DVDs

I don`t know if there would be any difference between 32bit & 64bit, mine`s 32bit.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #2 on: February 25, 2018, 07:46:23 pm »
Open a terminal and run:
Code: [Select]
sudo apt-get install libdvd-pkg
and when prompted answer

OK > YES

by just hitting the enter key
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #3 on: February 25, 2018, 08:09:54 pm »
I did that, Mark - that's how I got the files mentioned above.  Tried it again and got:   libdvd-pkg is already the newest version (1.4.0-1-1).
But Wishbone's list of packages (thanks wishbone) does have two extra ones:
ii  dvd+rw-tools                                 7.1-11                                       i386         DVD+-RW/R tools
ii  dvdauthor                                    0.7.0-1.4                                    i386         create DVD-Video file system

Wishbone:  where did you get your files from?  And can your read DVDs OK?


Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #4 on: February 25, 2018, 08:27:08 pm »
I've found what appear to be sources for those two files:
https://packages.debian.org/stretch/dvd+rw-tools for ii  dvd+rw-tools      7.1-11   
https://launchpad.net/ubuntu/+source/dvdauthor/0.7.0-1.4
but it looks complicated and I'm not even sure if they are useful.

Any ideas, Mark?


Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #5 on: February 25, 2018, 08:32:55 pm »
They're not necessary for playing DVD's

So what happens when you insert a disk .. is the disk recognised ? .. ie. does it show up in the left hand column in the file manager ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #6 on: February 25, 2018, 08:36:44 pm »
Yes, the DVD shows up OK in Nautilus/Nero and I can display the files in the RHS pane.  Files that are static pictures often do display but video files don't work. 

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #7 on: February 25, 2018, 09:40:39 pm »
Will they play in VLC ?
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline wishbone

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #8 on: February 26, 2018, 10:18:10 am »

Wishbone:  where did you get your files from?  And can your read DVDs OK?

I think they were installed when I installed or upgraded VLC, I`m not really sure, I just go with what is recommended.

I have a few DVD`s that will not read or run, probably due to the age of the DVD drive within the laptop. I bought an external DVD drive and the ones that wouldn`t play did with the new one.

That`s probably no help with your problem, just what happened to me.

Best of luck
Tony

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #9 on: February 26, 2018, 01:50:40 pm »
Mark,  I've tried VLC, Media Player, SM Player and the default "Videos".  VLC tries hardest - the others give up almost immediately after showing the initial still. 

Wishbone:  I did find a reference to one of the files that you have and I don't that labeled it as "unstable".  Your solution of buying an external player is pragmatic if less aesthetically pleasing, and I might be forced down that route eventually, if all else fails. 

I've found nothing more on the web that might help. 

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #10 on: February 26, 2018, 02:19:32 pm »
Just to eliminate a software issue, try booting an Ubuntu 16.04 LiveUSB .. then (with an active internet connection) install:
Code: [Select]
sudo apt-get install libdvd-pkg
then see if a DVD will play in a live session.

If not, I'd suspect a DVD hardware problem.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #11 on: February 26, 2018, 02:31:30 pm »
Entering that command resulted in "Unable to locate package libdvd-pkg"
Do I need to specify a repository? 
This site: https://packages.ubuntu.com/xenial/libdvd-pkg list a multiverse source of the package.  I found it earlier but couldn't understand it all! 

Offline wishbone

  • Jr. Member
  • **
  • Posts: 51
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #12 on: February 26, 2018, 07:10:37 pm »
Hi Keith,
Having had a rethink on my previous post to you I`m fairly certain now that the files were installed when I installed K9Copy. As I recall they were needed for it to work properly. It all works OK and had no problems with it.

Offline Keith

  • Hero Member
  • *****
  • Posts: 918
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #13 on: February 26, 2018, 09:20:46 pm »
Hi Wishbone.
Thank you for that info.  I see that K9Copy is no longer being developed, and Ubuntu.com says it is no longer supported and is a candidate for deletion.  There is also a long list of prerequisite files to install.  So I am a bit reluctant to install it although it looks interesting. 

How long ago did you install K9Copy?  Are you running KDE?

« Last Edit: February 26, 2018, 09:22:54 pm by Keith »

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 18119
  • Karma: 469
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: DVD not playing in Ubuntu 16.04
« Reply #14 on: February 27, 2018, 01:10:55 am »
Keith, those packages have nothing to do with DVD "playback", so there's no point in installing them.

You need to find out if this is a hardware issue .. which is the most likely.

Do what I said in my last posting (boot to a LiveUSB), but before installing libdvd-pkg search your menu for "Software & Updates" and launch it .. now on the first tab, make sure ALL five boxes are ticked, on the second "Other Software" tab, make sure "Canonical Partners" is ticked .. click the "Close" button.

Now open a terminal and run:
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get install libdvd-pkg
Now test the DVD player.

If it still gives has problems it's not a software issue.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal