GNOME Bugzilla – Bug 668083
[resindvd] Allow to specify chapter/title in the DVD URI
Last modified: 2018-11-03 13:10:24 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.
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.
-- 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.