[SOLVED] DVD playback error: unable to play . . . DVD source is required . . .

Bug #1809044 reported by Chris Rainey
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gstreamer1.0 (Ubuntu)
Invalid
Undecided
Unassigned
totem (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Successful installation of libdvd-pkg and dpkg-reconfigure, afterwards, to complete compilation.

Inserted known-good DVD and clicked on "Open in Videos" which launched the Totem player.

Error msg: "Unable to play the file, DVD source is required, but is not installed."

DVD will play normally in VLC player after installation on same machine.

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: libgstreamer1.0-0 1.14.4-1
ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
Uname: Linux 4.18.0-12-generic x86_64
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 18 15:21:45 2018
InstallationDate: Installed on 2018-11-13 (34 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gstreamer1.0
UpgradeStatus: No upgrade log present (probably fresh install)
XorgLog: Error: [Errno 2] No such file or directory: '/var/log/Xorg.0.log'

Revision history for this message
Chris Rainey (ckrzen) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I wouldn't be surprised if MPEG-2 support was missing by default due to licensing/patent restrictions.

Please try this command:

  sudo apt install ubuntu-restricted-addons

and tell us if it improves the situation.

Changed in gstreamer1.0 (Ubuntu):
status: New → Incomplete
Changed in totem (Ubuntu):
status: New → Incomplete
Revision history for this message
Chris Rainey (ckrzen) wrote : Re: [Bug 1809044] Re: DVD playback error: unable to play . . . DVD source is required . . .

@Daniel: sorry . . . forgot to mention that ubuntu-restricted-extras(which
depends on *-addons) _is_ installed. I also ensured that all other
dependencies are installed according to:
https://help.ubuntu.com/stable/ubuntu-help/video-dvd-restricted.html.en

This definitely feels like a regression..

On Wed, Dec 19, 2018 at 7:30 PM Daniel van Vugt <
<email address hidden>> wrote:

> I wouldn't be surprised if MPEG-2 support was missing by default due to
> licensing/patent restrictions.
>
> Please try this command:
>
> sudo apt install ubuntu-restricted-addons
>
> and tell us if it improves the situation.
>
>
> ** Changed in: gstreamer1.0 (Ubuntu)
> Status: New => Incomplete
>
> ** Changed in: totem (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1809044
>
> Title:
> DVD playback error: unable to play . . . DVD source is required . . .
>
> Status in gstreamer1.0 package in Ubuntu:
> Incomplete
> Status in totem package in Ubuntu:
> Incomplete
>
> Bug description:
> Successful installation of libdvd-pkg and dpkg-reconfigure,
> afterwards, to complete compilation.
>
> Inserted known-good DVD and clicked on "Open in Videos" which launched
> the Totem player.
>
> Error msg: "Unable to play the file, DVD source is required, but is
> not installed."
>
> DVD will play normally in VLC player after installation on same
> machine.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 18.10
> Package: libgstreamer1.0-0 1.14.4-1
> ProcVersionSignature: Ubuntu 4.18.0-12.13-generic 4.18.17
> Uname: Linux 4.18.0-12-generic x86_64
> ApportVersion: 2.20.10-0ubuntu13.1
> Architecture: amd64
> CurrentDesktop: ubuntu:GNOME
> Date: Tue Dec 18 15:21:45 2018
> InstallationDate: Installed on 2018-11-13 (34 days ago)
> InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64
> (20181017.3)
> ProcEnviron:
> TERM=xterm-256color
> PATH=(custom, no user)
> XDG_RUNTIME_DIR=<set>
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: gstreamer1.0
> UpgradeStatus: No upgrade log present (probably fresh install)
> XorgLog: Error: [Errno 2] No such file or directory:
> '/var/log/Xorg.0.log'
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gstreamer1.0/+bug/1809044/+subscriptions
>

Changed in gstreamer1.0 (Ubuntu):
status: Incomplete → New
Changed in totem (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

After installing libdvd-pkg and running:

  sudo dpkg-reconfigure libdvd-pkg

please ensure it has also worked:

  $ dpkg -l | grep dvdcss

which should show something like:

ii libdvdcss-dev:amd64 1.4.2-1~local amd64 library for accessing encrypted DVDs - development files
ii libdvdcss2:amd64 1.4.2-1~local amd64 library for accessing encrypted DVDs

Revision history for this message
Chris Rainey (ckrzen) wrote : Re: [Bug 1809044] Re: DVD playback error: unable to play . . . DVD source is required . . .
Download full text (5.7 KiB)

$ dpkg -l | grep dvdcss

ii libdvdcss-dev:amd64 1.4.2-1~local
                   amd64 library for accessing encrypted DVDs -
development files
ii libdvdcss2:amd64 1.4.2-1~local
                   amd64 library for accessing encrypted DVDs

and

$ apt-cache policy ubuntu-restricted-extras libdvd-pkg

ubuntu-restricted-extras:
  Installed: 67
  Candidate: 67
  Version table:
 *** 67 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic/multiverse amd64
Packages
        100 /var/lib/dpkg/status
libdvd-pkg:
  Installed: 1.4.2-1-1
  Candidate: 1.4.2-1-1
  Version table:
 *** 1.4.2-1-1 500
        500 http://us.archive.ubuntu.com/ubuntu cosmic/multiverse amd64
Packages
        500 http://us.archive.ubuntu.com/ubuntu cosmic/multiverse i386
Packages
        100 /var/lib/dpkg/status

Does this DEBUG output help?

$ totem --gst-debug-level=1 dvd://

0:00:00.250985444 8265 0x5636e0092690 ERROR default
totem-gst-helpers.c:61:totem_gst_message_print: message = No URI handler
implemented for "dvd".
0:00:00.251019760 8265 0x5636e0092690 ERROR default
totem-gst-helpers.c:63:totem_gst_message_print: domain = 4841
(gst-core-error-quark)
0:00:00.251027744 8265 0x5636e0092690 ERROR default
totem-gst-helpers.c:64:totem_gst_message_print: code = 12
0:00:00.251034606 8265 0x5636e0092690 ERROR default
totem-gst-helpers.c:65:totem_gst_message_print: debug =
gsturidecodebin.c(1409): gen_source_element ():
/GstPlayBin:play/GstURIDecodeBin:uridecodebin0
0:00:00.251063456 8265 0x5636e0092690 ERROR default
totem-gst-helpers.c:66:totem_gst_message_print: source = <uridecodebin0>
0:00:00.251072408 8265 0x5636e0092690 ERROR default
totem-gst-helpers.c:67:totem_gst_message_print: uri = (NULL)
** Message: 09:03:41.473: Missing plugin: gstreamer|1.0|totem|DVD
source|urisource-dvd (DVD source)

(totem:8265): Totem-WARNING **: 09:03:54.700: Failed to reset the playback
rate to 1.0

MPV plays DVD perfectly:

$ mpv dvd://
Playing: dvd://
libdvdnav: Using dvdnav version 6.0.0
libdvdnav: DVD Title: HARRY_POTTER_SORCERERS_STONE
libdvdnav: DVD Serial Number: 3716AE14
libdvdnav: DVD Title (Alternative): HARRY_POTTER_SORCERERS_STONE
libdvdnav: DVD disk reports itself with Region mask 0x00fe0000. Regions: 1
[dvdnav] Selecting title 0.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00028221
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00031e5d
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[dvdnav] DVDNAV, switched to title: 1
 (+) Video --vid=1 (mpeg2video 720x480 28.750fps)
 (+) Audio --aid=1 --alang=es (ac3 6ch 48000Hz)
     Audio --aid=2 --alang=en (ac3 6ch 48000Hz)
     Subs --sid=1 --slang=en (dvd_subtitle)
     Subs --sid=2 (dvd_subtitle)
     Subs --sid=3 --slang=es (dvd_subtitle)
File tags:
 Title: HARRY_POTTER_SORCERERS_STONE
Using hardware decoding (vaapi).
AO: [pulse] 48000Hz 5.1(side) 6ch float
VO: [gpu] 720x480 ...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: DVD playback error: unable to play . . . DVD source is required . . .

Yes, MPV and VLC are standalone apps that probably will work. This bug is about Totem though.

Revision history for this message
Chris Rainey (ckrzen) wrote :

[SOLVED]

Just needed to:

$ sudo apt install gstreamer1.0-plugins-bad

I'm not sure why this isn't included in the restricted-extras or libdvd-pkg depends?

summary: - DVD playback error: unable to play . . . DVD source is required . . .
+ [SOLVED] DVD playback error: unable to play . . . DVD source is
+ required . . .
Changed in gstreamer1.0 (Ubuntu):
status: New → Invalid
Changed in totem (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.