Log in

View Full Version : VCD Chapter entrypoints, AVISynth, TMPGenc and VCDEasy.


droopy928gt
26th May 2003, 08:37
Dear All,

I've found a strange problem for which I hope some of you have experienced it before and might even have an idea where to look for the solution. It only occurs with VCD's.

To separate different episodes on a VCD I use similar to following script to add about 150 frames together with a piece of text.

------------------------------------------
ARacingCarIsBorn = SegmentedAviSource("d:\ARacingCarIsBorn_Episodes\ARacingCarIsBorn0104.avi").ConvertToYUY2

Episode1 = Blackness(ARacingCarIsBorn, 150).Subtitle("Episode 1",((ARacingCarIsBorn.Width-400)/2),((ARacingCarIsBorn.Height-66)/2+64),0,150,"Comic Sans MS",120)

ARacingCarIsBornVideo = Episode1
ARacingCarIsBornVideo = ARacingCarIsBornVideo + ARacingCarIsBorn.Trim(....,...)
ARacingCarIsBornVideo = ARacingCarIsBornVideo + Episode2
ARacingCarIsBornVideo = ARacingCarIsBornVideo + ARacingCarIsBorn.Trim(....,...) ,etc

#ARacingCarIsBornVideo.ConvertToRGB.VD_DynamicNoiseReduction(6).VD_SmartDeinterlace("frame", "all", false,false, true, true, 3, 100).fadeout(50)
#ARacingCarIsBorn
ARacingCarIsBornVideo
------------------------------------------

The problem begins when I want to set entrypoints in the final by TMPGenc, using closed GOP's and offcourse 1 sequence header before every GOP, encoded MPEG1 file. It is impossible to set entrypoints in the area of the MPEG1 containing the "Episode" text. I can set entrypoints anywhere in the MPEG1 on any I-frame, except in the area dividing the episodes.

If I only take the episode separating part of the AVS and make an MPEG1 out of it (see below script), again with closed GOP's and offcourse 1 sequence header before every GOP, it is also not possible to set entrypoints in it. When I load it in VCDEasy it tells me there is only 1 possible entrypoint, being the beginning of the file.

------------------------------------------
ARacingCarIsBorn = SegmentedAviSource("d:\ARacingCarIsBorn_Episodes\ARacingCarIsBorn0104.avi").ConvertToYUY2

Episode1 = Blackness(ARacingCarIsBorn, 1500).Subtitle("Episode 1",((ARacingCarIsBorn.Width-400)/2),((ARacingCarIsBorn.Height-66)/2+64),0,1500,"Comic Sans MS",120)

ARacingCarIsBornVideo = Episode1

ARacingCarIsBornVideo
------------------------------------------

I've opened the latter file in a program called "MPEG sequence maker" and tried to add sequence headers. What it tells me though, as expected, is that there already are sequence headers before every GOP. Which is exactly what is needed to set entrypoints!!!:confused:

Programs I use are:

AVISynth 2.51, TMPGenc plus 2.59, VCDEasy 1.1.5(VCDImager 0.7.12)

I'm thinking this might have something to do with VCDImager, or VCDEasy itself. Do any of you have an idea, or experienced this before? Do any of you have an idea where to find the cause / solution for this?

It really puzzles me why this happens, as according to all rules it shouldn't.

Thanks for any offered assistance, Leon

droopy928gt
11th June 2003, 14:57
Just bumping it up in the hope that there's someone out there much smarter then I am whom has any idea. If the question is stupid and the answer obvious, please tell me. But also the answer please ;-)

Regards, Leon