GNOME Bugzilla – Bug 163546
generalize dvd-event API
Last modified: 2013-03-15 15:36:55 UTC
The DVD event API is used to seek across titles, chapters and such. The title seeks are currently unused (since that's handled by menus; which GStreamer's backend doesn't support). The checks for enabling the chapter menu-items are a simple is-dvd. This could be generalized, so that VCD menus work, and so that we can use add menu items as an alternative way to seek in supporting streams (quickkeys rock!). This can be DVDs, but also audio-CDs and chained Oggs. Maybe we can use this for audio files with supporting .cue files as well. Basically, we'd need a function to query whether seeking across titles/chapters (or whatever we call this) is supported in the stream (DVD: both yes, VCD, chained ogg, audio CD: only title - depending on backend of course), and the dvd_event function would need to be renamed to be somewhat less DVD-specific.
Ronald, could you give away a couple of test streams/files (thinking of chained oggs, mkv files, etc.) that would support title/chapter seeking?
Ronald, any news on those test streams?
Ogg: http://gstreamer.freedesktop.org/media/small/multi.ogg Matroska: can't find any right now...
*** Bug 310645 has been marked as a duplicate of this bug. ***
*** Bug 319765 has been marked as a duplicate of this bug. ***
Here is a matroska sample with chapters (chapters works well with Media Player Classic on Windows): http://www.matroska.org/samples/matrix/Matrix.Reloaded.Trailer-RV9-Karl640x432_HE_AAC_subtitled_chapters.mkv (http://www.matroska.org/samples/matrix/index.html)
This is another file with bookmarks (and broken video in xine-lib): http://downloads.oreilly.com/make/MAKE_2005-07-18.m4b
We can use XINE_STREAM_INFO_HAS_CHAPTERS.
This bug is for Matroska support: http://sourceforge.net/tracker/index.php?func=detail&aid=1555636&group_id=9655&atid=109655
*** Bug 371579 has been marked as a duplicate of this bug. ***
Any news on this one? Currently on linux/*BSD only vlc supports chapters with a nice dropdown-list (but it badly crashes for me when using mkv files), mplayer recently got chapters support for matroska files but no nice list, only "go to next/previous chapter". So it would be nice if totem could support chapters of matroska files. Any hint of what had to be done to add support? Are changes in gstreamer required?
(In reply to comment #11) <snip> > Any hint of what had to be done to add support? Are changes in gstreamer > required? Yes, turns out it's not implemented in GStreamer either.
There's an example file for matroska at: http://code.google.com/p/xnoise/issues/detail?id=91
Fixed in master. This only currently works for Matroska and CUE files (as can be seen from the blocker bugs). commit 20800ab4f5bdd68e23629805881e3890ff785000 Author: Bastien Nocera <hadess@hadess.net> Date: Fri Mar 15 15:44:20 2013 +0100 backend: Add support for non-DVD chapters We can now use the previous/next buttons and shortcuts to navigate chapters within Matroska files (and within other supported file types). https://bugzilla.gnome.org/show_bug.cgi?id=163546