VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. i created an XML file using the vcd2xml program and then edited and added an entry point but when i go to build it nothing happens what other way are to create ang xml file? here is the xml file i created, are there any mistakes if yes can someone help me out.

    <?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="vcd" version="2.0">
    <info>
    <album-id/>ROCKY3VCD1</album-id>
    <volume-count>1</volume-count>
    <volume-number>1</volume-number>
    <restriction>0</restriction>
    </info>
    <pvd>
    <volume-id>VCD</volume-id>
    <system-id>CD-RTOS CD-BRIDGE</system-id>
    <application-id>CDI/CDI_VCD.APP;1</application-id>
    <preparer-id/>
    <publisher-id/>
    </pvd>
    <sequence-items>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD1\Vcd Intro.mpg" id="sequence-001"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD1\Dolby Digital City Intro.mpg" id="sequence-002"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD2\ROCKY 1 TRAILER.MPG" id="sequence-003"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD2\ROCKY 2 TRAILER.mpg" id="sequence-004"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 3\ROCKY 3 VCD1\ROCKY 3 VCD1.mpg" id="sequence-005"/>
    <entry id="entry-001">1000.00</entry>
    <sequence-items>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 3\ROCKY 3 VCD1\ROCKY 3 INSERT VCD1.mpg" id="sequence-006"/>
    </sequence-items>
    </pbc>
    </videocd>
    Quote Quote  
  2. You don't have a <pbc> area... perhaps you accidentally chopped it out when editing?

    For more info on editing the XML, read this: http://www.vcdhelp.com/phpBB/viewtopic.php?topic=51600&forum=1

    Regards.
    Michael Tam
    w: Morsels of Evidence
    Quote Quote  
  3. Thank for the repliy but im still confused, could you give an example of what you mean
    Quote Quote  
  4. Member
    Join Date
    Mar 2001
    Location
    Antwerp - Belgium (Europe
    Search Comp PM
    Look here for more info about XML and VCDImager : http://www.geocities.com/medinotes/vcd/general_xml_structure.html
    Quote Quote  
  5. Member
    Join Date
    Jul 2001
    Location
    The Netherlands
    Search Comp PM
    city hunter,

    Your problem is partly caused by vcd2xml, obviously vcd2xml does not generate a <pbc> (play back control) section if you do not add an MPEG Menu... At the moment both vcd2xml and VCDImager Easy, the other GUI, are still buggy, you will probably have to wait a few weeks before the main bugs are resolved.

    If you had used vcdxgen from the commandline prompt, you would have had a better starting point. You can use it as follows (VCD example with 3 movie sequences):

    vcdxgen -t vcd2 movie1.mpg movie2.mpg movie3.mpg

    You also made a little mistake yourself when you added the entry-point. An entry point should be defined within a <sequence item>, therefore it should be followed by a </sequence item> at the end, instead of <sequence items> in your description.

    I have corrected your xml description, and added the necessary playlist items in the <pbc> area:

    BEGIN

    <?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="vcd" version="2.0">
    <info>
    <album-id/>ROCKY3VCD1</album-id>
    <volume-count>1</volume-count>
    <volume-number>1</volume-number>
    <restriction>0</restriction>
    </info>
    <pvd>
    <volume-id>ROCKY3VCD1</volume-id>
    <system-id>CD-RTOS CD-BRIDGE</system-id>
    <application-id>CDI/CDI_VCD.APP;1</application-id>
    <preparer-id/>
    <publisher-id/>
    </pvd>
    <sequence-items>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD1\Vcd Intro.mpg" id="sequence-001"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD1\Dolby Digital City Intro.mpg" id="sequence-002"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD2\ROCKY 1 TRAILER.MPG" id="sequence-003"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 1\ROCKY VCD2\ROCKY 2 TRAILER.mpg" id="sequence-004"/>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 3\ROCKY 3 VCD1\ROCKY 3 VCD1.mpg" id="sequence-005">
    <entry id="entry-001">1000.00</entry>
    </sequence-item>
    <sequence-item src="C:\my documents\ROCKY ANTHOLOGY\ROCKY 3\ROCKY 3 VCD1\ROCKY 3 INSERT VCD1.mpg" id="sequence-006"/>
    </sequence-items>

    <pbc>
    <playlist id="lid-000">
    <next ref="lid-001"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-001"/>
    </playlist>
    <playlist id="lid-001">
    <prev ref="lid-000"/>
    <next ref="lid-002"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-002"/>
    </playlist>
    <playlist id="lid-002">
    <prev ref="lid-001"/>
    <next ref="lid-003"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-003"/>
    </playlist>
    <playlist id="lid-003">
    <prev ref="lid-002"/>
    <next ref="lid-004"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-004"/>
    </playlist>
    <playlist id="lid-004">
    <prev ref="lid-003"/>
    <next ref="lid-005"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-005"/>
    </playlist>
    <playlist id="lid-005">
    <prev ref="lid-004"/>
    <next ref="lid-006"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="entry-001"/>
    </playlist>
    <playlist id="lid-006">
    <prev ref="lid-005"/>
    <next ref="lid-end"/>
    <return ref="lid-end"/>
    <wait>5</wait>
    <autowait>0</autowait>
    <play-item ref="sequence-006"/>
    </playlist>
    <endlist id="lid-end" rejected="true"/>

    </pbc>

    </videocd>

    END

    I cannot guarantee that this will work, as I may have made a mistake too, but you can give it a try...

    [Edit1: pbc area starts with <pbc>, not </pbc> ]
    [Edit2: I meant that VCDImager Easy (the GUI) is still bggy, not VCDImager itself! I should take a leave from my computer now...]

    <font size=-1>[ This Message was edited by: CornelisJ on 2001-07-23 10:55:02 ]</font>
    Quote Quote  
  6. <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-07-23 09:07:22, CornelisJ wrote:
    Your problem is partly caused by vcd2xml, obviously vcd2xml does not generate a <pbc> (play back control) section if you do not add an MPEG Menu... At the moment both vcd2xml and VCDImager Easy, the other GUI, are still buggy, you will probably have to wait a few weeks before the main bugs are resolved.
    </BLOCKQUOTE></FONT></TD></TR><TR><TD><HR size=1 color=black></TD></TR></TABLE>

    Just to post this here too.

    This is not a bug...

    While I am sure there are bugs in vcd2xml (every program) has them, this is definitely not one of them. I had quite a few testers run the program through its paces.

    If you do not specify a menu the XML generated by my program will work fine. The resulting CD you burn from the imager will play all the tracks in the order you have them added in vcd2xml.

    The problem city hunter is having is that he is trying to edit the xml code to do something else. There is nothing wrong with that, but just be aware that once you need to edit the code you are on your own again.



    _________________
    belboz@cinci.rr.com

    <font size=-1>[ This Message was edited by: Belboz on 2001-07-23 13:46:31 ]</font>
    Quote Quote  
  7. Member
    Join Date
    Jul 2001
    Location
    The Netherlands
    Search Comp PM
    Belboz,

    I have jumped too quick to a conclusion, sorry for that. What I see is that VCD2XML does not create a <pbc> (playback control) section by default. You are right that without <pbc> section the MPEG tracks will be played in order. But if the VCD is build without <pbc> section way you can't jump to the next MPEG track with the NEXT button on the DVD player (tested with WinDVD).

    Vcdxgen.exe on the other hand does generate a <pbc> section by default, and I think that is what most users expect. I suppose that (without Menu MPEG) vcd2xml runs vcdxgen with the --nopbc option. Maybe you can add an option to vcd2xml, that prevents the generation of the <pbc> section, just like in vcdxgen?

    Regards, CornelisJ
    Quote Quote  
  8. <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-07-23 14:33:43, CornelisJ wrote:
    Belboz,

    I have jumped too quick to a conclusion, sorry for that. What I see is that VCD2XML does not create a <pbc> (playback control) section by default. You are right that without <pbc> section the MPEG tracks will be played in order. But if the VCD is build without <pbc> section way you can't jump to the next MPEG track with the NEXT button on the DVD player (tested with WinDVD).

    Regards, CornelisJ
    </BLOCKQUOTE></FONT></TD></TR><TR><TD><HR size=1 color=black></TD></TR></TABLE>

    Hmmm. Next works fine on my Pioneer, Apex, and with Hollywood+ on the PC without the PBC section.

    I will look into adding something though in a newer rev if it can cause compatibilty issues with some players.

    Actually I do not use vcdxgen. I generate the XML file myself and then pass it on to vcdxbuild.



    Quote Quote  



Similar Threads

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