PDA

View Full Version : Bug found (RB 0.84 Free) : vbr_brate_max in ITEM.ECL


Black Hole
23rd April 2005, 07:11
Hello jdobbs,

I haven't used DVD Rebuilder for a long time, since version 0.57, but tonight I decided to check RB 0.84, since I had to fit a movie just by compressing the credits, while trying to keep the rest of the movie uncompressed.

I sadly found that Keeper 0.7 no longer understands the REBUILDER.INF file, so I started to make things manually. I placed the DGDecode.DLL supplied with DVD-RB 0.84 ZIP package, in the same directory of the program (although it's an old deprecated and buggy version) and launched the setup to point to the location of the executables.

I'm using EclCCE 0.81 with CCE SP 2.67.00.27, so I pointed to EclCCE.EXE instead. After the "Prepare" phase, the "Encode" phase was launching EclCCE, but there was an error on screen stating that it attempted to load an invalid ECL file. Manually loading the ITEM.ECL file prompted the same error.

I (still) don't know exactly which is the wrong line in ITEM.ECL, but while I was looking at it, I discovered a bug that could be problematic on some spots, causing freezes in external players: the "vbr_brate_max" is not set to the max value calculated in REBUILDER.ECL, but reset to 9800 kbps. In some complex scenes the bitrate could go *that* high and overflow the limit of DVD specifications after audio is added.

While checking the generated ITEM.ECL, I discovered something that is not exactly a bug, but should be taken into consideration: the timecode of each cell will be based on 00:00:00:00, and if we need to further process that DVD in the future, it *might* confuse some applications. I think it should be plain easy to calculate the exact base timecode of the cell, upon the information collected in the "Prepare" phase, shouldn't it?

Well, since I found that RB-Opt behaviour hasn't still been included in DVD Rebuilder, I used the new "No compression" option that demuxes every chapter into separate M2V files, and then I compressed the last one apart manually with CCE, obtaining the desired final bitrate with good old Gordian Knot calculator.

I shrunk the credits M2V from 172 to 130 MB, enough to fit this one in a DVD-R without having to recode (and thus worsen its quality) the whole movie. I do, however, have a question: if I just replace the M2V with an external one (as I did here) ... will the "SCR", "PTS", "First_Sector", "Last_Sector", "End_PTM" and "Video_Sectors" options in REBUILDER.INF have any impact in the "Rebuild" phase of the process?

Thanks for your (precious) time.