After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172941 - No way to play a ripped DVD
No way to play a ripped DVD
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: GStreamer backend
0.100
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks: 309714
 
 
Reported: 2005-04-07 12:36 UTC by Michaël Arnauts
Modified: 2005-08-23 17:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michaël Arnauts 2005-04-07 12:36:46 UTC
There is no way to play a dvd that is ripped (with dvdbackup) to the hard disk. 

Filelisting:
.:
total 4
drwxr-----  2 michael remote 4096 2005-01-22 00:11 VIDEO_TS

./VIDEO_TS:
total 6916948
-rw-r-----  1 michael remote      12288 2005-01-21 23:55 VIDEO_TS.BUP
-rw-r-----  1 michael remote      12288 2005-01-21 23:55 VIDEO_TS.IFO
-rw-r-----  1 michael remote   20125696 2005-01-21 23:55 VIDEO_TS.VOB
-rw-r-----  1 michael remote      88064 2005-01-21 23:55 VTS_01_0.BUP
-rw-r-----  1 michael remote      88064 2005-01-21 23:55 VTS_01_0.IFO
-rw-r-----  1 michael remote  322711552 2005-01-21 23:56 VTS_01_0.VOB
-rw-r-----  1 michael remote 1073498112 2005-01-21 23:59 VTS_01_1.VOB
-rw-r-----  1 michael remote 1073444864 2005-01-22 00:02 VTS_01_2.VOB
-rw-r-----  1 michael remote 1073600512 2005-01-22 00:05 VTS_01_3.VOB
-rw-r-----  1 michael remote 1073512448 2005-01-22 00:06 VTS_01_4.VOB
-rw-r-----  1 michael remote  753838080 2005-01-22 00:08 VTS_01_5.VOB
-rw-r-----  1 michael remote      36864 2005-01-22 00:08 VTS_02_0.BUP
-rw-r-----  1 michael remote      36864 2005-01-22 00:08 VTS_02_0.IFO
-rw-r-----  1 michael remote      10240 2005-01-22 00:08 VTS_02_0.VOB
-rw-r-----  1 michael remote 1073309696 2005-01-22 00:11 VTS_02_1.VOB
-rw-r-----  1 michael remote  611649536 2005-01-22 00:12 VTS_02_2.VOB

Since there is no way to open a folder itself, and cluttering the GUI with a to
open folders doesn't look good, perhaps it should be done when opening a .IFO-file?
Comment 1 Bastien Nocera 2005-04-07 13:00:07 UTC
You need to open the directory you named ".". You can drag'n'drop it on the
video canvas, or open it with the various "Open..." dialogs.
Comment 2 Michaël Arnauts 2005-04-07 13:17:04 UTC
Hmm, it seems to have some bugs... 
I can't open ".", since it isn't shown in the new gtk filechoser. Dragging the
folder doesn't work, i get this message:

michael@mayco:~$ totem
art_render_invoke: no image source given
art_render_invoke: no image source given
libdvdread: Using libdvdcss version 1.2.8 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
ERROR (0x8084088 - 309133:15:48.411109000)      dvdreadsrc(25829)
dvdreadsrc.c(589):_open: Couldn't open DVD: /dev/dvd
ERROR (0x8084088 - 309133:15:48.411645000)     playbasebin(25829)
gstplaybasebin.c(1656):gst_play_base_bin_change_state:<play> cannot open file
"dvd:///mnt/bestanden/DVD/GOODWILL"

when i drag the folder while there is a dvd in the drive, it starts playing that
dvd in the drive instead the dragged one.
Comment 3 Ronald Bultje 2005-04-07 14:05:43 UTC
Uh, so you put the dir in the URI? Hm... We don't support that, we only play the
device given to BVW... Will implement.
Comment 4 Michaël Arnauts 2005-06-12 08:43:08 UTC
Little more information about this:

I dragged the folder that contains the VIDEO_TS to totem and got this error:

Totem could not play 'dvd:///mnt/extra/Films - DivX/DVDR/TAXI_2'.
Element doesn't implement handling of this stream. Please file a bug.

This is the output on the commandline:
michael@mayco:~$ totem
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
ERROR (0x8080088 - 310712:40:14.519173000)      dvdreadsrc(10773)
dvdreadsrc.c(655):_open: Couldn't open DVD: /dev/dvd

It looks like libdvdread is hardcoded to /dev/dvd or something, because there is
no reason why it should look at /dev/dvd when i drag a folder to it.

There should also be a way to open the DVD from the GUI. You can't open a folder
from the GTK filechooser.
Comment 5 Ronald Bultje 2005-06-12 09:23:50 UTC
So, the issue is this: when opening the folder, we should set the 'device' or
'path' to that directory. However, our dvdread plugin always sets it to the
device, which we set to the cdrom device.

I don't want to abuse the URI to provide a directory, really; I was going to
abuse it for titles already, as long as we don't support menus. :-p. But a quick
workaround would be to set the cd device gconf key for totem to that directory.
Comment 6 Michaël Arnauts 2005-06-27 12:07:40 UTC
I've found out that is do work with the xine-backend. Maybe this is a bug for
the gstreamer libdvdread plugin?
Comment 7 Bastien Nocera 2005-08-23 17:46:38 UTC
Meanwhile, let's abuse it.

2005-08-23  Bastien Nocera  <hadess@hadess.net>

        * src/backend/bacon-video-widget-gst.c:
        (bacon_video_widget_finalize),
        (bacon_video_widget_open_with_subtitle),
        (bacon_video_widget_set_subtitle_font):
        simplify the _finalize code, don't set the subtitle font if the
        property isn't available, handle "dvd://<dir>" urls (Closes: #172941)
        * src/totem-mozilla-plugin.cpp: simplify the while loop waiting for the
        service to be up, add the version in the plugin description,
        don't create the mime-list more than once to avoid leaking every time
        about:plugins is reloaded (Closes: #313864)