Page 1 of 1

MkV ordered chapters - Chapter-Segment-Linking

Posted: 18 Feb 2017 03:04
by hubblec4
Hello VLC users and developers

I'm the developer of chapterEditorhttps://forum.doom9.org/showthread.php?t=169984.
In this forum some user's reported that multi-edition-mkv's (created with the Multi-Editon_Editor(BD2mkv) of chapterEditor) plays fine in VLC.

VLC is not my favorite player but I'm interested in all Matroska stuff and so I tested the last nightly(vlc-3.0.0-20170217-0448-git-win64).

A single mkv with multi editions plays fine, but I use very often Chapter-Segment-Linkings to combine much mkv files in a "menu"-start.mkv file.
here a link: http://forum.gleitz.info/attachment.php ... 1485686941

When I open such a menu.mkv (created with the Matroska Menu Editor of chapterEditor), then plays the first editons which contains all mkv-files(episodes) via Chapter-Segment-Linking(CSL). - all plays good and chapter selecting and time selection works.
After I change the edition (Playback->Title) to the second edition which contains only the first episode.mkv(agian via CSL), it works also.
But every next edition which contains the next episode.mkv, VLC hangs up.
I set in the settings: Preload clusters = true, but VLC crashes on loading the menu.mkv file. Disabled the Chapter Codec option had no effect.

I report this because I tested an earlier nightly version and there I could not start the menu.mkv. Nice to see such upgrades.

After a while playing with VLC I found a great feature. https://wiki.videolan.org/Matroska/
Module options: --mkv-use-chapter-codec
WOW!
Is there a documantion available?

Best regards
hubble

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 18 Feb 2017 13:21
by Jean-Baptiste Kempf
When I open such a menu.mkv (created with the Matroska Menu Editor of chapterEditor), then plays the first editons which contains all mkv-files(episodes) via Chapter-Segment-Linking(CSL). - all plays good and chapter selecting and time selection works.
After I change the edition (Playback->Title) to the second edition which contains only the first episode.mkv(agian via CSL), it works also.
But every next edition which contains the next episode.mkv, VLC hangs up.
I set in the settings: Preload clusters = true, but VLC crashes on loading the menu.mkv file. Disabled the Chapter Codec option had no effect.
Can you file a bug on our bugtracker, with a link to the sample, with all the related files?

We reworked quite a bit the MKV demuxer in 3.0, and we might need to improve a bit more.

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 18 Feb 2017 17:38
by hubblec4
Can you file a bug on our bugtracker, with a link to the sample, with all the related files?
There is one problem, the files(episodes) have full Bluray content and are 7GB big. An upload is with my DSL-1000 (yes only 1000) too slow for such uploads. I can cut out of every episode a part, the menu should work, but with shorter play times.
I'm very new to VLC, where I can find the bugtracker?
We reworked quite a bit the MKV demuxer in 3.0, and we might need to improve a bit more.
Thats sounds soo greatful and are the best news I had read in the last years. Thumps UP!!

I have much experiences with ordered editions/chapters, Chapter-Segment-Linking, nested chapters(also ordered-nested-chapters).
After many hours of studing of DVDMenuXtractor's output (Menu.xml), I almost understand the Matroska-DVD-Sytem.
The Matroska-DVD-System is very hugh and complex and to use this, to create User-menu's, is a lot of work necessary and maybe it is to "overdosed".

I like the imagine that we can use the Matroska-Native-Menu system. For the moment exists only one command (GoToAndPlay("ChapterUID");).
It would be so great when this feature is avilable. I could improve my Matroska Menu Editor to generate better navigateable menu's.
One thing which we need too are the VOB-Buttons, to navigate directly in the player screen.

I was last year in Berlin at the "No Time To Wait" symposium of Matroksa, I spoke a bit with Steve Lhomme.
One topic was the Chapter Codec which is necessary to interpret all the Binary commands(ChapProcessCodecID,ChapProcessPrivate,ChapProcessTime,ChapProcessData,
SegmentFamily,ChapterTranslateEditionUID,ChapterTranslateCodec,ChapterTranslateID)

I see in the VLC mkv demuxer a checkbox "Chapter codecs". Please could you explain me what excatly the VLC-mkv demuxer do with this feature?
Which EBML elements will be read and how will the data processed.


Best regards
hubble

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 18 Feb 2017 20:15
by Lotesdelere
There is one problem, the files(episodes) have full Bluray content and are 7GB big. An upload is with my DSL-1000 (yes only 1000) too slow for such uploads. I can cut out of every episode a part, the menu should work, but with shorter play times.
You can do a binary cut with DGsplit, read here about how to do it:
viewtopic.php?f=14&t=57724&p=193335#p193335
50 MB max should be enough.

Then upload the sample file to either http://streams.videolan.org/upload/ or to Zippyshare.com (200 MB max) or to EmbedUpload.com, the latter will upload the file for you to several other hosts and then post the link to the file.

I'm very new to VLC, where I can find the bugtracker?
https://trac.videolan.org/vlc

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 18 Feb 2017 20:56
by hubblec4
Thanks for the bugtracker link.

Cuting and uploading is a simple procedure and well known.

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 19 Feb 2017 03:05
by hubblec4
I have create a sample with the Menu.mkv and 3 episodes cutted with DGSplit.
The issue occurs like expected.
The play time of the files is shown to the full length (46:32) but plays only 6 or 7 seconds.
I tested it with MPC-HC and LAV: After reaching the end of the first cutted mkv file stops the playing, but VLC jump to the next cutted file (and jump in the timeline) and plays on. +1 for VLC

I will upload tomorrow the sample.

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 19 Feb 2017 12:32
by hubblec4
The sample is uploaded with the http://streams.videolan.org/upload/

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 19 Feb 2017 12:56
by hubblec4

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 19 Feb 2017 19:33
by Jean-Baptiste Kempf
Thanks. Care to do a bugreport?

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 21 Feb 2017 13:44
by Jean-Baptiste Kempf
Hello VLC users and developers

I'm the developer of chapterEditorhttps://forum.doom9.org/showthread.php?t=169984.
In this forum some user's reported that multi-edition-mkv's (created with the Multi-Editon_Editor(BD2mkv) of chapterEditor) plays fine in VLC.

VLC is not my favorite player but I'm interested in all Matroska stuff and so I tested the last nightly(vlc-3.0.0-20170217-0448-git-win64).

A single mkv with multi editions plays fine, but I use very often Chapter-Segment-Linkings to combine much mkv files in a "menu"-start.mkv file.
here a link: http://forum.gleitz.info/attachment.php ... 1485686941

When I open such a menu.mkv (created with the Matroska Menu Editor of chapterEditor), then plays the first editons which contains all mkv-files(episodes) via Chapter-Segment-Linking(CSL). - all plays good and chapter selecting and time selection works.
After I change the edition (Playback->Title) to the second edition which contains only the first episode.mkv(agian via CSL), it works also.
But every next edition which contains the next episode.mkv, VLC hangs up.
I set in the settings: Preload clusters = true, but VLC crashes on loading the menu.mkv file. Disabled the Chapter Codec option had no effect.

I report this because I tested an earlier nightly version and there I could not start the menu.mkv. Nice to see such upgrades.

After a while playing with VLC I found a great feature. https://wiki.videolan.org/Matroska/
Module options: --mkv-use-chapter-codec
WOW!
Is there a documantion available?

Best regards
hubble
Issue is fixed for 3.0.0

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 21 Feb 2017 23:51
by hubblec4
Very nice, I will test it.

@ Jean
Is there a chance to get an answer / infos for my questions for topic "Chapter-Codec".
A link to a document or to the source code would be nice.

hubble

Re: MkV ordered chapters - Chapter-Segment-Linking

Posted: 24 Feb 2017 18:00
by hubblec4
Hi Jean

I have tested the last nightly vlc-3.0.0-20170220-0448/ but the test sample don't work nor my full mkv files.