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>
+ Reply to Thread
Results 1 to 5 of 5
-
-
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 -
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!!! -
btw, XML allows for comments...
they begin with '', withing comments the use of '--' is forbidden...
e.g.
<!--
some multine comment
...
-->
-
_________________
F1!! F1!! F1!!!
<font size=-1>[ This Message was edited by: timmy_boi on 2001-08-29 14:22:57 ]</font>
Similar Threads
-
Convert XML to SRT subtitle file
By subsync in forum SubtitleReplies: 7Last Post: 15th Jun 2015, 17:08 -
MKV XML chapter file creator
By perdigueiro in forum LinuxReplies: 3Last Post: 30th Jan 2012, 08:44 -
How to capture ATSC to .ts file with WinTV HVR-1250
By tgcujo in forum DVB / IPTVReplies: 11Last Post: 25th Aug 2010, 18:41 -
FCP not recognizing a XML file
By lcquintana in forum MacReplies: 0Last Post: 17th Oct 2008, 12:54 -
Hauppauge 1600 HVR HD file conversion
By ODavid in forum Capturing and VCRReplies: 1Last Post: 25th Sep 2008, 13:56