Log in

View Full Version : Matroska - how add command chapter in globaltags?


Jamaika
21st July 2015, 09:06
Hi
I would like to add the command to the description. The description have be interactive. Is it possible after pressing the string skip to a specific chapter?
<!-- <!DOCTYPE Tags SYSTEM "matroskatags.dtd"> -->
<Tags>
<Tag>
<Targets>
<TargetTypeValue>50</TargetTypeValue>
</Targets>
<Simple>
<Name>TITLE</Name>
<String>Wakacje</String>
<TagLanguage>und</TagLanguage>
<DefaultLanguage>1</DefaultLanguage>
</Simple>
<Simple>
<Name>ARTIST</Name>
<ChapterUID>13324365155494188934</ChapterUID>
<String>Jamaika</String>
<ChapterUID>45965983733432334345</ChapterUID>
<String>Fiołek</String>
<TagLanguage>und</TagLanguage>
<DefaultLanguage>1</DefaultLanguage>
</Simple>
</Tag>
</Tags>

ndjamena
21st July 2015, 09:16
As far as I'm aware Matroska doesn't officially support anything like that.

You can't press a tag for one thing. Tags aren't material objects, they're ethereal bits of floating data.

For another, all play controls are in the actual chapters. If you want to skip a chapter you either use Ordered Chapters or there's a script that so far has only one command that tells the player to seek to another chapter, but it's not interactive.

ndjamena
21st July 2015, 09:20
I don't know what you're trying to do there either. The tags you're trying to make are invalid. There's no ORDER in tags, it doesn't go from one line to the next. You've added two strings and two chapter UIDs to a single tag, that just means the "string" will be applied to those two chapters, but since you've added two strings it's not a valid Matroska tag anyway.

hubblec4
21st July 2015, 09:56
Hi Jamaika

like I said in the VideoHelpForum, Matroska Tags are not the way for interactive communication between Player and file.
You need the chapters.xml for that.

When i interpret your doing, you will select a Tag and then should play this chapter which you specified. Thats not possible!!!

Jamaika
21st July 2015, 09:56
Thanks for the quick reply.
One artist I wanted to be assigned to a specific chapter, the second to another chapter.
I know you can assign link URL.
I don't know, which means last modified muxer mkvmerge:
* MKVToolNix GUI: chapter editor enhancement: the template for chapter names can now contain a number of places for the chapter number, e.g. '<NUM:3>'. The number will be zero-padded if there are less places than specified.

hubblec4
21st July 2015, 10:09
Thanks for the quick reply.
One artist I wanted to be assigned to a specific chapter, the second to another chapter.
Yes thats the way. with the chapter.xml you can do this very simple. You can create an edition with ordered chapters and the chapter_points you need, and then a second edition.
Then you can create a Tags file which correspond to the two editions.


I know you can assign link URL.
Where you get this information?



I don't know, which means last modified muxer mkvmerge:
* MKVToolNix GUI: chapter editor enhancement: the template for chapter names can now contain a number of places for the chapter number, e.g. '<NUM:3>'. The number will be zero-padded if there are less places than specified.

<NUM:3> means a number of 3 digits like 001 or 010 or 100.
-> chapter 001 instead of chapter 1.

Jamaika
21st July 2015, 10:29
Yes thats the way. with the chapter.xml you can do this very simple. You can create an edition with ordered chapters and the chapter_points you need, and then a second edition.
Then you can create a Tags file which correspond to the two editions.
How to do it? He was on a forum topic?
Where you get this information?
<Simple>
<Name>URL</Name>
<String>http://www......com/</String>
</Simple>
<NUM:3> means a number of 3 digits like 001 or 010 or 100.
-> chapter 001 instead of chapter 1.
Where did you type? Is there any documentation to this?

hubblec4
21st July 2015, 11:58
How to do it? He was on a forum topic?
The best and simple way is, you use my chapterEditor.
A forum topic is not really present.
When you created the editions and use the Tag XML Editor in my programm, then all editions are correctly linked with the Targets. You could use the new Matroska Tags Editor for more options.


<Simple>
<Name>URL</Name>
<String>http://www......com/</String>
</Simple>
ok, yes.


Where did you type? Is there any documentation to this?

There is no documentation, its a new feature and not soooo important :-)

ndjamena
21st July 2015, 12:10
Did you get anything from Lhomme about how tags actually work or is this just... whatever?

Jamaika
21st July 2015, 13:17
Did you get anything from Lhomme about how tags actually work or is this just... whatever?.
I don't understand. Who is Lhomme?
When you created the editions and use the Tag XML Editor in my programm, then all editions are correctly linked with the Targets. You could use the new Matroska Tags Editor for more options.
I Understand. In truth, I am disappointed.
The fact that I can add any attachments to the container Matroska there is little functional. You can't see text, photos, only fonts work. Such shortcoming it has also MP4 container. These are the dead functions. In addition, when a install LAVsplitter this description Matroska container is deleted.
Only that can add ASS subtitles with effects applied.

Edit: I wonder what exceptional introduce MOX container. If it is another box that doesn't arise.