Cannot play DVDs - Could not open location; you might not have permission to open the file

Bug #342890 reported by spinstartshere
146
This bug affects 21 people
Affects Status Importance Assigned to Milestone
libdvdread (Ubuntu)
Confirmed
High
Unassigned

Bug Description

I am using Jaunty with all updates applied. I cannot play DVDs; when trying to do so in Totem I get the message "Could not open location; you might not have permission to open the file.". The following appears in Terminal:

libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Invalid title IFO (VTS_02_0.IFO).
** Message: Error: Could not read title information for DVD.
resindvdsrc.c(333): rsn_dvdsrc_start (): /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
system error: File exists

Related branches

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Confirming - this blocks dvds on all players except for xine-ui, it seems. Marking a blocker for the beta.

Changed in totem (Ubuntu):
assignee: nobody → onkarshinde
importance: Undecided → High
milestone: none → ubuntu-9.04-beta
status: New → Confirmed
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@JD,

Can you please try installing libdvdread4 from my PPA and see if it works - https://edge.launchpad.net/~onkarshinde/+archive/ppa

Changed in libdvdread (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
spinstartshere (spinstartshere) wrote :

The package made no difference to the way DVDs play. One thing I forgot to mention -- I don't know if it is related. The DVD does not always fail to play, but instead sometimes plays very slowly, frozen on the first second when the main feature plays until a "Permission denied" error appears. That is what is currently happening. The same thing will always happen each time I reboot my computer.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@JD,

I have following questions for you.
1. Do you have libdvdcss installed?
2. How did you install the package form my PPA?

The same package works for me. But if I install package from official repository then the playback does not work.

Revision history for this message
spinstartshere (spinstartshere) wrote :

I have libdvdcss2 installed and I installed your package by going to the PPA page and clicking on the libdvdread4 package for i386. I couldn't say whether installing the package has an effect because, after this boot at least, the DVD was playing, albeit ridiculously slowly.

Maybe this will help? I don't know.

Revision history for this message
Martin Jackson (mhjacks) wrote :

I'm running amd64. I see a similar problem where totem complains. The ppa libdvdread4 package seems to fix it.

Revision history for this message
Michael Stempin (mstempin) wrote :

Your PPA Package did not solve the issue for me. I still cannot play DVDs on my Dell XPS M1330 running Jaunty amd64.
Totem gives me a "Could not read from Source"-message.

Attached you will find log-files.
I really hope this helps.

Revision history for this message
Michael Stempin (mstempin) wrote :
Revision history for this message
Michael Stempin (mstempin) wrote :
Revision history for this message
Michael Stempin (mstempin) wrote :

Sorry for the 4th message in a row, but Totem actually gives an error about not having permissions to open the file or it just locks up and says nothing.

Revision history for this message
Martin Jackson (mhjacks) wrote :

Any progress here? I use the fix in the ppa almost daily - not with totem but with other apps. It's been very stable for me.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@Martin,

I have been doing some testing with various DVDs I have. I will upload the fix to repositories over weekend.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the standard jaunty version seems to work correctly there on several boxes

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@Sebastien
As we discussed previously on #ubuntu-devel, it is not working for me on any of the DVDs I have.
I am now wondering if this has to do anything with architecture of the machine. My laptop is a iBook (powerpc). And as Martin has noted here he is using amd64.

@Martin,
Do you have any i386 machine on which you can test if the package from repository works?

Revision history for this message
Martin Jackson (mhjacks) wrote :

I do, in fact. I should have some results to post by tomorrow (Saturday).

Revision history for this message
Lance French (lancefrench) wrote :

I ran into this issue with my Vaio VGN-SZ650N laptop and the PPA allowed DVD playback, under totem, to function. 2.6.28-11-generic #39-Ubuntu SMP Thu Apr 2 03:00:35 UTC 2009 i686 GNU/Linux

Revision history for this message
Martin Jackson (mhjacks) wrote :

Upgraded a Dell Dimension 8400 that was running Intrepid i386 to Jaunty. I couldn't get the DVD recognized until I updated to the PPA package, which was then able to read and play the DVD (I used both lsdvd and totem to check it).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdvdread - 4.1.3-4ubuntu2

---------------
libdvdread (4.1.3-4ubuntu2) jaunty; urgency=low

  * Use autogen.sh and configure script instead of configure2 till we figure
    out why configure2 breaks the library. (LP: #342890)
  * debian/control
    - Add autoconf, automake, libtool to 'Build-Depends' as required by the
      autogen.sh script.
  * debian/rules
    - Add -DHAVE_DLFCN_H to CFLAGS. Use autogen.sh instead of configure2 script.
  * debian/libdvdread-dev.install
    - Add .la and macro file to libdvdread-dev package.
  * debian/patches/04-fix-lib-version.patch
    - Correct the version of libdvdread.so file.

 -- Onkar Shinde <email address hidden> Sat, 14 Mar 2009 01:13:32 +0530

Changed in libdvdread (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
spinstartshere (spinstartshere) wrote :

I'm still having problem with this.

Revision history for this message
Michael Stempin (mstempin) wrote :

Yeah it is still not fixed for me either on a Dell XPS m1330.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@JD, @Michael,

Can you please attach the output from command line when you launch 'totem dvd://'. Also make sure you have libdvdcss2 and all the necessary gstreamer plugins installed.

Revision history for this message
spinstartshere (spinstartshere) wrote : Re: [Bug 342890] Re: Cannot play DVDs - Could not open location; you might not have permission to open the file
Download full text (4.9 KiB)

>
> /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9:
> DeprecationWarning: the sha module is deprecated; use the hashlib module
> instead
> import sha
> ** Message: no file info
> libdvdread: Using libdvdcss version 1.2.10 for DVD access
> libdvdnav: Using dvdnav version 4.1.3
> libdvdread: Using libdvdcss version 1.2.10 for DVD access
> libdvdnav: DVD Title: EU_103539
> libdvdnav: DVD Serial Number: 3E6CCBA5___MVB__
> libdvdnav: DVD Title (Alternative):
> libdvdnav: Unable to find map file '/home/joel/.dvdnav/EU_103539.map'
> libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2
>
> libdvdread: Attempting to retrieve all CSS keys
> libdvdread: This can take a _long_ time, please be patient
>
> libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000013a
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001c1
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0002aa9d
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00111b98
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x001130ce
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001f9e5f
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001fb3ab
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x002f638e
> libdvdread: Elapsed time 0
> libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x002f78dc
> libdvdread: Elapsed time 0
> libdvdread: Found 4 VTS's
> libdvdread: Elapsed time 0
> Preparing SPU change, phys 0 forced 0
> Preparing audio change, phys 0
> NAV packet discont: cur_end_ts 99:99:99.999999999 != vobu_start_ptm:
> 0:00:00.280000000 base 0:00:00.000000000
> seek completed. New start TS 0:00:00.280000000 pos 0:00:00.000000000
> (offset 0:00:00.280000000)
> Pushing stream event
> Pushing clut event
> Pushing spu_select event
> Subpicture physical ID change to 0, forced 0
> Pushing audio_select event
> Audio physical ID change to 128
> Discont packet
> Pushing highlight event with TS 99:99:99.999999999
> demux: got segment update 0 start 280000000 stop -1 time 0
> sending new segment: update 0 rate 1 format 3, start: 10000000000, stop:
> -1, time: 0 scr_adjust: 874800(0:00:09.720000000)
> ****** FIXME: WAIT *****
> **** STILL FRAME. Duration 1 ****
> **** AUDIO MUNGE: still-state now 1
> demux: got segment update 1 start 280000000 stop 680000000 time 0
> sending new segment: update 1 rate 1 format 3, start: 10000000000, stop:
> 10400000000, time: 0 scr_adjust: 874800(0:00:09.720000000)
> *********** Sending audio fill: accum = 0:00:00.000000000 still-state=1
> Sending 38400 bytes (0:00:00.100000000) of audio data with TS
> 0:00:10.000000000
>
> (totem:32345): GLib-GObject-WARNING **: IA__g_object_get_valist: object
> class `GstPlayBin' has no property named `current-subpicture'
> NAV packet discont: cur_end_ts 0:00:00.680000000 != vobu_start_ptm:
> 0:00:00.280000000 base 0:00:00.000000000
> seek completed. New start TS 0:00:00.280000000 pos 0:00:00.000000000
> (offset 0:00:00.280000000)
> demux: got segment up...

Read more...

Revision history for this message
Michael Stempin (mstempin) wrote :

The Terminal just gets flushed with this real fast.
The lines starting with "***libdvdread: CHECK_VALUE failed..." come over and over again really fast.

micha@xps-m1330:~$ totem dvd://
/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
** Message: no file info
libdvdread: Using libdvdcss version 1.2.10 for DVD access
*** Zero check failed in ifo_read.c:1911
    for pgci_ut->zero_1 = 0x00a4

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1913 ***
*** for pgci_ut->nr_of_lus < 100 ***

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1956 ***
*** for (pgci_ut->lu[i].exists & 0x07) == 0 ***

*** libdvdread: CHECK_VALUE failed in ifo_read.c:1956 ***
*** for (pgci_ut->lu[i].exists & 0x07) == 0 ***

Revision history for this message
Michael Stempin (mstempin) wrote :
Download full text (7.7 KiB)

I have only found one DVD where it works.
Terminal output as follows and it works fine with menues and everything.

micha@xps-m1330:~$ totem dvd://
/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
** Message: no file info
libdvdread: Using libdvdcss version 1.2.10 for DVD access
Please send bug report - no VTS_TMAPT ??
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav: DVD Title: ALLES_UEBER_SCHWANGERSCHAFT
libdvdnav: DVD Serial Number: 2E8E6287
libdvdnav: DVD Title (Alternative): ALLES_UEBER_SCHWANGERSCHAFT
libdvdnav: Unable to find map file '/home/micha/.dvdnav/ALLES_UEBER_SCHWANGERSCHAFT.map'
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

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

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000130
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00000151
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00002243
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0010df83
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0010e024
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x001e3a4d
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x001e3a52
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x001ec33f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x001ec344
libdvdread: Elapsed time 0
libdvdread: Found 4 VTS's
libdvdread: Elapsed time 0
libdvdnav: RANDOM or SHUFFLE titles are NOT handled yet.
Please send bug report - no VTS_TMAPT ??
Preparing SPU change, phys 31 forced 1
Preparing audio change, phys 0
NAV packet discont: cur_end_ts 99:99:99.999999999 != vobu_start_ptm: 0:00:00.053622222 base 0:00:00.000000000
seek completed. New start TS 0:00:00.053622222 pos 0:00:00.000000000 (offset 0:00:00.053622222)
Pushing stream event
Pushing clut event
Pushing spu_select event
Pushing audio_select event
Audio physical ID change to 128
Discont packet
Pushing highlight event with TS 99:99:99.999999999
demux: got segment update 0 start 53622222 stop -1 time 0
sending new segment: update 0 rate 1 format 3, start: 10000000000, stop: -1, time: 0 scr_adjust: 895174(0:00:09.946377777)
First audio after flush has TS 0:00:10.000000000

(totem:9385): GLib-GObject-WARNING **: IA__g_object_get_valist: object class `GstPlayBin' has no property named `current-subpicture'
libdvdnav: RANDOM or SHUFFLE titles are NOT handled yet.
NAV packet discont: cur_end_ts 0:00:20.613622222 != vobu_start_ptm: 0:00:00.052000000 base 0:00:00.000000000
seek completed. New start TS 0:00:00.052000000 pos 0:00:00.000000000 (offset 0:00:00.052000000)
demux: got segment update 1 start 53622222 stop 20613622222 time 0
sending new segment: update 1 rate 1 format 3, start: 10000000000, stop: 30560000000, time: 0 scr_adjust: 895174(0:00:09.946377777)
dem...

Read more...

Revision history for this message
Michael Stempin (mstempin) wrote :

After digging a little further through my shlef of DVDs it seems like different DVDs give different errors and only a few (two to be exact, which are very old) actually work.

Revision history for this message
Michael Stempin (mstempin) wrote :
Revision history for this message
Michael Stempin (mstempin) wrote :
Revision history for this message
Michael Stempin (mstempin) wrote :

How do I attach more than one file to a bug report anyway?

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@JD, Michael,

Your problems seem to be different than what this bug was about i.e. no dvd menu against no dvd playback at all (in any player).

Can you please file separate bugs so that I can forward them to upstream with all information and link to upstream bugs.

Revision history for this message
spinstartshere (spinstartshere) wrote :

It was I who filed this bug in the first place! Are you asking me to create
a new report for this same problem I was originally having?

On Tue, Apr 14, 2009 at 4:09 PM, Onkar Shinde <email address hidden> wrote:

> @JD, Michael,
>
> Your problems seem to be different than what this bug was about i.e. no
> dvd menu against no dvd playback at all (in any player).
>
> Can you please file separate bugs so that I can forward them to upstream
> with all information and link to upstream bugs.
>
> --
> Cannot play DVDs - Could not open location; you might not have permission
> to open the file
> https://bugs.launchpad.net/bugs/342890
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “libdvdread” source package in Ubuntu: Fix Released
>
> Bug description:
> I am using Jaunty with all updates applied. I cannot play DVDs; when
> trying to do so in Totem I get the message "Could not open location; you
> might not have permission to open the file.". The following appears in
> Terminal:
>
> libdvdread: Using libdvdcss version 1.2.10 for DVD access
> libdvdread: Invalid title IFO (VTS_02_0.IFO).
> ** Message: Error: Could not read title information for DVD.
> resindvdsrc.c(333): rsn_dvdsrc_start ():
> /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
> system error: File exists
>

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

@JD,

I am sorry. My bad.

Do you have problems in other players as well, like VLC or mplayer. And is the error same? Did the PPA package ever fix the problem for you?

Revision history for this message
Michael Stempin (mstempin) wrote :

It does not work with mplayer or VLC either.
Error-outputs attached.

Revision history for this message
Michael Stempin (mstempin) wrote :
Revision history for this message
spinstartshere (spinstartshere) wrote :

I will have the same problem either with all media players on my system or
with none. I do not think the PPA package had an effect as DVDs do
sometimes work on my system.

On Tue, Apr 14, 2009 at 7:09 PM, Onkar Shinde <email address hidden> wrote:

> @JD,
>
> I am sorry. My bad.
>
> Do you have problems in other players as well, like VLC or mplayer. And
> is the error same? Did the PPA package ever fix the problem for you?
>
> --
> Cannot play DVDs - Could not open location; you might not have permission
> to open the file
> https://bugs.launchpad.net/bugs/342890
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “libdvdread” source package in Ubuntu: Fix Released
>
> Bug description:
> I am using Jaunty with all updates applied. I cannot play DVDs; when
> trying to do so in Totem I get the message "Could not open location; you
> might not have permission to open the file.". The following appears in
> Terminal:
>
> libdvdread: Using libdvdcss version 1.2.10 for DVD access
> libdvdread: Invalid title IFO (VTS_02_0.IFO).
> ** Message: Error: Could not read title information for DVD.
> resindvdsrc.c(333): rsn_dvdsrc_start ():
> /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
> system error: File exists
>

Revision history for this message
Michael Stempin (mstempin) wrote :

All with the same DVD (Harry Potter and the Philosopher's Stone ;-) )

Revision history for this message
Alexander Eberspächer (alex-eb) wrote :

Also doesn't work for me. Not anymore, it did yesterday with the same DVD.

Output of "totem dvd://":

/var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
** Message: no file info
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Invalid IFO for VMGM (VIDEO_TS.IFO).
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Invalid IFO for VMGM (VIDEO_TS.IFO).
** Message: Error: Could not read title information for DVD.
resindvdsrc.c(333): rsn_dvdsrc_start (): /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
system error: Input/output error

libdvdcss2 is installed.

Revision history for this message
pinzia (pinzia) wrote :
Revision history for this message
spinstartshere (spinstartshere) wrote :

 I don't think it is the same bug as the reporter of the one you linked to
said that the DVD plays initially. I don't even get this far before
failure.

On Fri, Apr 17, 2009 at 8:51 PM, Fox -ino <email address hidden> wrote:

> @JD, Michael,
>
> Your bugs is this?
> https://answers.launchpad.net/ubuntu/+source/totem/+question/55307
> I linked it's with
> https://bugs.launchpad.net/ubuntu/+source/totem/+bug/334466
>
> --
> Cannot play DVDs - Could not open location; you might not have permission
> to open the file
> https://bugs.launchpad.net/bugs/342890
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “libdvdread” source package in Ubuntu: Fix Released
>
> Bug description:
> I am using Jaunty with all updates applied. I cannot play DVDs; when
> trying to do so in Totem I get the message "Could not open location; you
> might not have permission to open the file.". The following appears in
> Terminal:
>
> libdvdread: Using libdvdcss version 1.2.10 for DVD access
> libdvdread: Invalid title IFO (VTS_02_0.IFO).
> ** Message: Error: Could not read title information for DVD.
> resindvdsrc.c(333): rsn_dvdsrc_start ():
> /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
> system error: File exists
>

Revision history for this message
fincan (ejderpencesi) wrote :

I have the same problem too. Welli I found a way aabout the problem. I removed the gstreamer codecs and totem-gstreamer, installed xine 1s. Before xine, I had tried vlc, smplayer too and they could not play dvds too. with xine, all works perfectly. so I think there s problem with gstreamer. But if "fix released", where is it :)?

Revision history for this message
Alexander Eberspächer (alex-eb) wrote :

The package from Onkar's PPA did not fix the problem for me. I am happy to provide further information that might help to fix the problem.

Revision history for this message
sunbird (sunbird) wrote :

I have a fresh 9.04 install and can confirm this bug. The fix works for me.

Revision history for this message
Ciarán Mooney (ciaran-mooney) wrote :

I have a new install of Jaunty and experiencing the same problem. The newer packaged that has been provided has not solved the problem.

This happens with similar or the same error messages in Xine, mplayer, vlc and totem.

Revision history for this message
Ciarán Mooney (ciaran-mooney) wrote :
Revision history for this message
Ciarán Mooney (ciaran-mooney) wrote :

Looking at the reports, and my own experiences the updated packed seems not to have solved the problem.

Changed in libdvdread (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
Erki Hallingu (erkiha) wrote :

I have the same problem with one DVD (Harry Potter and the Philosopher's Stone), other DVD-s I have seem to play fine. I also tried ppa libdvdread4 but it made no difference.

erki@siil:~/filmid $ aptitude show libdvdread4
Package: libdvdread4
State: installed
Automatically installed: yes
Version: 4.1.3-4ubuntu2

Revision history for this message
Ben Ahrens (ahrensben) wrote :

Is there a solution for this bug? I am also having an issue of being able to playback dvd's on two different computers I upgraded to Jaunty. Totem gives the error message of "Could not read from Source".

Revision history for this message
Francesco Duraccio (odo.) wrote :

I can confirm the same happen with a jaunty amd64 and a 32 bit release too.

un libdvdcss <non definita> (descrizione non disponibile)
un libdvdcss-dev <non definita> (descrizione non disponibile)
un libdvdcss0 <non definita> (descrizione non disponibile)
ii libdvdcss2 1.2.10-0.2medibuntu1 Simple foundation for reading DVDs - runtime libraries
un libdvdcss2-dev <non definita> (descrizione non disponibile)
ii libdvdnav4 4.1.3-3 DVD navigation library
ii libdvdread4 4.1.3-4ubuntu2 library for reading DVDs

Thx.

Revision history for this message
Joel (grandpajam) wrote :

I have a friend who is just starting with Ubuntu, but he gets this bug on a fresh install. Not a good first experience. It is a x86 system.

Revision history for this message
Paganini (nebanks) wrote :

This is very strange.

I have this bug on my Thinkpad T42 - at least, I get the error message that is in the name of this bug, and totem dvd:// spits out the same errors that others have reported.

However:

1. Some DVDs work. Kill Bill Vol. 2 worked fine last night.
2. Some DVDs do NOT work. For example, Shoot 'Em Up.
3. VLC and totem-xine are not affected. I can watch Shoot 'Em Up with totem-xine and VLC.

Revision history for this message
Nicolas (ngrzesitchak) wrote :

I had this behaviour (or one very similar to the original submitted by Francis) on my shiny new Ubuntu 9.04 laptop. After having set up the DVD drive "region code set" via regionset (+rebooted the system), totem and VLC were able to play DVDs.
It may not apply to every system, but may be worth a try anyway...

Revision history for this message
Ryusennin (ryusennin) wrote :

regionset has no effect on PS3 ;o)

Revision history for this message
Dishmaster (michael-michaeljwaters) wrote :

Regionset fixed it for me. I was only noticing the problem on some DVDs. My PC is home built and I had not set the region when I first built the system. Most DVDs worked ok. A few had issues which matched this topic.

Setting the region code seemed to do the trick.

:-)

I found this link useful too: https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs#Setting%20DVD%20Region%20Codes

Revision history for this message
Alexander Eberspächer (alex-eb) wrote :

Unfortunately, this doesn't do the trick for me.

I have my region code set and still can't play certain DVDs.

I am happy to provide more information if needed.

Revision history for this message
Mike Toscano (moj0rising) wrote :

I am in the same boat as AlexE. The strangest thing for me is that playing DVDs used to work just fine (without the region code set). Now those same DVDs do not work -- they play the copyright warnings and legal disclaimers and then stop with the error, "Could not open location; you might not have permission to open the file" in Totem I have tried other players too). This makes me lean towards the possibility that an update somewhere broke DVD playback on my machine.

- My region code is set properly (it matches my region and the region of the DVD's I am trying to play).
- I have the libdvdnav4, libdvdread4, gstreamer0.10-plugins-bad and gstreamer0.10-plugins-ugly and libdvdcss2 packages installed as described at https://help.ubuntu.com/9.04/musicvideophotos/C/video-dvd.html.
I checked my version on libdvdread4 and it matches the version number of the "PPA" package described earlier in the thread.
- I have tried several DVDs.
- I have tried Totem, Gxine, VLC, and Kaffeine players. All basically say the same thing (basically, I might not have permission...). Also, using strace while running Totem from the CLI, I see errors as below:

libdvdread: Invalid title IFO (VTS_02_0.IFO).
** Message: Error: Could not read title information for DVD.
resindvdsrc.c(333): rsn_dvdsrc_start (): /GstPlayBin:play/RsnDvdBin:source/resinDvdSrc:dvdsrc:
system error: Input/output error

Additionally, I get some other errors, such as:

*** libdvdread: CHECK_VALUE failed in ifo_read.c:862 ***
*** for pgc->cell_position_offset != 0 ***

*** Zero check failed in ifo_read.c:841
    for pgc->zero_1 = 0x8854

My system:
Ubuntu 9.04 Jaunty final with the latest packages
Lenovo 3000 N200 with stock DVD-RW drive.
1.5 GB RAM
Dual-core Pentium CPU

I would attach my strace log but it's 1.8 GB. Please let me know if more information is needed on this and I will supply it.

Thanks very much for your attention.

Revision history for this message
David Rettig (david-rettig) wrote :

Same issue, fresh install of 9.04 x64 on Dell XPS M1330.

Revision history for this message
tixetsal (tixetsal) wrote :

Ditto here. Fresh Jaunty amd64 install. What is the solution (condensed) to this problem?

Revision history for this message
RolfSander (sander-mpch-mainz) wrote :

One thing to try is to check that /dev/dvd exists and points to the DVD-drive, e.g. /dev/sr0.

Revision history for this message
Hugh (hugh-scantlebury) wrote :

Fresh Jaunty install fails on an Acer Aspire 5315 (Intel Celeron) for me too. VLC runs the menu screen but then that's all. All the necessary CODECs, libs etc. loaded.

Everything else appears fine.

Revision history for this message
Alexander Eberspächer (alex-eb) wrote :

RolfSander,

in my case, /dev/dvd exists and points to /dev/sr0. As we mentioned before, the problem occurs randomly with some DVDs, not with all. Nautilus happily lists all the DVD's contents, just opening them doesn't work.

Revision history for this message
Alexander Eberspächer (alex-eb) wrote :

Onkar, is anything going to happen about this bug? It certainly is an important one, but as a bug reporter I miss some information on what's going to happen next.

I am of course happy to provide more information on the bug if needed.

Cheers

Alex

Revision history for this message
Ben (bbackes) wrote :

Same problem, none of the fixes work. This is quite annoying; dvds worked fine on Intrepid for me.

Revision history for this message
Onkar Shinde (onkarshinde) wrote :

Apparently the fix I did to libdvdread in jaunty did not fix this problem correctly. The fix works for me but not for others. Also as mentioned here, the issue is not seen on all DVDs.
I am wondering if this has anything to do with endianness as specified in Debin bug 531621 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531621

Revision history for this message
Alexander Eberspächer (alex-eb) wrote :

I am happy to test a library with different endianness against my small DVD collection.

Revision history for this message
Avi Schwartz (le-avion) wrote :

Any progress on this bug? I am getting ready to toss out Jaunty and get back to Hardy.

Revision history for this message
cheer.skid (swirlinged) wrote :

How would I address the problem mentioned by RolfSander in comment #58, concerning the /dev/dvd folder?

Revision history for this message
LJanardhan (janardhan-iyengar) wrote :

Even i face the same problem.:( But it works when we open with MPlayer.

Revision history for this message
RolfSander (sander-mpch-mainz) wrote :

> How would I address the problem mentioned by RolfSander in comment #58, concerning the /dev/dvd folder?

cd /dev
sudo ln -s sr0 dvd

For reasons I don't understand, I have a link "/dev/dvd1" pointing to "/dev/sr0" but not a link "/dev/dvd". Only after creating it manually (see above) xine finds the DVD. After rebooting, I may have to create /dev/dvd again.

Revision history for this message
spinstartshere (spinstartshere) wrote :

Here's a question for you all. Is anybody who's commented on this bug using a 64-bit OS? I had the issue on a 32-bit OS, but for the last three weeks I've been using 64-bit Ubuntu on two different computers (one of these the one I had the original problem on) and so far I've experienced no problems. I know I'm probably jinxing myself here, but still.

Revision history for this message
LJanardhan (janardhan-iyengar) wrote :

Well I use 64 bit Jaunty.

Revision history for this message
cheer.skid (swirlinged) wrote :

Thanks, fixing the /dev/dvd sr0 problem settled it for me.

Revision history for this message
Avi Schwartz (le-avion) wrote :

Onkar Shinde's version of libdvdread4 seems to have fixed this problem for me.

Revision history for this message
Avi Schwartz (le-avion) wrote :

I forgot to mention that I am using the 32bit version of Jaunty.

Revision history for this message
michaeltibbsjr (miketibbsjr) wrote :

I think it's got something to do with copy protection on the DVD's themselves. Older disks work fine, and recorded disks work as well.

Revision history for this message
Jochem (jochem-dobbelaere) wrote :

re-installing libdvdcss2 did the playing trick for me
still non-sync on the dvd-menu for latest/newest dvd's though

Revision history for this message
Tobi (protobi) wrote :

Hi all,
I had exactly the error message described at the begin of this bug report. My system is a Lenovo X301 fresh set up uf Ubuntu 9.04. I tried several players and non of them worked.
The problem was in my case the regionset. Just installed the regionset with Synaptic Package Manager.
- Enter in terminal: regionset
- Program will promt for region code: I entered 2 (in my case)
- Reboot

And it works know for all players!

Just in case someone has the same set up.

Revision history for this message
phillywolf22 (tharakan22) wrote :

tobi's solution worked for me. Region set is 1 for USA. Installed regionset from terminal, set to 1, reboot and it works. Thanks.

Revision history for this message
NetMc (mccoolmg) wrote :

Ubuntu bug 347045 looks like it is a similar error message.

This is for Xubuntu with all the libdvd, decss, and other necessary codecs installed to play encrypted DVDs.

Opening a terminal window and running "totem dvd://" works fine, running totem and manually playing the DVD works fine.

--------------

I finally found what causes the "Could not open location; you might not have permission to open the file" when auto playing a DVD. In XFCE, go to the Removable Drives and Media setting (Applications, Settings) and then on the multimedia tab, change the default command for Video CDs/DVDs from "totem dvd:/" to "totem dvd://"

The last slash is missing for some reason. Once I added the second / to the command, totem worked flawlessly when auto playing a DVD. I am using totem with the gstreamer backend and not xine.

Matt Zimmerman (mdz)
Changed in libdvdread (Ubuntu):
milestone: ubuntu-9.04-beta → none
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi; there hasn't been comments on this bug for a couple years; is anyone still experiencing this issue?

Changed in libdvdread (Ubuntu):
assignee: Onkar Shinde (onkarshinde) → nobody
status: In Progress → Incomplete
Revision history for this message
Michal Predotka (mpredotka) wrote :

Hi Bryce.
I just tried with fresh install of 11.10. This bug is still present unfortunately.

Revision history for this message
Michal Predotka (mpredotka) wrote :

Although, if I first start Totem and from menu I select the video on disk, it plays OK.

Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for the feedback mmiicc. I notice though that you haven't commented previously on this bug report, so am not sure about your specific situation - can you elaborate on how you're experiencing the bug, including which DVD you're testing it with? Since you mentioned that it worked in Totem I'm wondering if you might have an unrelated bug. You mentioned you tried 11.10, did you also experience it with earlier versions (if so, which?)

Can anyone else confirm or deny the bug still existing?

Changed in libdvdread (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Michal Predotka (mpredotka) wrote :

Hi Bryce, I haven't commented before because I've just marked this bug as “affects me”. I experience it as long as I remember (for at least 2 years).

I've just checked with some random VideoCD from cornflakes pack or somewhere. In attachment there's short screencast. It shows my desktop from time when I put the disk into my machine. After about 15s a dialog appears which ask me what to do with the disc. I'm selecting “open with Totem”. Then Totem starts with the message “Could not open location; you might not have permission to open the file." I close the warning and select from File menu to open that film. After that it starts playing just fine.

I noticed different name in “Now playing” list when video plays well and when it does not play.

Beware: It's all in Polish, so my English translations of errors and messages might not be accurate.

Revision history for this message
Simon Reed (xubuntu-o) wrote :

@Bryce Harrington: "Hi; there hasn't been comments on this bug for a couple years; is anyone still experiencing this issue?"

Yes.

Xubuntu 13.04
Parole 0.5.0
xubuntu-restricted-extras is installed.
libdvdread4 is installed.
libdvdcss2 is installed
Installed RegionSet; region was already set (correctly) to 2.

I had no /dev/dvd but do have a /dev/dvd4

I did:
cd /dev
sudo ln -s sr0 dvd

and Parole started working.

Revision history for this message
JB VideoLAN (jb-videolan) wrote :

And your bug is unrelated to the OP, if a ln -s fixed it...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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