AnimeSuki Forums

Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Go Back   AnimeSuki Forum > Anime Related Topics > General Anime > Fansub Groups

Notices

Reply
 
Thread Tools
Old 2009-12-15, 13:51   Link #1
mastrboy
Junior Member
 
Join Date: Dec 2009
Question 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 )

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>

Last edited by mastrboy; 2009-12-15 at 13:53. Reason: added xml
mastrboy is offline   Reply With Quote
Old 2009-12-15, 15:14   Link #2
Dark Shikari
x264 Developer
 
 
Join Date: Feb 2008
Quote:
Originally Posted by mastrboy View Post
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.
Dark Shikari is offline   Reply With Quote
Old 2009-12-16, 11:50   Link #3
mastrboy
Junior Member
 
Join Date: Dec 2009
Quote:
Originally Posted by Dark Shikari View Post
Done and done.
Thank you (will post the question there too)
mastrboy is offline   Reply With Quote
Old 2009-12-18, 16:29   Link #4
CryptWizard
Junior Member
 
Join Date: Jun 2009
Quote:
Originally Posted by mastrboy View Post
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 )

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.
CryptWizard is offline   Reply With Quote
Reply

Tags
mkv, ordered chapters

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.