Save Chapter File format

Quaraxkad

New member
When choosing "File>Save Chapter File" I'd like to be able to choose to export it in Matroska XML format or alternatively OGM text. The current Output Format options are not flexible enough to create a compatible OGM text file and the existing XML format is specific to the program DVDAuthor.
 

Quaraxkad

New member
Here is a sample in Matroska XML:

Code:
<?xml version="1.0"?>
<!-- <!DOCTYPE Chapters SYSTEM "matroskachapters.dtd"> -->
<Chapters>
  <EditionEntry>
    <EditionFlagHidden>0</EditionFlagHidden>
    <EditionFlagDefault>0</EditionFlagDefault>
    <EditionUID>1850632586</EditionUID>
    <ChapterAtom>
      <ChapterUID>425776828</ChapterUID>
      <ChapterTimeStart>00:00:00.000000000</ChapterTimeStart>
      <ChapterFlagHidden>0</ChapterFlagHidden>
      <ChapterFlagEnabled>1</ChapterFlagEnabled>
      <ChapterDisplay>
        <ChapterString>00:00:00.000</ChapterString>
        <ChapterLanguage>eng</ChapterLanguage>
      </ChapterDisplay>
    </ChapterAtom>
    <ChapterAtom>
      <ChapterUID>1581824396</ChapterUID>
      <ChapterTimeStart>00:12:24.911000000</ChapterTimeStart>
      <ChapterFlagHidden>0</ChapterFlagHidden>
      <ChapterFlagEnabled>1</ChapterFlagEnabled>
      <ChapterDisplay>
        <ChapterString>00:12:24.911</ChapterString>
        <ChapterLanguage>eng</ChapterLanguage>
      </ChapterDisplay>
    </ChapterAtom>
  </EditionEntry>
</Chapters>
And the same in OGM text, it's basically an INI file:
Code:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Chapter 1
CHAPTER02=00:12:24.911
CHAPTER02NAME=Chapter 2
This can almost be duplicated by the configuration options by setting "Line Format" to CHAPTER%C=%T. The output result from VRD is: "CHAPTER 1=00:12:24.91". Spaces are not allowed in this format (I'm not sure if a leading 0 is required or not for 1-9), and the NAME line is required.


Both use the time format Hours:Minutes:Seconds.Milliseconds.
 
Top Bottom