Chapter support in Matroska (MKV) video containers?

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
waldo22 Offline
Donor
Posts: 764
Joined: Sep 2007
Reputation: 2
Location: Chapel Hill, NC, USA
Post: #16
I'm glad you added your support, Nate. I'm honestly surprised that no one else seems to think this is a useful feature.

Maybe it's just extraordinarily difficult to do?

Wes
find quote
pike Offline
Project Manager
Posts: 4,868
Joined: Sep 2003
Reputation: 29
Location: Sweden
Post: #17
+1 Smile I recently muxed some chapters into a Concert. Hopefully it won't be long now till a Dev adds chapter support incl "title" support for chapters

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
waldo22 Offline
Donor
Posts: 764
Joined: Sep 2007
Reputation: 2
Location: Chapel Hill, NC, USA
Post: #18
This would probably have to be done in DVDPlayer, right?

Do you think it's a simple matter of DVDPlayer "catching" and handling the |<< and >>| buttons for non-DVD content, jumping to the previous or next chapter's timestamp, and refilling the buffers, or is it something that will have to be implemented in the demuxer (ie. does ffmpeg have to support it?)

Wes
find quote
natethomas Offline
Team Kodi Community Manager
Posts: 3,957
Joined: Apr 2008
Reputation: 68
Location: Kansas
Post: #19
I know the Media Control Plugin for Vista

http://damienbt.free.fr/index.php

has support for mkv chapters. The impression I get is that the requisite chapter coding comes from Haali splitter

http://damienbt.free.fr/phpBB2/viewtopic.php?t=275

I don't know much beyond that. XBMC doesn't use haali splitter for audio streams purposes, right?
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Smile  it is only a matter of time now...
Post: #20
FYI; FFmpeg just added support for chapters in MKV containers to their SVN two days ago, so it should now hopefully not be too much work for XBMC developers to add support for it to our DVDPlayer video-player core, handled the same way as IFO-VOB/DVD-Video chapters, (but I do not know about our MPlayer video-player core).
http://lists.mplayerhq.hu/pipermail/ffmp...html#46915
http://lists.mplayerhq.hu/pipermail/ffmp...46915.html


natethomas Wrote:XBMC doesn't use haali splitter for audio streams purposes, right?
No, XBMC only use native code (FFmpeg), and not DirectShow. Read this.
No external decoders or demuxers/splitters is possible to plugin like that.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Thumbs Up  Chapter support for MKV files
Post: #21
It is now in the XBMC SVN, thanks elupus!
Quote:[Xbmc-svn] SF.net SVN: xbmc: [13293] trunk/XBMC/xbmc/cores/dvdplayer

Revision: 13293
Author: elupus
Date: 2008-05-28 16:04:26 -0700 (Wed, 28 May 2008)

added: chapter support for mkv files.

Modified Paths:
--------------
trunk/XBMC/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemux.h
trunk/XBMC/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.cpp
trunk/XBMC/xbmc/cores/dvdplayer/DVDDemuxers/DVDDemuxFFmpeg.h
trunk/XBMC/xbmc/cores/dvdplayer/DVDPlayer.cpp
trunk/XBMC/xbmc/cores/dvdplayer/DVDPlayer.h

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
waldo22 Offline
Donor
Posts: 764
Joined: Sep 2007
Reputation: 2
Location: Chapel Hill, NC, USA
Post: #22
I'm ecstatic! Thanks, elupus!

And thanks Gamester for noticing this in the ffmpeg svn.

-Wes
find quote
pike Offline
Project Manager
Posts: 4,868
Joined: Sep 2003
Reputation: 29
Location: Sweden
Post: #23
not long now till it hits linux branch Smile

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
buges Offline
Fan
Posts: 335
Joined: Apr 2007
Reputation: 0
Location: UK
Post: #24
I see now that chapters for Matroska is in the svn, but i cant seem to get them to work. I bring up the dvdplayer osd & try to jump to a chapter & it takes me back to my videos page.

Tried playing it with mplayer & dvdplayer

I checked my test video & the chapters work fine using vlc media player on the pc.

I have i missed something ?
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Post: #25
Matroska chapters are not yet supported under XBMC for Xbox, only for XBMC for Linux, Mac OS X, and Windows, ...or?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
buges Offline
Fan
Posts: 335
Joined: Apr 2007
Reputation: 0
Location: UK
Post: #26
Sorry I didnt realise that.
find quote
pike Offline
Project Manager
Posts: 4,868
Joined: Sep 2003
Reputation: 29
Location: Sweden
Post: #27
try to use 'Long Seek' (dpad Up)=Chapter fwd, see if that makes a difference
afaik, We no longer rely on >| in OSD to change chapter

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
waldo22 Offline
Donor
Posts: 764
Joined: Sep 2007
Reputation: 2
Location: Chapel Hill, NC, USA
Post: #28
What are the chances of getting this into the xbox build?

I don't even have the xbox controller, I only use the remote, so how would I do chapter fwd with that?

In a DVD, using DVDPlayer, I use the >| key on my remote control (Yamaha Home Theater remote programmed for RCA DVD Player) and it skips forward to the next chapter.

Is this not the way it works in the other builds?

-Wes
find quote
elupus Offline
Team-XBMC Developer
Posts: 3,804
Joined: Mar 2004
Reputation: 3
Post: #29
Well, i initially didn't add it that way. Up/Down skips chapters instead of doing large seeks when file supports chapter.

I've now also added so the >| works fine for non dvd's with chapters, which didn't work before.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
waldo22 Offline
Donor
Posts: 764
Joined: Sep 2007
Reputation: 2
Location: Chapel Hill, NC, USA
Post: #30
elupus Wrote:Well, i initially didn't add it that way. Up/Down skips chapters instead of doing large seeks when file supports chapter.

I've now also added so the >| works fine for non dvd's with chapters, which didn't work before.

Thanks elupus.

The "up/down" works well on my xbox, I just didn't know how to do it.

I think the >| will be nice too, though.

Wes
find quote
Post Reply