Log in

View Full Version : re-use of video segments on SVCD


wmansir
17th September 2002, 14:39
I'm currently encoding a powerpuff girls DVD which has 10 segments around 12 minutes in lenght each. Each segment has a 70 second intro, and a 45 second credit sequence. I was wondering if it is possible to re-use these segments on an SVCD, just like they are on the DVD.

So the seqence would be Intro->ep1->credits->Intro->ep2->credits->Intro->ep3->credits, with only one copy of Intro and Credits on the disc.

I don't think VCDEasy can do this, and I don't even know if the SVCD structure supports it. Perhaps I-Author can do it, or TSCV. If anyone knows one way or another, let me know.

ps. I know this question has been asked, but I couldn't find the thread.

Amit
17th September 2002, 18:25
@wmansir
There's a way to do what you want and VCDImager can do it. I know it for usre since, I have done the same thing for myself

quite recently. The only problem is that not all the DVD players out there in the market are going to support the way I will

be telling you in just few minutes. Also, this trick works on my APEX 1500 and I haven't got the chance to test it on any

other player. So, if you have APEX 1500, it will defintely work otherwise, I am curious to know whether it works for you.

Please, specify your standalone player in your NEXT post. Also, the following trick works on WinDVD software player too. I am

assuming you are creating an SVCD, and the mpgs are created with DVD2SVCD (so that they are all compliant and VCDImager

doesn't compalin about abything). Here' what you need to do (you should have basic knowledge of XML, if not, it will look

little difficult to you but actually it's not):

1) You need to rip the INTRO and your CREDITS separately than your episodes. As you said you have 12 episodes. So, in your

case you will have 12 mpgs, one for each episode PLUS you will have 1 mpg for your INTRO PLUS 1 mpg for your CREDITS. In all

you should be having 14 mpgs with you.
2) Below is the XML you will be using to create your BIN/CUE files. I amassuming you can only put 4 episodes per CD. If you

can put more you can repeat the XML.

<?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">
<option name="svcd vcd30 mpegav" value="false"/>
<option name="svcd vcd30 entrysvd" value="false"/>
<option name="relaxed aps" value="false"/>
<option name="update scan offsets" value="false"/>
<info>
<album-id>POWERPUFF_GIRLS</album-id>
<volume-count>1</volume-count>
<volume-number>1</volume-number>
<restriction>0</restriction>
</info>
<pvd>
<volume-id>POWERPUFF_GIRLS</volume-id>
<system-id>CD-RTOS CD-BRIDGE</system-id>
<preparer-id>AMIT</preparer-id>
</pvd>
<!-- Optional information that you might want to add on your CD. This information is not required for (S)VCD at all -->
<filesystem>
<folder>
<name>EXTRA</name>
<file src="G:\Temp\VCDXBuild_Script_1.xml">
<name>DVD2SVCD.XML</name>
</file>
<file src="G:\Anime\CD2\SVCDInfo.txt">
<name>SVCDINFO.TXT</name>
</file>
</folder>
</filesystem>
<!-- Optional information END -->
<!-- TitlePicture or any MENU pictures goes here -->
<!-- Change the src to point to right files on your PC -->
<segment-items>
<segment-item src="G:\Temp\menu1.mpg" id="segment-menu00"/>
</segment-items>
<!-- TitlePicture END -->
<!-- All your mpg files go here -->
<!-- Change the src to point to right files on your PC -->
<sequence-items>
<sequence-item src="G:\Anime\INTRO.mpg" id="sequence-00"/>
<sequence-item src="G:\Anime\Episode1.mpg" id="sequence-01"/>
<sequence-item src="G:\Anime\Episode2.mpg" id="sequence-02"/>
<sequence-item src="G:\Anime\Episode3.mpg" id="sequence-03"/>
<sequence-item src="G:\Anime\Episode4.mpg" id="sequence-04"/>
<sequence-item src="G:\Anime\Credits.mpg" id="sequence-05"/>
</sequence-items>
<pbc>
<!-- MPG Files END -->
<!-- menu -->
<selection id="menu-00">
<bsn>1</bsn>
<next ref="menu-01"/>
<return ref="end"/>
<default ref="playlist-all"/>
<timeout ref="playlist-all"/>
<wait>9</wait>
<loop jump-timing="immediate">1</loop>
<play-item ref="segment-menu00"/>
<select ref="playlist-00"/>
<select ref="playlist-01"/>
<select ref="playlist-02"/>
<select ref="playlist-03"/>
</selection>
<!-- menu end -->
<!-- Play EPISODE1 -->
<playlist id="playlist-00">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="end"/>
<wait>0</wait>
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-01"/> <!-- Play the episode 1 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
</playlist>
<!-- End EPISODE1 -->
<!-- Go back to main menu -->
<playlist id="playlist-000">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="menu-00"/>
<wait>0</wait>
<play-item ref="segment-menu00"/>
</playlist>
<!-- Go back to main menu END -->
<!-- Play EPISODE2 -->
<playlist id="playlist-01">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="end"/>
<wait>0</wait>
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-02"/> <!-- Play the episode 2 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
</playlist>
<!-- End EPISODE2 -->
<!-- Go back to main menu -->
<playlist id="playlist-001">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="menu-00"/>
<wait>0</wait>
<play-item ref="segment-menu00"/>
</playlist>
<!-- Go back to main menu END -->
<!-- Play EPISODE3 -->
<playlist id="playlist-02">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="end"/>
<wait>0</wait>
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-03"/> <!-- Play the episode 3 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
</playlist>
<!-- End EPISODE3 -->
<!-- Go back to main menu -->
<playlist id="playlist-002">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="menu-00"/>
<wait>0</wait>
<play-item ref="segment-menu00"/>
</playlist>
<!-- Go back to main menu END -->
<!-- Play EPISODE4 -->
<playlist id="playlist-03">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="end"/>
<wait>0</wait>
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-04"/> <!-- Play the episode 4 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
</playlist>
<!-- End EPISODE4 -->
<!-- Go back to main menu -->
<playlist id="playlist-003">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="menu-00"/>
<wait>0</wait>
<play-item ref="segment-menu00"/>
</playlist>
<!-- Go back to main menu END -->
<!-- Play ALL EPISODE -->
<playlist id="playlist-all">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="end"/>
<wait>0</wait>
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-01"/> <!-- Play the episode 1 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-02"/> <!-- Play the episode 2 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-03"/> <!-- Play the episode 3 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
<play-item ref="sequence-00"/> <!-- Play the INTRO -->
<play-item ref="sequence-04"/> <!-- Play the episode 4 -->
<play-item ref="sequence-05"/> <!-- Play the Credits -->
</playlist>
<!-- End EPISODE3 -->
<!-- Go back to main menu -->
<playlist id="playlist-004">
<prev ref="menu-00"/>
<next ref="menu-00"/>
<return ref="menu-00"/>
<wait>0</wait>
<play-item ref="segment-menu00"/>
</playlist>
<!-- Go back to main menu END -->
<endlist id="end" rejected="true"/>
</pbc>
</videocd>

Using the above XML, the CD cretaed will show you the TitlePicture. And it will show the picture for 9 seconds, if you don't

press any button, it will show you all the episodes one by one. If you press 1, it will show you the episode one and will

take you back to main menu after the episode is shown and so on. If you read the guides given at

http://www.vcdimager.org/guides/index.htm you will understand the XML and will be able to do all the above and lot more by

yourself.

GOOD LUCK
-Amit

wmansir
18th September 2002, 01:24
I accidently closed the window on my long reply so I'm going to make this short.

Thanks for the answer. I have an Apex 500W, so I'm hopeful it will work. I'll let you know. I should have the first batch of episodes encoded by tommorow night, so I'll report back when I get a chance to test it out. Also, I'm actually making XVCDs, CVD with 3300kbs max bitrate, with SVCD header.

EDIT:
It's going to be another day. I was planning on encoding all day, but between the UT2K3 and NOLF2 demos my computers been very busy.

wmansir
19th September 2002, 20:28
It works great in my player, thanks.