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 668083 - [resindvd] Allow to specify chapter/title in the DVD URI
[resindvd] Allow to specify chapter/title in the DVD URI
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-17 10:11 UTC by Olivier Aubert
Modified: 2018-11-03 13:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Aubert 2012-01-17 10:11:54 UTC
resindvd uses the following URI syntax: dvd://[/path/to/dev]
It is often useful to be able to specify the desired chapter/title of the DVD. VLC uses the following syntax:

dvd://[<device>][@<raw device>][@[<title>][:[<chapter>][:<angle>]]]

which could be implemented (at least partly, for title and chapter) in the resindvd player.  For the record, mplayer uses 

dvd://[<title>] with an additional -chapter option

and xine uses a number of syntaxes:
    dvd:/[device_name][/title[.part]]
    dvd:/DVD_image_file[/title[.part]]
    dvd:/DVD_directory[/title[.part]] 
    (use the path of the directory which contains VIDEO_TS) 
which seem invalid URI-wise (it would give dvd://dev/dvd/1.2, while it should be either dvd:///dev/dvd or dvd:/dev/dvd) and fragile (if someone has the strange idea to name its DVD device with a number, it cannot be distinguished from the title part without probing the device first).

The VLC syntax looks like the sanest option.
Comment 1 Olivier Aubert 2012-01-18 22:02:33 UTC
A complement of information: the resindvdbin.c code actually has some code to implement title/chapter/angle encoding in the URI, but it is #ifdef-ed out (looks like it uses a syntax like dvd://[<device>],<title>,<chapter>,<angle>

And thinking about it, another syntax could be:
dvd://[<device>]#title=<title>&chapter=<chapter>&angle=<angle>
i.e. using common URI fragment syntax (or query), using named parameters.

This could be handled by extending the URI parsing code already present gstreamer (gsturi.c), so that it can split a URI into protocol / path / fragment / parameters.
Comment 2 GStreamer system administrator 2018-11-03 13:10:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/58.