Ok, first of all I have downloaded and studied in detail all the guides and examples I found. To my untrained eye the following file looks good, but when I try to build I get the following errors:
-------------------------------------------------------
E:\DVD\VCDI>vcdxbuild videocd.xml
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-intro"
^
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-intro"
^
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-intro"
^
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-intro"
^
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-main"
^
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-main"
^
videocd.xml:80: validity error: IDREF attribute ref reference an unknown ID "play-main"
^
**ERROR: parsing file `videocd.xml' failed
--------------------------------------------------------
Here is my XML file:
---------------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE videocd PUBLIC "-//GNU//DTD VideoCD//EN" "http://www.gnu.org/software/vcdimager/videocd.dtd">
<videocd xmlns="http://www.gnu.org/software/vcdimager/1.0/" class="svcd" version="1.0">
<info>
<album-id>ROSWELL</album-id>
<volume-count>1</volume-count>
<volume-number>1</volume-number>
<restriction>0</restriction>
</info>
<pvd>
<volume-id>ROSWELL01</volume-id>
<system-id>CD-RTOS CD-BRIDGE</system-id>
<application-id></application-id>
<preparer-id/>
<publisher-id>Arturo Batista</publisher-id>
</pvd>
<segment-items>
<segment-item src="mainmenu.mpg" id="mainmenu"/>
</segment-items>
<sequence-items>
<sequence-item src="roswell-intro.mpg" id="intro"/>
<sequence-item src="roswell-otm.mpg" id="mainmovie">
<entry id="Chapter1">0.00</entry>
<entry id="Chapter2">180.00</entry>
<entry id="Chapter3">360.00</entry>
<entry id="Chapter4">540.00</entry>
<entry id="Chapter5">720.00</entry>
<entry id="Chapter6">900.00</entry>
<entry id="Chapter7">1080.00</entry>
<entry id="Chapter8">1260.00</entry>
<entry id="Chapter9">1440.00</entry>
<entry id="Chapter10">16200.00</entry>
<entry id="Chapter11">1800.00</entry>
<entry id="Chapter12">1980.00</entry>
<entry id="Chapter13">2160.00</entry>
<entry id="Chapter14">2340.00</entry>
</sequence-item>
</sequence-items>
<pbc>
<selection id="select-mainmenu">
<bsn>1</bsn>
<prev ref="play-intro"/>
<next ref="play-main"/>
<default ref="play-main"/>
<timeout ref="play-intro"/>
<wait>60</wait>
<loop jump-timing="delayed">1</loop>
<play-item ref="play-intro"/>
<select ref="Chapter2"/>
<select ref="Chapter4"/>
<select ref="Chapter6"/>
<select ref="Chapter8"/>
<select ref="Chapter10"/>
<select ref="Chapter12"/>
</selection>
<playlist id="Play-intro">
<prev ref="select-mainmenu"/>
<next ref="play-main"/>
<return ref="select-mainmenu"/>
<wait>1</wait>
<autowait>0</autowait>
<play-item ref="intro"/>
</playlist>
<playlist id="Play-main">
<prev ref="play-intro"/>
<next ref="select-mainmenu"/>
<return ref="select-mainmenu"/>
<wait>1</wait>
<autowait>0</autowait>
<play-item ref="mainmovie"/>
</playlist>
</pbc>
</videocd>
-----------------------------------------------------
Any insigths would be appreciated....
Art
<font size=-1>[ This Message was edited by: artbatista on 2001-08-06 08:01:28 ]</font>
+ Reply to Thread
Results 1 to 6 of 6
-
-
XML is case sensitive, e.g. Play-intro is not the same as play-intro
as a rule of thumb, just stick to lower case identifiers.... -
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Quote:</font><HR size=1 color=black></TD></TR><TR><TD><FONT SIZE=-1><BLOCKQUOTE>
On 2001-08-06 08:06:35, hvr wrote:
XML is case sensitive, e.g. Play-intro is not the same as play-intro
as a rule of thumb, just stick to lower case identifiers....
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR size=1 color=black></TD></TR></TABLE>
<HITTING MYSELF WITH HAMMER>"Damm, I knew it was something simple..."</HITTING MYSELF WITH HAMMER>
Thanks dude.....
Art -
<TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font size=-1>Quote:</font><HR size=1 color=black></TD></TR><TR><TD><FONT SIZE=-1><BLOCKQUOTE>
On 2001-08-06 08:06:35, hvr wrote:
XML is case sensitive, e.g. Play-intro is not the same as play-intro
as a rule of thumb, just stick to lower case identifiers....
</BLOCKQUOTE></FONT></TD></TR><TR><TD><HR size=1 color=black></TD></TR></TABLE>
That helped a lot but still.... :{
-----------------------------------------------
E:\DVD\VCDI>vcdxbuild videocd.xml
++ WARN: initializing libvcd 0.7.7 [cygwin/i586]
++ WARN:
++ WARN: this is the UNSTABLE development branch!
++ WARN: use only if you know what you are doing
++ WARN: see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
INFO: scanning mpeg segment item #0 for scanpoints...
INFO: scanning mpeg sequence item #0 for scanpoints...
INFO: scanning mpeg sequence item #1 for scanpoints...
++ WARN: file `videocd.cue' exist already, will get overwritten!
++ WARN: file `videocd.bin' exist already, will get overwritten!
**ERROR: PSD: referenced play item 'play-intro' not found
-------------------------------------------
Here is the updated XML file:
--------------------------------------------------
<?xml version="1.0"?>
<!DOCTYPE videocd PUBLIC "-//GNU//DTD VideoCD//EN" "http://www.gnu.org/software/vcdimager/videocd.dtd">
<videocd xmlns="http://www.gnu.org/software/vcdimager/1.0/" class="svcd" version="1.0">
<info>
<album-id>ROSWELL</album-id>
<volume-count>1</volume-count>
<volume-number>1</volume-number>
<restriction>0</restriction>
</info>
<pvd>
<volume-id>ROSWELL01</volume-id>
<system-id>CD-RTOS CD-BRIDGE</system-id>
<application-id></application-id>
<preparer-id/>
<publisher-id>Arturo Batista</publisher-id>
</pvd>
<segment-items>
<segment-item src="mainmenu.mpg" id="mainmenu"/>
</segment-items>
<sequence-items>
<sequence-item src="intro.mpg" id="intro"/>
<sequence-item src="OTM.mpg" id="mainmovie">
<entry id="Chapter1">0.00</entry>
<entry id="Chapter2">180.00</entry>
<entry id="Chapter3">360.00</entry>
<entry id="Chapter4">540.00</entry>
<entry id="Chapter5">720.00</entry>
<entry id="Chapter6">900.00</entry>
<entry id="Chapter7">1080.00</entry>
<entry id="Chapter8">1260.00</entry>
<entry id="Chapter9">1440.00</entry>
<entry id="Chapter10">1620.00</entry>
<entry id="Chapter11">1800.00</entry>
<entry id="Chapter12">1980.00</entry>
<entry id="Chapter13">2160.00</entry>
<entry id="Chapter14">2340.00</entry>
</sequence-item>
</sequence-items>
<pbc>
<selection id="select-mainmenu">
<bsn>1</bsn>
<prev ref="play-intro"/>
<next ref="play-main"/>
<default ref="play-main"/>
<timeout ref="play-intro"/>
<wait>60</wait>
<loop jump-timing="delayed">1</loop>
<play-item ref="play-intro"/>
<select ref="Chapter2"/>
<select ref="Chapter4"/>
<select ref="Chapter6"/>
<select ref="Chapter8"/>
<select ref="Chapter10"/>
<select ref="Chapter12"/>
</selection>
<playlist id="play-intro">
<prev ref="select-mainmenu"/>
<next ref="play-main"/>
<return ref="select-mainmenu"/>
<wait>1</wait>
<autowait>0</autowait>
<play-item ref="intro"/>
</playlist>
<playlist id="play-main">
<prev ref="play-intro"/>
<next ref="select-mainmenu"/>
<return ref="select-mainmenu"/>
<wait>1</wait>
<autowait>0</autowait>
<play-item ref="mainmovie"/>
</playlist>
</pbc>
</videocd>
-
like already told you by email:
there's another error:
only <play-item> tags may reference <sequence-item>, <entry> or <segment-item> elements... all others must reference elements contained in <pbc>.
that's basically the distinction made between play items and PSD items. (see also manual)
and btw, the XML representation is based closely on the actual VCD structures.... it's not a limitation imposed by vcdimager, but by the VCD format... e.g. you can't directly reference a play item as selection target... you must use an intermediate psd item for that...
-
im kinda new at this but hmm
i see that it says it cant find play-info not found
and i the reference name for the intro is jus called
"into" not "play-into"
could that difference reference name could be the cause of the trouble??
F1!! F1!! F1!!!
Similar Threads
-
MEGui errors,
By krohm in forum Video ConversionReplies: 8Last Post: 16th Nov 2010, 09:31 -
Virtualdubmod errors?
By mrjust in forum Newbie / General discussionsReplies: 7Last Post: 14th Mar 2010, 18:01 -
svcd preview errors & vob file errors
By kiwi76 in forum SVCD2DVD & VOB2MPGReplies: 3Last Post: 10th Nov 2008, 16:02 -
How to scan for any errors?
By Kwan in forum Newbie / General discussionsReplies: 6Last Post: 1st Oct 2007, 06:59 -
check a DVD for errors/read errors?
By ebob in forum Authoring (DVD)Replies: 4Last Post: 5th Jun 2007, 10:53