VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. hey guys i created my verry first xml file, and was wondering if you or anybody else in the fourm can check out the Xml code and tell me wat you think?

    the code does this.
    it plays with 8 mpeg files in all

    one is a Mpeg still
    and one is the intro
    That leaves six mpegs selectable.

    here it is

    --------------------------------------------
    <?xml version="1.0" ?>
    <!DOCTYPE videocd (View Source for full doctype...)>
    <videocd xmlns="http://www.gnu.org/software/vcdimager/1.0/" class="vcd" version="2.0">
    <info>
    <album-id>next-illusion Demo VCD Alpha</album-id>
    <volume-count>1</volume-count>
    <volume-number>1</volume-number>
    <restriction>0</restriction>
    </info>

    <-------------Info about the VCD------------------------------->

    <pvd>
    <volume-id>VolumeLabel</volume-id>
    <system-id>CD-RTOS CD-BRIDGE</system-id>
    <application-id>CDI/CDI_VCD.APP;1</application-id>
    <preparer-id></preparer-id>
    <publisher-id>Tim Nguyen of next-illusion.com</publisher-id>
    </pvd>

    <-------------Extra files to be added to the Directory-------->

    <filesystem>
    <folder>
    <name>CDI</name>
    <file src="_cdi_cdi_all.rtf">
    <name>CDI_ALL.RTF</name>
    </file>
    <file src="_cdi_cdi_bum.dat">
    <name>CDI_BUM.DAT</name>
    </file>
    <file src="_cdi_cdi_font.fnt">
    <name>CDI_FONT.FNT</name>
    </file>
    <file src="_cdi_cdi_vcd.app">
    <name>CDI_VCD.APP</name>
    </file>
    </folder>
    </filesystem>

    <---------------Identify still (menu) Mpeg files to be used---------------------->

    - <segment-items>
    <segment-item src="item0001.mpg" id="segment-0000" /> <----name of menu Still
    </segment-items>

    <--------------Identify Mpeg (movies) to be used--------------------------------->

    - <sequence-items>
    - <sequence-item src="avseq01.mpg" id="sequence-00"><------------intro movie
    <default-entry id="entry-000" />
    </sequence-item>
    - <sequence-item src="avseq02.mpg" id="sequence-01">
    <default-entry id="entry-001" />
    </sequence-item>
    - <sequence-item src="avseq03.mpg" id="sequence-02">
    <default-entry id="entry-002" />
    </sequence-item>
    - <sequence-item src="avseq04.mpg" id="sequence-03">
    <default-entry id="entry-003" />
    </sequence-item>
    - <sequence-item src="avseq05.mpg" id="sequence-04">
    <default-entry id="entry-004" />
    </sequence-item>
    - <sequence-item src="avseq06.mpg" id="sequence-05">
    <default-entry id="entry-005" />
    </sequence-item>
    - <sequence-item src="avseq07.mpg" id="sequence-06">
    <default-entry id="entry-006" />
    </sequence-item>
    </sequence-items>

    <--------------------How the Vcd will be played-------------------------------->

    <pbc>
    <playlist id="playlist-01"> <------------------INTRO
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-00" />
    </playlist>

    <selection id="selection-01"> <----------------1st MENU
    <bsn>1</bsn>
    <wait>-1</wait>
    <loop jump-timing="delayed">1</loop>
    <play-item ref="segment-0000" />
    <select ref="playlist-01" />
    <select ref="playlist-02" />
    <select ref="playlist-03" />
    <select ref="playlist-04" />
    <select ref="playlist-05" /> <----------------with "6" selections
    <select ref="playlist-06" />
    </selection>

    <playlist id="playlist-01">
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-01" />
    </playlist>

    <playlist id="playlist-02">
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-02" />
    </playlist>

    <playlist id="playlist-03">
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-03" />
    </playlist>

    <playlist id="playlist-04">
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-04" />
    </playlist>

    <playlist id="playlist-05">
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-05" />
    </playlist>

    <playlist id="playlist-06">
    <next ref="selection-01" />
    <wait>2</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-06" />
    </playlist>
    <endlist id="end-1" />
    </pbc>
    </videocd>
    --------------------------------------------------

    I took some of the codeing from the tutorials and some from a Ripped vcd i created from vp4.

    i understand the refference and all but the FILE SYSTEM confuses me a bit for that i jus copied the code from my ripped xml to here.

    Also i kinda labeled the codeing so i could keep track of wat i was doing. ((dont worry i'll take them out b4 burning))

    THats wat i did, Any comments and suggestions are WELCOMED!

    thanks for all the help guys

    _________________
    F1!! F1!! F1!!!

    <font size=-1>[ This Message was edited by: timmy_boi on 2001-08-23 12:26:40 ]</font>
    Quote Quote  
  2. Looking good!

    The <endlist> probably isn't necessary. <endlist> allows the VCD to selectably stop PBC interpretation (i.e., stops playing the disc). As you don't have an option pointing to it, I don't believe that it is necessary.

    Also, make sure you remove the comments before VCDXBUILD'ing!

    As for the filesystem, it's a little bit complicated for me to describe it here, but it is described in my article here: http://www.geocities.com/medinotes/vcd/general_xml_structure.html

    Regards.
    Michael Tam
    w: Morsels of Evidence
    Quote Quote  
  3. yea the comments were there too keep my mind from exploding from the codeing. It realy helped me keep track of things.

    if you want you can use my code or jus use it as an example on how to make sence of things, since im a newbe at this this stuff would realy help me.
    cool cool nows the time to create the vcd
    F1!! F1!! F1!!!
    Quote Quote  
  4. btw, XML allows for comments...

    they begin with '', withing comments the use of '--' is forbidden...

    e.g.



    <!--

    some multine comment
    ...

    -->

    Quote Quote  

  5. _________________
    F1!! F1!! F1!!!

    <font size=-1>[ This Message was edited by: timmy_boi on 2001-08-29 14:22:57 ]</font>
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!