Author Topic: MPV Media player doesn´t play my DVDs on Ubuntu  (Read 181 times)

0 Members and 1 Guest are viewing this topic.

Offline Matilda

  • Jr. Member
  • **
  • Posts: 39
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
MPV Media player doesn´t play my DVDs on Ubuntu
« on: June 20, 2021, 06:43:10 pm »
Guys MPV doesn´t play my DVDs from my plug in DVD drive on my Ubuntu MacBook. When I launch the icon a box comes up which says to drop files or a URL but there is nothing in it to do it with.
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1859
  • Karma: 145
  • Gender: Male
  • Awards Contributor Of The Month
    • View Profile
    • Awards
Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #1 on: June 20, 2021, 08:54:48 pm »
Packages needed to play DVD's are in separate repository
You can add the multiverse repository to Ubuntu
Code: [Select]
sudo add-apt-repository multiverse
then
Code: [Select]
sudo apt install libdvd-pkg
then
Code: [Select]
sudo dpkg-reconfigure libdvd-pkg

Once complete, reboot your system and you should be able to play DVD in your Ubuntu system.

The Linux Community Forum

Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #1 on: June 20, 2021, 08:54:48 pm »

Offline Matilda

  • Jr. Member
  • **
  • Posts: 39
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #2 on: June 22, 2021, 10:58:42 pm »
Thank you very much SeZo. I'll do that tomorrow!
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline Matilda

  • Jr. Member
  • **
  • Posts: 39
  • Karma: 0
  • Gender: Female
    • View Profile
    • Awards
Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #3 on: Yesterday at 06:33:36 pm »
Had problems with that. When I put in the second command, a load of code, or whatever you call it started loading, then after that had finished a box came up with this message:

This package automates the process of launching downloads of the source   ?
 ? files for libdvdcss2 from videolan.org, compiling them, and installing    ?
 ? the binary packages (libdvdcss2 libdvdcss-dev).                           ?
 ?                                                                           ?
 ? Please run "sudo dpkg-reconfigure libdvd-pkg" to launch this process for  ?
 ? the first time.                                                           ?
 ?           

So I closed the terminal and opened it again and put in what it told me and then I got this message:

[email protected]:~$ sudo dpkg-reconfigure libdvd-pkg
[sudo] password for avon:
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
[email protected]:~$
Got 2 Linux computers:
Peppermint on a netbook
Ubuntu on a Macbook Pro
Also got a Chromebook!

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1859
  • Karma: 145
  • Gender: Male
  • Awards Contributor Of The Month
    • View Profile
    • Awards
Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #4 on: Today at 10:32:15 am »
Quote
So I closed the terminal and opened it again and put in what it told me and then I got this message:

By closing the terminal, you left the process dangling, so blocking debconf.
You should have completed the install in the same terminal.

Try again (after a reboot) and see if that removed the lock
If not then try:

Code: [Select]
sudo fuser -vik /var/cache/debconf/config.dat
Will display the process and ask if you want to terminate it.

Then run:
Code: [Select]
sudo dpkg-reconfigure libdvd-pkg

The Linux Community Forum

Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #4 on: Today at 10:32:15 am »

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1456
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: MPV Media player doesn´t play my DVDs on Ubuntu
« Reply #5 on: Today at 01:43:27 pm »
Hi Sezo. 

I use VLC to play music but found that I can drag/drop files into the blank MPV window and they play successfully, despite the MPV window remaining quite blank. 
Thinking that your instructions in Post #1 might provide a more informative MPV window I followed your instructions.  My PC told me that the packages were already installed and latest version, but the MPV window remains steadfastly blank, although moving the cursor around does display some info, although very briefly and then back to blankness.  Is this the usual way MPV works? 

Keith
« Last Edit: Today at 01:46:21 pm by Keith »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal