AnimeSuki.com Forum

AnimeSuki Forum (http://forums.animesuki.com/index.php)
-   Fansub Groups (http://forums.animesuki.com/forumdisplay.php?f=17)
-   -   mkv ordered chapters and <ChapterTimeEnd> (http://forums.animesuki.com/showthread.php?t=89422)

mastrboy 2009-12-15 13:51

mkv ordered chapters and <ChapterTimeEnd>
 
I was going to try posting this question at the new doom10 forum, but the activation mail has not arrived to my gmail yet.. (hopefully some doom10 admin will se this post :heh: )

After reading http://www.mod16.org/hurfdurf/?p=8 i got interested in trying out ordered chapters, and i got it working, but not in a "optimal" setting.

Is there any way to make the parameter <ChapterTimeEnd> </ChapterTimeEnd> dynamic (Chapter ends when file ends), sure the opening and ending for a season will be the same in each XML file, but each episode is at a different length.

Maybe someone has a good script to create the chapter XML file?

Manually creating a XML file for about 150 episodes will be alot of work..

example xml file
Code:

<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE Tags SYSTEM "matroskatags.dtd"> -->

<Chapters>
  <EditionEntry>
    <EditionFlagOrdered>1</EditionFlagOrdered>
    <EditionFlagHidden>0</EditionFlagHidden>
    <EditionFlagDefault>1</EditionFlagDefault>
    <EditionUID>2906622092</EditionUID>
    <ChapterAtom>
      <ChapterUID>3143058098</ChapterUID>
      <ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
      <ChapterTimeEnd>00:01:30.000000000</ChapterTimeEnd>
      <ChapterFlagHidden>0</ChapterFlagHidden>
      <ChapterFlagEnabled>1</ChapterFlagEnabled>
      <ChapterSegmentUID format="hex">
              89 4c f1 36 a7 46 45 2a 94 74 dc ab 4e fe b1 2d
      </ChapterSegmentUID>
      <ChapterDisplay>
        <ChapterString>Opening</ChapterString>
        <ChapterLanguage>eng</ChapterLanguage>
      </ChapterDisplay>
    </ChapterAtom>

    <ChapterAtom>
      <ChapterUID>3143058099</ChapterUID>
      <ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
      <ChapterTimeEnd>00:25:30.000000000</ChapterTimeEnd>
      <ChapterFlagHidden>0</ChapterFlagHidden>
      <ChapterFlagEnabled>1</ChapterFlagEnabled>
      <ChapterDisplay>
        <ChapterString>ep</ChapterString>
        <ChapterLanguage>eng</ChapterLanguage>
      </ChapterDisplay>
    </ChapterAtom>

    <ChapterAtom>
      <ChapterUID>3143058199</ChapterUID>
      <ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
      <ChapterTimeEnd>00:01:30.000000000</ChapterTimeEnd>
      <ChapterFlagHidden>0</ChapterFlagHidden>
      <ChapterFlagEnabled>1</ChapterFlagEnabled>
      <ChapterSegmentUID format="hex">
              8e 62 1d 12 40 e4 23 0f 9a 36 b9 df 10 b2 fa ea
      </ChapterSegmentUID>
      <ChapterDisplay>
        <ChapterString>Ending</ChapterString>
        <ChapterLanguage>eng</ChapterLanguage>
      </ChapterDisplay>
    </ChapterAtom>

  </EditionEntry>

</Chapters>


Dark Shikari 2009-12-15 15:14

Quote:

Originally Posted by mastrboy (Post 2822298)
I was going to try posting this question at the new doom10 forum, but the activation mail has not arrived to my gmail yet..

Done and done.

mastrboy 2009-12-16 11:50

Quote:

Originally Posted by Dark Shikari (Post 2822413)
Done and done.

Thank you :) (will post the question there too)

CryptWizard 2009-12-18 16:29

Quote:

Originally Posted by mastrboy (Post 2822298)
I was going to try posting this question at the new doom10 forum, but the activation mail has not arrived to my gmail yet.. (hopefully some doom10 admin will se this post :heh: )

After reading http://www.mod16.org/hurfdurf/?p=8 i got interested in trying out ordered chapters, and i got it working, but not in a "optimal" setting.

Is there any way to make the parameter <ChapterTimeEnd> </ChapterTimeEnd> dynamic (Chapter ends when file ends), sure the opening and ending for a season will be the same in each XML file, but each episode is at a different length.

<ChapterAtom>
<ChapterUID>3143058099</ChapterUID>
<ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
<ChapterTimeEnd>00:25:30.000000000</ChapterTimeEnd>
<ChapterFlagHidden>0</ChapterFlagHidden>
<ChapterFlagEnabled>1</ChapterFlagEnabled>
<ChapterDisplay>
<ChapterString>ep</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>

I assume you want the bolded one to change automatically.
Daiz made a tool called AutoMKVChapters. It may or may not work for you.


All times are GMT -5. The time now is 14:57.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.