Implementation of Matroska segment linking, ordered chapters and editions featur
#1
Name: Ilya Zhuravlev
forum/e-mail: xyzz, whatever [at] xyz . is
Summary: The goal of this project is to implement the long-missing (http://forum.kodi.tv/showthread.php?tid=55764, http://trac.kodi.tv/ticket/8811, http://trac.kodi.tv/ticket/13626) MKV features such as segment linking, ordered chapters and editions. The summary of these features can be found here http://mod16.org/hurfdurf/?p=8 and Matroska spec provides further information http://matroska.org/technical/specs/index.html http://matroska.org/files/matroska.pdf
How will I achieve this: The idea is to implement a virtual video timeline that supports seamless transition between different video files. After that's done it shouldn't be hard to implement a parser for MKV ordered chapters format that builds this timeline, different for each edition.
What will the project focus on: The correct and working implementation of the specified features, matching the spec.
Benefits: While this is not one of the most used MKV features, there are some files floating around that use it, and some users expressed their interest (see linked forum thread). Currently Kodi ignores ordered chapters and simply plays video+audio tracks present in a .mkv, which usually results in opening/ending parts of the video being skipped as these are most often cut into different files.
Goals: Support for a virtual video timeline takes the first place, then go segment linking and ordered chapters. The final goal is to support Matroska editions.
What does it touch in Kodi: This should only affect DVDPlayer. I think it's DVDDemuxFFmpeg.cpp/h that most of the changes will go to, however I'm not really familiar with the codebase.
Requirements: C++, some ffmpeg API and MKV spec knowledge.
Possible mentors: Place to add possible mentors (Team-Kodi will add this).
Reply
#2
No offense, but I would think that is a way too small project for a whole summer of GSOC, or should something this really take a whole summer of work?

And doesn't this really belong more in upstream FFmpeg than instead of in Kodi itself?

http://www.google-melange.com/gsoc/org2/...015/ffmpeg
https://trac.ffmpeg.org/wiki/SponsoringP.../GSoC/2015

Also, is not demuxer/parser for this already implemented in FFmpeg or Libav, and is in MPlayer since a long time ago, and if so could be copied to Kodi?

https://www.ffmpeg.org/ffmpeg-formats.ht...c-ssegment
Reply
#3
Whether it belongs upstream or not isn't necessarily an issue. If it benefits Kodi, it's worth considering. With that said, having a conversation about the amount of work involved is certainly worthwhile. GSOC allows for both highly skilled and beginner devs, so a project that might be a few weeks for one person can be a few months for another, and that's not really a huge problem, so long as we get a good idea of the coding skill and the amount of time necessary at the outset.
Reply
#4
(2015-03-09, 13:46)Hedda Wrote: Also, is not demuxer/parser for this already implemented in FFmpeg or Libav, and is in MPlayer since a long time ago, and if so could be copied to Kodi?

https://www.ffmpeg.org/ffmpeg-formats.ht...c-ssegment
I think you misunderstood that page. I has nothing to with segment linking and ordered chapters in matroska. The spec for this was created pre-2007 or something and that request thread is from 2009 counting 10 pages, yet nobody has managed to implement it. I don't think it's something you do over the weekend. And the 'editions' feature at least will require GUI integration with kodi to be able to choose the edition to play.
Reply

Logout Mark Read Team Forum Stats Members Help
Implementation of Matroska segment linking, ordered chapters and editions featur1