PDA

View Full Version : CCE One-Click Software Beta


Pages : 1 [2] 3 4

jdobbs
18th March 2004, 00:32
Like a few more people are mentioned, it seems that when using CCE SP 2.67 the output files are not *.MPV like CCE SP 2.50 but instead they are *.M2V which might be the reason why 3rd phase will not work, because your code is looking for *.M2V files and not finding them, hence the runtime error and crash. I will try to change settings in CCE SP 2.67 as directed by hypo20 and hope that will take care of the problem.
@huesage,

I don't know how this could be possible. The output filename is written into the .ECL by DVD-RB and should always end with .M2V. The only time you should see a .MPV is when using ReJig.

jdobbs
18th March 2004, 00:38
Note to everyone:

I've seen mention of the need for eclCCE... I'd like to remind you that if your version of CCE supports command line processing and .ECL, eclCCE isn't required. Version 2.50 has no command line support, and the "Trial" versions don't support .ECL...

For example, my copy of CCE Basic 2.67 works fine without eclCCE, but I need it for my copy of CCE 2.50.

jdobbs
18th March 2004, 00:44
1 other thing I'm trying pirates of carrebean, the movie is 2hrs long it shows 48:32
@XtremeMAC

The numbers you saw are showing your system clock's time at the start of that encode portion. I use it so I can see how long an encode takes when it is unattended.

jdobbs
18th March 2004, 00:47
And another thing, according to the manual, it also resizes to 720x480 or 720x576. Would this work if you were to enable the "Resize to half-D1" option?
@fMalibu
When you click "Resize to half-D1" the DVD Compliant flag is turned off -- otherwise you'd end up with a picture in a `"frame"

jdobbs
18th March 2004, 00:49
In your progress display, instead of "creating m2v for segment 00" it would be more useful to see "creating m2v for vts07_00" or something like that.
@jptheripper

I agree. I'll fix that.

jdobbs
18th March 2004, 00:53
Normally if everything is right IFOEdit doesnt find anything when you do a "Get VTS sectors".

My only real problem is this fastforward/rewind thing.
DMagic,

What kind of player are you using... Early in the authoring coding I ran into a lot of problems with this and thought they were fixed. I tested the output using PowerDVD and three standalones (JVC, Sony, and Apex). There's obviously something wrong with the DVD-RB output, but it seems to only be affecting certain players.

jdobbs
18th March 2004, 00:57
for example, my movie would cause the average bitrate to be 2360 if i use this tool (quite too low) but could be nearly 50% higher if i could drop the bitrate on the extras
@jptheripper

That will eventually happen, but not for a while. If you play with the bitrates you need to be very careful and take into consideration the size and complexity of each section you're changing. DVD-R sets that rate based upon it's (very accurate) count of what is needed to get close to the edge of the disc.

jdobbs
18th March 2004, 01:02
If no source is selected and Prepare button is pressed one cannot Abort running program. If one tries to close Rebuilder then a following message appears "You must ABORT process to end.", but ABORT doesn't do anything. Had to close everything in Task Mannager.
@lighty
Then don't push "Prepare" with no source... just kidding, that will be fixed in the next version

djan
18th March 2004, 01:11
I would like to resolve my problem step by step but it would be nice if anyone can help me. First thing I would like to know is if it is normal that I have only 1,5GB after doing prepare step. I'm using ECC 2.5 with EclECC 1.7.

jdobbs
18th March 2004, 01:16
Yesterday I attempted to work around this by hand using ifoupdate but it didn't work. Searching on vts_tmapti will find many threads discussing the issue. We'll have to wait for jdobbs to address it. Hopefully he can figure something out.
Aye Carumba!

I just went into the VTS_TMAPTI and, I'll be damned, it isn't being updated... You can't actually do an IFOUpdate to fix it because the file you're changing IS the newly authored file -- so there's nowhere to get the data.

I think what happened is that I wrote the code to collect the time data, and then never actually got around to writing it to the file -- and then left the code sitting for a while until I forgot about it.

It may be a little work so don't expect that to be completed until this weekend.

NOTE: Most of the time this isn't a problem. As this table isn't used for ff, rw, or chapter moves -- but it is used for direct seeking (like with a computer player and a "position bar") I think I've even seen authoring packages that leave it out. That's the reason it is an option in IFOUpdate (not a requirement).

jdobbs
18th March 2004, 01:21
I would like to resolve my problem step by step but it would be nice if anyone can help me. First thing I would like to know is if it is normal that I have only 1,5GB after doing prepare step. I'm using ECC 2.5 with EclECC 1.7.
@djan
Actually that sounds high. In the prepare step (if using CCE) all you are creating is a group of .AVS and .D2V files.

ADDED: I just ran Prepare on a typical DVD and the output was 1.2MB (not GB)

redfive19
18th March 2004, 01:22
I just tried Buena Vista Social Club and it encoded it wrong. The original looks interlaced but I get jumpy frames when playing the backup on my TV.
Using: CCE 2.67.00.23 & RB 0.16

Any ideas?

ORIGINAL:
Num. of picture read: 31
Stream type: MPEG-2 MP@ML VBR
Resolution: 720*480
Aspect ratio: 16:9 Generic
Framerate: 29.97
Nom. bitrate: 8501600 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 9
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Interlaced
Notes:


REAUTHORED:
Num. of picture read: 31
Stream type: MPEG-2 MP@ML VBR
Resolution: 720*480
Aspect ratio: 16:9 Generic
Framerate: 29.97
Nom. bitrate: 9800000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Interlaced
Notes

quantum
18th March 2004, 01:22
What kind of player are you using... Early in the authoring coding I ran into a lot of problems with this and thought they were fixed. I tested the output using PowerDVD and three standalones (JVC, Sony, and Apex). There's obviously something wrong with the DVD-RB output, but it seems to only be affecting certain players.If you use Zoom Player, and click on the timeline to jump to approximately 1/4 into the film, you'll see it jump to 3/4's into the film or lock up, depending on how much the original was compressed. If you use a standalone, use a feature of the standlone to go directly to a specific time (not the chapter buttons), like exactly 1hr into the movie. This should reveal the problem also.

These are all exactly the same symptoms that occur if I author with scenarist but don't transfer the vts_tmapti with ifoupdate.

DMagic1
18th March 2004, 01:25
Originally posted by jdobbs
DMagic,

What kind of player are you using...

Players that have this problem:

Pioneer DV-C505
Sony DVP-NC600
XBOX v1.1 Thompson Drive
Playstation 2 v4

Only player that worked properly:

Toshiba SD-3109

jdobbs
18th March 2004, 01:27
I have to concur with the progressive dvd output problem. I just tried Buena Vista Social Club and it encoded it wrong. The original looks interlaced but I get jumpy frames when playing it on my TV.
@redfive19

Try changing the threshold level in SETUP.


Are the REALLY jumpy, or just kinda jumpy -- REAL jumpy can mean a tff issue

redfive19
18th March 2004, 01:28
It's at 70% right now, what should I change it to?

jdobbs
18th March 2004, 01:31
If you use Zoom Player, and click on the timeline to jump to approximately 1/4 into the film, you'll see it jump to 3/4's into the film or lock up, depending on how much the original was compressed. If you use a standalone, use a feature of the standlone to go directly to a specific time (not the chapter buttons), like exactly 1hr into the movie. This should reveal the problem also.
Go to the bottom of thread page 13 for the answer -- I screwed the pooch on this one.

quantum
18th March 2004, 01:40
Go to the bottom of thread page 13 for the answer -- I screwed the pooch on this one.Ah, sorry, somehow I missed your response. I'm glad you tracked it down and know how to deal with it. I think the right man is on the job :-)

TheBigDave
18th March 2004, 01:47
Originally posted by DMagic1
Only player that worked properly:

Toshiba SD-3109

DMagic1,

Did you actually play the DVD all the way through or just spot-test it on the Toshiba? On my Toshiba SD-2805 the movie played fine for a while and then started to hick-up.

In my other Toshiba player (SD-V291), FF just causes the disc to freeze. All I can do then is hit Stop twice and the disc will restart at the beginning.

Anyways, these are the three players I'm having problems on:

Toshiba SD-2805
Toshiba SD-V291
Liteon LVD-2001

jdobbs
18th March 2004, 01:48
Actually I thought I typed it after some of my later responses -- I'm not sure how it got back there...

jdobbs
18th March 2004, 01:54
In my other Toshiba player (SD-V291), FF just causes the disc to freeze. All I can do then is hit Stop twice and the disc will restart at the beginning.
Almost surely the same problem as I pointed out. I'll fix this as soon as I can.

jptheripper
18th March 2004, 03:10
@Jdobbs

thanx so much not only for the time to develop but also for the time you take to respond.

Your tool obviously is in a class of its own.

A few issues

1) i had a problem earlier with an extra that was essentially storyboards (still frames). One titleset, 113 chapters. The resulting info in the .inf file was ~260 1 frame segments (that were not present in the .ecl) all of which individually crashed cce 2.67.0.9 on encoding.

2) I realize the amount of code it will take to allow for variable bitrates per titleset, and realize that this is obviously an endgoal. Would it be possible to export a file with the data you use to calculate the average bitrate? i.e. a .dbf or .txt file with all your variables that are obviously already calculated, , including total menu size, total audio file size, time of each title, etc. This would not only allow for custom bitrates with (somewhat) simple calculations in excel, but would even facilitate extremely low bitrates on credits b/c files are already pieced into parts.


3) as before, assuming you are coding in c++ or vba (or awk, which i also know), i would be happy to assist.

-jp

djan
18th March 2004, 04:11
Originally posted by jdobbs
@djan
Actually that sounds high. In the prepare step (if using CCE) all you are creating is a group of .AVS and .D2V files.

ADDED: I just ran Prepare on a typical DVD and the output was 1.2MB (not GB) Oops, I'm sorry it was 1.5MB and not GB. Now it works great, CCE is encoding but when I try to watch to a m2v file created, I see black screen with 2 red lines in the bottom. Is it normal ? This is my next step :)

jdobbs
18th March 2004, 04:18
Definitely not. You are getting an error message from AVISYNTH. Look back a few pages on this thread. Something is not set up properly.

djan
18th March 2004, 04:56
I did what mentioned but nothing to do. There is the error I get when I try to launch a AVS file : Script error : There is no function named "mpeg2source". I'm using Avisynth 2.5.

jdobbs
18th March 2004, 05:06
That means that MPEG2DEC.DLL (or one of its derivations) isn't loaded in the Plug-In directory.

djan
18th March 2004, 05:30
It was loaded but it's ok, I installed avisynth 2.54 and loaded MPEG2Dec3dg.dll in the plugin directory. Now it works fine. Thx.

bigskank
18th March 2004, 06:14
Jdobbs, this looks *really* neat, and I hope you can find a way to keep up with it, as I think there is amazing potential for this.

I was wondering if (at some point) you would consider releasing the source to this under the GnuGPL. I know it's hard to let go of your baby, but I think so many of us could learn a lot from your program. Especially in the states - where there is so much trouble with lockdowns on technology and ideas - something like this could really benefit everybody. I most certainly won't whine if you don't (as giving it away for free is already great)...just a thought. Might also help to cut down on your workload too. :)

Sounddude
18th March 2004, 06:16
What size are the final VIDEO_TS most of you are getting using this app? I'm getting 4.27GB and would like to know if there's anything I can change it to make the target size larger. Great app so far! Works fine for me using rejig or CCE.

I'm using CCE 2.50 if that makes a difference in my question.

Nuhim
18th March 2004, 07:13
To Jdobbs
Thank for the perfect program!
And items in adjustments CEE " Convert from LB 4:3... "
And " Zoom in... " When will be accessible?

RB
18th March 2004, 08:46
Originally posted by jdobbs
Note to everyone:

No you don't need DVD2AVI.EXE for this program to run -- but you do need MPEG2DEC3.DLL (one of the versions, I recommend the Donald Graft version).
OK, thanks for the clarification. But, is your D2V file generation compatible/equal to the fixed D2V file generation that Neuron2 implemented in his version of DVD2AVI (no skipping of initial B-Frames, no frame loss at the end)? Because in the readme.txt in the Mpeg2Dec3dg.dll source code package, he added a commentThis version must be used with an appropriately modified DVD2AVI
version, for example, DVD2AVI 1.77.3dg
If so, you must not only recommend but require Mpeg2Dec3dg.dll because older versions cannot correctly decode a starting IBBP... GOP. This might explain why some people get crashes in CCE. IIRC older versions of Mpeg2Dec3.dll also crashed when the D2V had just a single I-Frame (still picture), some people reported this in this thread, guess they were not using Mpeg2Dec3dg.dll.

Originally posted by RB
OK, so I have noticed that you are encoding every cell in a separate AVS. If at all possible, please consider changing this so that as many as possible adjacent cells are combined into one AVS. This will guarantee the best possible results because VBR has a bigger range to work with and can distribute bitrate in a more efficient way. Just consider a worst-case scenario: let's say we have a movie with 20 cells where all cells contain fairly low-motion, "easy" video except for one cell which contains the big showdown with lots of fire, fast motion etc. Now CCE will actually waste bitrate in 19 cells that would have been better allocated to the "showdown cell". I think this is quite an important issue and not too hard to implement. Just scan the big MPV and grab the packets you need for every cell. Of course you'll need to add a proper chapter (I-Frame) list to the ECL.

It just occured to me that this would rule out CCE-Basic because it does not support I-Frame lists in the ECL. OK, if this is a problem or you simply don't have the time to implement different code paths, consider an "encoding plugin" interface. The interface would simply be you calling an external executable and passing the D2VAVS directory as an argument. The executable would then be responsible for generating the M2V/MPV files you expect. One could then write a plugin that encodes as many AVS files as possible "joined" and then splits the M2V/MPV files into the chunks that your app expects.

joaoccc
18th March 2004, 09:43
Hello

i'm trying to use rb 0.16, but when i click rebuild it begins rebuilding the vobs but at a certain point it give me the error
"Run time errror "9""
"Subscript out of range"

Thanks

john33
18th March 2004, 09:59
Originally posted by joaoccc
Hello

i'm trying to use rb 0.16, but when i click rebuild it begins rebuilding the vobs but at a certain point it give me the error
"Run time errror "9""
"Subscript out of range"

Thanks
I have exactly the same problem. It finishes rebuilding the main title and then I get this same error message.

hypo20
18th March 2004, 10:42
@joaoccc & john33

Read older posts before asking!

It is multiangle DVD??? I have this problem with multiangles DVD's (like Matrix) and DVD-RB is not supporting multiangle DVD's at the moment. That's the reason for that error.

Non-multiangle DVD's are working perfectly to me.

robw
18th March 2004, 12:50
So far I have not been successful with this program. I get the same error message as discussed in previous message. My video's are empty except for a red bar. The total size of the rebuild VIDEO_TS folder is only about 1.5 GB.

Similar problems occured early in the development of DVD2DVD-R. I recall the author finally traced it back to an issue with MPEG2DEC3 and only occured with NTSC film (not PAL)-- the solution chosen was to use MPEGdecoder for NTSC

tf
18th March 2004, 13:03
I think there is a connection between what versions of the programs/plugins you use and the ending results. Well, of course there is, but I mean, my own setup has done 5 attempts in DVD ReBuilder, and all have worked flawlessly on my Pioneer DV343.

Here is the combination I use:

DVD ReBuilder V0.16
CCE SP V2.50
EclCCE V1.7
AviSynth V2.54
MPEG2Dec3.dll OR MPEG2Dec3dg.dll (have tried both, working fine)

I haven't used the one-click mode yet, but I can't see why that shouldn't work, since the three-click mode has worked fine so far.

Already DVD ReBuilder has become my prime choice for backing up DVDs.

Rip DVD with DVDStripper, remove the clips you don't want. Remove layerbreak and unwanted audio tracks with DVDShrink. Then reencode with DVD ReBuilder, edit menus with MenuEdit, and you've got a great backup.

-tf

robw
18th March 2004, 13:20
I am using all the same software and it doesn't work for me. Have tried many variations.

StifflerStealth
18th March 2004, 13:20
For those having trouble with "red bar" thing see if this helps.

Download this file: Mpeg2dec3DG (http://www.avisynth.org/warpenterprises/files/decodefix100.zip). If you already have this file, then the rest may not be helpful.

Extract it in DVD-RB directory or in you AVIsynth plugins directory. Your choice. Delete Mpeg2dec3.dll if you have it if you put Mpeg2DecDG.dll in you avisynth pluging directory.

Then edit the very first AVS file DVD-RB made after the Step 1 (mine is V01000000001001.AVS, and insert the line LoadPlugin("X:\Path\To\mpeg2dec3dg.dll") right before the line that has Mpeg2Source("X:\Path\to\some D2V file).

Start step 2: encoding. When the first file is done encoding (V01000000001001.M2V or .MPV in my case, depending on your settings) open it up in a software DVD player. If the red stuff is gone, add that line to every single AVS file.

This is what I have. I'm using CCE SP v2.67.00.23 Full. Full meaning that it has ecl support and all that because it's not the trial version. The video that is produced does not have any of the Red stuff people have been talking about. I have know idea if this will work. I am all out of suggestions if it doesn't.

Stiff

Disclaimer: I cannot reprodce that red bar, so I cannot garuentee this will work.

buzzqw
18th March 2004, 13:52
run regedit and search for
HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth\plugindir2_5

this is your avisynth dir.

unzip decodefix.zip into this dir

Not so complicated !:sly:

BHH

StifflerStealth
18th March 2004, 14:01
Although, if you do not have that proggie installed....

@jdobbs: Since DVD-RB does not need AVISynth, can you support having the Mpeg2Dec3DG.dll in the DVD-RB folder. Maybe in a sub dir called plugins or something. Then the AddAudio support can go in that directory as well.

Also @jdobbs: Your program does a better job at scanning files than DVD2VI or whatever DIF4U uses. Your program detected that the video I had was 23.976 FPS whereas DIF4U on CellID demux said that some cells where 29.97 and others were 23.976 in the same VTS and even the same VobID. I might have a setting wrong in DIF4U, but your program on the defaults scanned them correctly. Keep up the good work.

Stiff

robw
18th March 2004, 14:02
Stiff

your experiment to manually load the plugin to the avs file and then encode works. So this is obviously the problem ... for some reason my mpeg2dec3 is not getting loaded. I will search the registry.

Thanks for your help

robw
18th March 2004, 14:07
buzzqw

thanks man. My HKEY_LOCAL_MACHINE\SOFTWARE\Avisynth\plugindir2_5 was not pointing to the right subdirectory.

StifflerStealth
18th March 2004, 14:22
@robw: Congrats! Don't feel bad about manually editing all the AVS files. I did that with a movie to add Telecine(), Mpeg2Dec3dg.dll, and AddAudio support. Then I edited the Rebuilder.ecl file to give me four pass vbr for the main movie at a higher bitrate, and 6 passes for extras at 1850. 1850 is a nice number for extras. If you have CCE Basic you do not need to edit the ECL file.

Stiff

DrChair
18th March 2004, 14:30
@jdobbs

Here's a couple of bugs i've encountered (in v0.16) :

* After entering the source-path, dvd-rb analyses video_ts.ifo, where (in my opinion) it should analyse all the vts_**_0.ifo files

* when a vts contains stills (for example a vts with warnings in different languages), something goes wrong.
On the vts i have here (containing 6 stills, 15 seconds each), ifoedit reports 2250 frames (6*15sec*25fps), but the .d2v dvd-rb creates only has 6 frames.
Thus the resulting .m2v is way too small, which results in a "Runtime error '9': Subscript out of range" during the rebuilding stage...

I think dvd-rb should leave a vts smaller than a couple of MB's alone (mine was 4.3 MB), and just copy the source. Atleast that's what I did to solve the problem. (it was the last vts that gave the problem, so the rest of the dvd was already build)

* The resulting VIDEO_TS folder contains 4,71 GB, so it's too big to burn. It might be a coincidence, but that's almost the size of a dvdr in "japanese GB's"

* Changing the number of passes after preparing, doesn't have any effect (cause the .ecl is already written)

Otherwise the result looks much better than i'd expected with an average bitrate of 2581...

tf
18th March 2004, 14:40
I had a movie with LOADS of stillpics with warning messages. 18 different languages. That was not problem for DVD ReBuilder, and that was even with 0.15. However, I usually select to remove such messages altogether with DVDStripper. Not because it saves space, but because it saves me from having to watch them :-)

-tf

StifflerStealth
18th March 2004, 14:40
I kinda cheated a little to change the bitrate and number of passes, but it worked. Also, I tell it not to re-encode any PGC that totals 100MB or less, so I don't run into the issue you have with stills.

Personal note: I use 100MB as the cut off limit, because the space gained by recompression is not worth the time that it takes to recompress it. I noticed that some people use 200MB or even 300Mb as the cut off limit.

I do agree with DrChair about having a cut off limit.

Stiff

jdobbs
18th March 2004, 15:17
@Sounddude
What size are the final VIDEO_TS most of you are getting using this app? I'm getting 4.27GB and would like to know if there's anything I can change it to make the target size larger. Great app so far! Works fine for me using rejig or CCE.I use a value internally that is equal to a fully populated DVD. I then subtract the portion of the DVD that will remain unchanged (like menus, audio, and subpictures) -- I then calculate a bitrate that will fill the remaining.

@RB
OK, thanks for the clarification. But, is your D2V file generation compatible/equal to the fixed D2V file generation that Neuron2 implemented in his version of DVD2AVI (no skipping of initial B-Frames, no frame loss at the end)?You are absolutely right. I was following the thread in which Neuron2 was making the changes (coincidentally while I was working that part of DVD-RB) and I kept my code updated as well.

@DrChair
* After entering the source-path, dvd-rb analyses video_ts.ifo, where (in my opinion) it should analyse all the vts_**_0.ifo files DVD-RB doesn't use the video_ts.ifo it currently gets its information from individual IFOs.
* when a vts contains stills (for example a vts with warnings in different languages), something goes wrong.On the vts i have here (containing 6 stills, 15 seconds each), ifoedit reports 2250 frames (6*15sec*25fps), but the .d2v dvd-rb creates only has 6 frames.
Thus the resulting .m2v is way too small, which results in a "Runtime error '9': Subscript out of range" during the rebuilding stage...Good info!! This is probably the source of all of these "Runtime Error 9" problems!!! I think what I need to do (as suggested earlier) is just leave the stills intact -- as reencoding really saves almost nothing... I'll see if I can add that in this weekend.
* The resulting VIDEO_TS folder contains 4,71 GB, so it's too big to burn. It might be a coincidence, but that's almost the size of a dvdr in "japanese GB's" As I mentioned above, it calculates based on standard DVD-R size -- larger results shouldn't be possible unless CCE encodes at the wrong bitrate (which I've never seen it do). Don't know what to say on this one.
* Changing the number of passes after preparing, doesn't have any effect (cause the .ecl is already written) True. I guess I need to make that known.

StifflerStealth
18th March 2004, 15:44
Originally posted by DrChair
* Changing the number of passes after preparing, doesn't have any effect (cause the .ecl is already written)

Otherwise the result looks much better than i'd expected with an average bitrate of 2581... [/B]

It works if you break the massive ecl file up into smaller ecl files called, say: V01000000001001.ecl, V01000100001002.ecl, ... Then make the nessecary changes, and load them into CCE by creating projects out of them and having them queued in CCE itself. :) Granted, that is a ton of work, but at least I increased the main movie bitrate, and the extras run at 6 pass.

This is what I ment by cheating a little.

Stiff

DrChair
18th March 2004, 15:55
Originally posted by jdobbs
@DrChair
DVD-RB doesn't use the video_ts.ifo it currently gets its information from individual IFOs.


This is strange then...

VTS_01_0.ifo has 4 audio streams (all 2ch AC3)

According to VIDEO_TS.ifo, vts1 has 8 audio streams. The 4 from vts_01.0.ifo and 4 additional english 6ch AC3's.

So if dvd-rb uses the individual ifo's, the "Audio streams to keep"-dialog should only show 4 audio-streams for vts1.
But doesn't... It shows 8 audio-streams (like the info in video_ts.ifo)

Hence my conclusion that you use video_ts.ifo for the info...

toolman2k
18th March 2004, 16:42
hi! this is great development going on here :) finally a tool that uses cce :)

anyway,

does your tool only encode the video or also menu's ? tools like instantcopy and dvdsrhink also compress the menu and/or strip languages which is very handy. lately more and more menu vobs are really big like 500mb+ some even around 1gb!

would be nice to have this built in the tool also, so we dont have to use other tools to strip/compress menus :)

also, would there be a way to auto remove the buttons for audio/subs/clips that are removed ?

jptheripper
18th March 2004, 16:44
@stifflerstealth

thanx for all your insight. Could you please tell me the method you used to calculate the bitrate for the main movie after assigning a bitrate of 1850 to the extras in the .ecl? this is exactly what i want to do.

@jdobbs

Again we all appreciate te work you are putting in. The still issue I am sure could be solved in 2 ways, 1 by scanning the ifo and identifying stills and copying, the other by setting a threshold by which nothing less than a pasrticular size is compressed. I am sure you though of that already.

I think your dvd is smaller than the dvdr, as i tried RB on a dvd5 and it said i needed 99% compression. Are you rounding this value? if so I might sneak out a bit more if you float it to a decimal or 2.

@jdobbs or stifflerstealh

At the end of the "prepare" stage, the .inf is built with the reduction values listed. Is this just a summary file or is it used? I ask because If I edit the .ecl and hit encode I want to ensure the edited values will be used.

Also can someone explain the addaudio() and resampleaudio for the .avs? or these needed ever if I am preserving the existing audio?

again thanx in advance, and sorry for the longwinded questions

-jp

StifflerStealth
18th March 2004, 17:44
@jdobbs: I hope you don't mind me posting this. If you do, let me know and I'll erase the contents.

Originally posted by jptheripper
@stifflerstealth

thanx for all your insight. Could you please tell me the method you used to calculate the bitrate for the main movie after assigning a bitrate of 1850 to the extras in the .ecl? this is exactly what i want to do.


This is what I do. It takes a lot of HD space, though. I've been using DoItFast4U (DIF4U) for a long while now, so I am most comfortable with that program, and quite frankly it has really good bitrate calculations. DVD-RB is the only other program I've used for CCE that has bitrate calculation as good as DIF4U, so my hats off to both Eyes and Jdobbs.

With that out of the way. Install DIF4U, unless you have it already, and configure it (Offical help fourm (http://forum.doom9.org/forumdisplay.php?s=&forumid=66)). There are more in depth guides on how to configure it, so I will give the basics of what I have. In the Mandatory section I have 1850 for Bitrate for extras, and 100 for Min. MB to Demux.

The view for DVD structure will show all the VTS's if there are any that are unchecked, it is because they are 100 MB or less.

Next, highlight the first checked VTS (the line by the plus or minus not the individual PGC) and make sure that "Create folder for this VTS" (under the working directory on the far left) is checked and also that CellID is checked. You need to do that for each VTS that is checked. Don't uncheck any audio or sub file because you need those to make the calculation accurate.

Take note at which VTS's are unchecked. Then hit the "Do It!" button.

Like I said, check the guides for better configuration.

When the files are demuxed, there will be a CCEdata.txt file, and a REJIGdata.txt file in the Working directory. I always use C:\DVDRecode" as the working directory.

Open the CCEdata.txt file, you will see a bunch of lines that look like: "Some\Path\file.avs",number1, number2, number3,number4,number5.

Num1 is the min vbr rate, num2 is the max vbr rate, and num3 is the average vbr rate.

The name of the avs file is different. It like: VTS__01_V001C001.P16~9_1.nopull.AVS. or simimilar, but you get the idea. It should be easy enough to translate these names to DVD-RB names in your head. Make sure you look at this list carefully, because if a cell that is really short will not be included in it because CCE cannot handle videos that are really small, so you might want to print this file.

Now creat you individual ecl files for the cells listed in the CCEdata.txt file. Use Num3 (avg bitrate) in the place of the one listed. Also, change your VBR pass number to what you want. Load them into CCE under the file menu or in eclCCE.

or you can load up the avs file in BatchCCE and make the corrections, but only load the avs sripts for cells listed in CCEdata.

EDIT: To clear things up, I am talking about the avs and ecl files that were created by DVD-RB. You need to look at the list of cells in CCEdata.txt, and figure out what DVD-RB cell it's refering to.

Remember how I told you to take note of the VTS's that were not checked? Well, back in DIF4U, check all the VTS that were uncheck, and uncheck all the VTS that were checked. Then select the same options as before for all the checked VTS's. Here you can uncheck the audio and subs to make it go faster. the press the "Do It!" button. You don't need to use DIF4U on this step if you want to configure DVD Decypter to extrack the video files by cellid by hand.

Now move all the cells that were not encode by CCE to the DVD-RB working Dir: the cells from the last step, and the ones that have the -nocce flag on them from the first time you demuxed. Next, rename all the files to the name DVD-RB expects. Then, Step three.

I tried to make this breif. The are a number of grammer errors, I know. This guide will be useless when jdobbs implements this functionality, when ever that is.

Stiff

jptheripper
18th March 2004, 18:11
thanxfor taking the time to explain all that

I assume if all titlesets are encoded then this is a much easier task as there is no need to copy files over, we are just changing the editing settings in the ecl file.

Any insight on the .inf file?

SteveV
18th March 2004, 18:21
Last night i did a first try with 0.16 and i have to say it looks amazing.I did a rip of Piano, i took out all audio except english 5.1 coz if i left in DTS bitrate would be to low.
After a few hours decoding and rebuilding its perfect except for the fact that the bitrate could be even higher if i had the option to take out some trailers/extra`s.
I want to congratulate the coder with an amazing product and i cant wait for the next versions.
Using CCE 2.50 btw.
Thx jdobbs keep on coding :)

Hmm forgot to mention that i burned it and i can fast forward etc with it np.

StifflerStealth
18th March 2004, 18:23
I haven't actually looked at the inf file yet. I assumed everything in there was the setting for the program itself.

The method I posted for doing CCE on your own is kinda convoluted, huh? :D

Stiff

jptheripper
18th March 2004, 18:25
you might want to use something such as titlesetblanker or dvdstripper to remove extras first, then run rebuilder.

just a thought

wmansir
18th March 2004, 18:27
Originally posted by jptheripper
Also can someone explain the addaudio() and resampleaudio for the .avs? or these needed ever if I am preserving the existing audio?
-jp

These are used to workaround a bug in CCE. If the .avs file does not have audio it can cause problems in CCE. In earlier versions (2.5 and below) the program will crash on AMD systems. In newer versions it causes a significant memory leak.

ResampleAudio(44100) was a solution in older versions of AviSynth because it exploited a bug in the function that added a blank mono audio track to the output if no audio was present. That bug has since been fixed. AddAudio() is basically a macro function that does the same thing. It is useful for editing clips by hand, but a program like this could just as easily use the 'long version' for compatibility.

AddAudio() = AudioDub( last , BlankClip() )

jptheripper
18th March 2004, 18:54
thanx for that info about the audio, i guess i should add the add audio back in.

@stiffler,
convuluted to say the least, but thank you for taking the time. I love the potential of this program. Especially like the fact that it breaks the titles into chapters, allows for easy assigning of bitrates to credits, etc.

Question, in the dvd spec is there a minimum bitrate? i.e. if i set the credits chapter to a bitrate of 1 (guessing 0 would not work) would this make super crappy credits that take no space and allow for preservation of the dvd structure?

:)

Off to figure an easier way to calculate the bitrates for the .ecl file, im a self ordained excel guru, just gotta fgure the formula. Actually, now that I think of it, the .inf file has everything we need. Given the bitrate assigned in RB, we can back-calculate the total file size of the video to be encoded
jdobbs if you could just add the total GB of the video portion this would make this much easier)
Then using the frame rate code (1 is 23.976 and 4 is 29.97 right?) we could differentially calculate bitrates for each segment quite quickly.

ahh.. this is fun

redfive19
18th March 2004, 19:06
@jdobbs

Sorry to bug you, but what should I set my Film Threshold to, it's at 70% now. I had the problem with a jumpy picture on my CCE encode.

StifflerStealth
18th March 2004, 19:25
Originally posted by jptheripper
thanx for that info about the audio, i guess i should add the add audio back in.

@stiffler,
Question, in the dvd spec is there a minimum bitrate? i.e. if i set the credits chapter to a bitrate of 1 (guessing 0 would not work) would this make super crappy credits that take no space and allow for preservation of the dvd structure?

.
.
.

this is fun


If you look at the big Rebuilder.ecl file that DVD-RB creates, you will notice that it sets the vbr min rate to "0". I would set the credits with an avg vbr bitrate of 1850 and a max vbr bitrate of 2500

Yes this is fun! I like tearing a movie to peices because it's easier to find easter eggs. I found several so far. Then I back track to figure out how to activate them in the menus and such.

Stiff

jptheripper
18th March 2004, 19:44
I was actually thinking that in long movies it might be of value to set the average bitrate dynamically by chapter (specifically, main movie to 3000+ and credits to 1 or whatever) to sneak out extra bits, especially if the credits are long. I am working on the excel spreadsheet that will autocalculate the values for bitrates for you based on the RB output.

man jdobbs you really opened a can of worms, THANK YOU

PurpleMan
18th March 2004, 19:44
I have yet to use the program myself, but I did manage to scroll and read this entire thread. And from what I pick up, A few comments/questions to the author:

1) Do you think it's wise to encode cells seperatley? I mean, sure, it helps you keep the original cell/vob ID structures when rebuilding the output, but by doing so you're losing the advantages of VBR encoding since it's ineffective on small segments.

2) I think that your source detection (.d2v creation) algorithm needs tons of work. You can't use a general setting to all VTS sets. Most DVD discs have mixed content framewise. For instance: Main movie (Progressive FILM - will need pulldown), special feature: TV-Spot (Interlaced 29.97i - decomb should be used), etc. Eyes`Only's source preparations algorithms from DoItFast4U are brilliant - it detects properly everything, even field orders, and writes the AVS accordingly. You should consider talking to him about it, or you could correct me if the abovementioned is incorrect.

3) An interface where you could set compression ratios to each titleset seperately, as people mentioned, is obviously a neccesity. However I did gather it's your final goal. So we'll see :)

Other than that, I'd like to thank you for the initiative you took, which is obviously a step towards the right direction for the DVD backup community.

PurpleMan.

djan
18th March 2004, 20:00
Originally posted by PurpleMan

1) Do you think it's wise to encode cells seperatley? I mean, sure, it helps you keep the original cell/vob ID structures when rebuilding the output, but by doing so you're losing the advantages of VBR encoding since it's ineffective on small segments.

It's exactly what I wanted to talk about. It would be much better if the vbr is applied to the entire movie. With small cells or plainty high-motion cells, the vbr doesn't make its good work.

Anyway, again thx for this great program, I'll donate as soon as paypal is ready for Europe.

int 21h
18th March 2004, 20:00
Originally posted by PurpleMan
2) I think that your source detection (.d2v creation) algorithm needs tons of work. You can't use a general setting to all VTS sets. Most DVD discs have mixed content framewise. For instance: Main movie (Progressive FILM - will need pulldown), special feature: TV-Spot (Interlaced 29.97i - decomb should be used), etc. Eyes`Only's source preparations algorithms from DoItFast4U are brilliant - it detects properly everything, even field orders, and writes the AVS accordingly. You should consider talking to him about it, or you could correct me if the abovementioned is incorrect.

If you have a MPEG-2 that is flagged interlaced, and truly is interlaced, and your aim is to backup or reproduce this DVD, why would you not include the original field format? I am confused as to why we would use Decomb unless we are truly IVTCing...

jdobbs
18th March 2004, 20:01
@toolman2k
does your tool only encode the video or also menu's ? tools like instantcopy and dvdsrhink also compress the menu and/or strip languages which is very handy. lately more and more menu vobs are really big like 500mb+ some even around 1gb! True enough. Right now menus are not supported, I decided to release the beta before working on that, but I can see it in a future version.

Also, for those who have mentioned it -- I will take a look this weekend and see how hard it would be to set different bitrates/passes for the main movie and extras. I may even add the ability to make the extras half-d1. The workload is getting a little rich, though, so don't take this as a promise

PurpleMan
18th March 2004, 20:05
If you have a MPEG-2 that is flagged interlaced, and truly is interlaced, and your aim is to backup or reproduce this DVD, why would you not include the original field format? I am confused as to why we would use Decomb unless we are truly IVTCing...


To enhance performance on HDTV's, for instance. Progressive should always be a goal. But even when neglecting this option, don't forget about the option that main movie is FILM, and an extra feature is a FILM with PULLDOWN hardcoded as 29.97, where IVTC is needed + a progressive flag.

The bottom line, each D2V needs to be detected as for the best method to use for its encode in similar to what DoItFast4U does.

PurpleMan.

StifflerStealth
18th March 2004, 20:09
Originally posted by PurpleMan
1) Do you think it's wise to encode cells seperatley? I mean, sure, it helps you keep the original cell/vob ID structures when rebuilding the output, but by doing so you're losing the advantages of VBR encoding since it's ineffective on small segments.
[/B]

I'm not the author, but I will give a shot at this.

In DVDs, chapter points are always at the start of a new cell. The start of a Cell must always fall on an I-Frame of a GOP sequence. If you have the entire movie as one large video, CCE will change where the I-Frames are, thus changing the position you can have a chapter point. One-click transcoders do not change the GOP at all, hence, you don't have issuses. You can tell CCE where you would like an I-Frame, but usually it's off up to 10 frames (that's the max I've seen it off at least). By breaking the video file into cells you are basically forcing I-Frames in the exact spot you need them.

I actually thought about making a One-click CCE utility, and then I saw this thread. I did think a lot of all the features I needed. None-the-less, I can up with the fact that a one-click CCE Util needs to back up by Cells. It is the only way. Yes you do sacrafice the beautiful nature of VBR, but you can encode each cell with a different bitrate.

TMPGEnc can keep the original GOP as the original file. You can even hand pick a bitrate for each frame of the movie, but I don't think the quality is as good as CCE.

Hope this answers your question and then some.

Stiff

PurpleMan
18th March 2004, 20:14
In DVDs, chapter points are always at the start of a new cell. The start of a Cell must always fall on an I-Frame of a GOP sequence. If you have the entire movie as one large video, CCE will change where the I-Frames are, thus changing the position you can have a chapter point. One-click transcoders do not change the GOP at all, hence, you don't have issuses. You can tell CCE where you would like an I-Frame, but usually it's off up to 10 frames (that's the max I've seen it off at least). By breaking the video file into cells you are basically forcing I-Frames in the exact spot you need them.


Yes, I know all that. obviously that's why I said that I know that it's used to help keep the original DVD structure.
But in which case, this program is rather futile as it claims to achieve quality, which it clearly does not in comparison to BIG3 method, and in some cases, in comparison to transcoders. If you take a cell that is a fast action scene (a car chase or such), and try to encode it seperatley at a bitrate of 2350kbit/sec, the result will be inferior to a DVD-Shrink equivalent project.

We obviously needs to achieve a way to control the GOP structure of an encoded MPEG2 file. But I do not think that this is the way.
It ain't a new suggestions either. That's what NUMENU4U uses to keep the structure of menus.

jdobbs
18th March 2004, 20:25
@Purpleman
1) Do you think it's wise to encode cells seperatley? I mean, sure, it helps you keep the original cell/vob ID structures when rebuilding the output, but by doing so you're losing the advantages of VBR encoding since it's ineffective on small segments.The effect is minimal. Your statement would only hold true for exceptionally small clips. But, my testing shows that once you are at the frame-count level associated with a typical cell, you pretty much get equivalent results to VBR on an entire stream. But -- one of the reasons I made the .ECL and .AVS files available is so people can play...

My goal is to make this as friendly as possible to people (like me) who want to tinker. Also to those folks, you might note that if you change values in the .ECL file, you can still use the automated (Encode and rebuild) functions. DVD-RB takes the single massive .ECL and pulls file sections individually into a temporary .ECL during encoding. That's because of the well-known memory problems associated with loading large groups of files in one encode session.

2) I think that your source detection (.d2v creation) algorithm needs tons of work. You can't use a general setting to all VTS sets. Most DVD discs have mixed content framewise. For instance: Main movie (Progressive FILM - will need pulldown), special feature: TV-Spot (Interlaced 29.97i - decomb should be used), etc. Eyes`Only's source preparations algorithms from DoItFast4U are brilliant - it detects properly everything, even field orders, and writes the AVS accordingly. You should consider talking to him about it, or you could correct me if the abovementioned is incorrect.I don't make a general setting for all VTS sets. DVD-RB analyzes each cell separately and determines whether is should or should not need pulldown. Then pulldown is automatically applied when appropriate during rebuild. One of the advantages of doing my own scan (instead of calling DVD2AVI) is that I actually get to see all the GOP and frame flags myself.

quantum
18th March 2004, 20:29
@jdobbs
Can you explain a little about how dvdrb determines and breaks up clips? When an ntsc extra has mixed telecided and interlaced video is it broken when there is a change from one to the other?

Are you using the patterns in the d2v file to determine telecided / interlaced?

Is TFF and BFF examined and set automatically?

From my experience with CCE, getting these right can be very difficult, and problems may only manifest on a relatively small percentage of titles, where jerky frames can appear at sporadic points. I'm hoping you've exercised some brilliance and figured this stuff out so it works 100% :-)

StifflerStealth
18th March 2004, 20:32
Originally posted by PurpleMan
Yes, I know all that. obviously that's why I said that I know that it's used to help keep the original DVD structure.
But in which case, this program is rather futile as it claims to achieve quality, which it clearly does not in comparison to BIG3 method, and in some cases, in comparison to transcoders. If you take a cell that is a fast action scene (a car chase or such), and try to encode it seperatley at a bitrate of 2350kbit/sec, the result will be inferior to a DVD-Shrink equivalent project.

We obviously needs to achieve a way to control the GOP structure of an encoded MPEG2 file. But I do not think that this is the way.
It ain't a new suggestions either. That's what NUMENU4U uses to keep the structure of menus.

I did play around with a way to force the GOP structure in CCE. It's a bit of a lengthly process. This is what I did:

I extracted the entire video file of one PGC. I opened IFO Edit and used the tool "File->Check m2v file". I selected the demuxed file and saved the txt file. This tool ouputs the entire GOP structure of a video. If you look at the IBBP stuff is not all the same length, and the Bs and Ps don't always follow the same pattern. Anyways, I worte a cheap and dirty program to get the I frames out of that file and convert them to frame numbers that BatchCCE supports. I opened the video file in BCCE and imported the chapters. One lone mother of a list. This basically forced CCE to follow the Same GOP, except for the fact that the Bs and Ps would not follow the order, but who cares about them. Since this list forced the same GOP length the chpaters worked out perfectly in DVD Maestro. I used IFOUpdate to get the Adjusted mode Chaptes. I mean they fell right on the money. I think I got lucky on this. I only encoded one small PGC with 8 Cells and a total length of 44min 10secs. I need to do more testing to see if other video files will fall right on the money.

Stiff

jdobbs
18th March 2004, 20:36
But in which case, this program is rather futile as it claims to achieve quality, which it clearly does not in comparison to BIG3 method, and in some cases, in comparison to transcoders. If you take a cell that is a fast action scene (a car chase or such), and try to encode it seperatley at a bitrate of 2350kbit/sec, the result will be inferior to a DVD-Shrink equivalent project.Rather futile? That's a little harsh, don't you think? I'm also not in competition with the Big-3 method, nor do I intend to be. I've worked closely with Eyes-Only in the past and as you may recall, one of my tools are a part of that method as well.

hypo20
18th March 2004, 20:40
@jdobbs

Again. THANKS FOR THIS PROGGIE.

Tested on LOTR2 with all audio and subs and the picture is better as with any other SW with only one audio lang. :) CCE is CCE. :)

quantum
18th March 2004, 20:44
But in which case, this program is rather futile as it claims This is rash of improperly drawn conclusions, especially considering the program has been out in beta for only 4 days.

Rombaldi
18th March 2004, 20:51
@jdobbs

I must add to the chorus of cheers for this tool. Absolutely amazing work in such a short time.

as far as your future efforts on this..

- being able to set a specific VTS to half D1 (ie. for extras) would be brilliant, as would being able to specify a given bitrate/pass count per VTS.

- I'm lusting over that "4:3 LB to 16:9" option. I've got more than a coupla of discs I would like to pass that thru (some are plain DVD5 so compression isn't an issue, the anamorphizing (word?) is". obviously being able to set this on a VTS basis is required (ie, main movie 4:3LB>16:9, extras could be real 4:3 full frame, not good to chop them eh?)

- One thing that I haven't heard people speak of yet (perhaps with good reason).. PAL > NTSC, NTSC > PAL conversion??? [ducks and runs for cover]

Brilliant, absolutely brilliant...

jdobbs
18th March 2004, 21:12
@Quantum
Can you explain a little about how dvdrb determines and breaks up clips? When an ntsc extra has mixed telecided and interlaced video is it broken when there is a change from one to the other? Kinda, sorta. I break out based upon VOBID/CELLID. For telecining I look at the flags and count the RFFs -- I then use the threshold value set in SETUP to determine (at the cell level) which .D2V to use (I create two, one at 29.97fps and one at 23.976) and whether to apply pulldown on rebuild.

ADDED: I want to be careful about the CELL level part -- there are times when I can break out at a sub-cell level, but that is only for support of VOB/CELL interleaving.

RB
18th March 2004, 22:01
Originally posted by StifflerStealth
I did play around with a way to force the GOP structure in CCE. It's a bit of a lengthly process. This is what I did:
Huh? :) The beauty of DVD-RB is that it does not require an identical GOP structure. Though DVD-RB encodes at the cell level, the re-encoded cells will have a different GOP structure already and as you know, DVD-RB muxes this back just fine.

What we want is the ability to encode the many AVSes as a big one, setting I-Frames at the cell boundaries. That would ensure that jdobbs could break out cells from the big MPV.

PurpleMan
18th March 2004, 22:04
Rather futile? That's a little harsh, don't you think? I'm also not in competition with the Big-3 method, nor do I intend to be. I've worked closely with Eyes-Only in the past and as you may recall, one of my tools are a part of that method as well.


Well, what is the point of using CCE if you are forced to use segments? a thing that we tried to avoid so many times when trying to achieve 1-click-backup-solutions that'll use CCE.

I might've been a little harsh with that statement and I apologize.

I guess I just expected a breakthrough in DVD backup or hoped you figured out a way to make CCE follow a GOP structure and got disappointed when I saw it's just the same old workaround which I personally (but that's just me) find inappropriate for quality backups. It might be suitable for others.

In any way, any contribution to the DVD backup scene is greatly appreciated. Hence, so are you. Sorry if I unwillingly implied otherwise.

PurpleMan.

EDIT:

p.s.


<FMalibu> I already suggested in an earlier post to set the bitrate for each cell proportionally to the original size of the cell


Would be an excellent idea to override the quality loss in the current state of the program.

robw
18th March 2004, 22:16
Hello

Just want to confirm that I am getting the same error reported by Quantum back on page 9 of this string.

I have my DVD mounted from an ISO using Daemon Manager v3.44. When I process the file under DVDRB the first two stages go as expected. Then on third stage, Rebuild, I have an error. The VIDEO_TS folder is produced and a number of files are created quickly. Then I get a

Run-time error '75'
Path/File access error

I copied the VIDEO_TS from the Daemon Manager to a hard disk subdirectory and reset the source to point to this VIDEO_TS in DVDRB. Then after pressing Rebuild all goes well.

Seems that DVDRB is trying to get write access to the Daemon Manager, which of course is not allowed for the virtual drive.

quantum
18th March 2004, 22:20
Just want to confirm that I am getting the same error reported by Quantum back on page 9I should add I don't think this happens every time. I'm pretty sure I've done some disks from iso mounted drives that worked, so maybe it's happening only with certain disks.

StifflerStealth
18th March 2004, 22:29
Originally posted by RB
Huh? :) The beauty of DVD-RB is that it does not require an identical GOP structure. Though DVD-RB encodes at the cell level, the re-encoded cells will have a different GOP structure already and as you know, DVD-RB muxes this back just fine.

What we want is the ability to encode the many AVSes as a big one, setting I-Frames at the cell boundaries. That would ensure that jdobbs could break out cells from the big MPV.

@RB: First, forgive me for not being clear. I type ahead of my brain sometimes :). PurpleMan (Edit: I originally had PurpleRain there) was asking about encoding video files by the entire video instead of by cells. I replied about an experiment I did that was completely un-related to DVD-RB. I took the video from an entire video, and not on the cells. I used one PGC just to make the video file smaller (44minutes 10 seconds). Then I used IFO Edit and a program I wrote to convert the GOP to frames based on the location os I-Frames. I used cell times generated from IFOUpdate in DVD Maestro, and it worked without complaining about I-Frames.

I think is just as confusing as what I wrote above, but if read the previous post several times, and then this post, you might be able to understand what I wrote. :D

Stiff

jptheripper
18th March 2004, 22:41
psuedo proud of myself, i figured out an excel spreadsheet to take the .inf file and set up a KB per titleset sheet that will recalculate the KBs if different avg_bitrates per segment are used. All a need now is a listing of the current avg_bitrates per segment and current avg_bitrate of the whole title (jdobbs is this outputable or is it something i will need to dig into bitrate viewer for based on start and end points). If i had that table, here is what i propose (based on many previous earlier comments).

Take listing, and instead of assigning 1 bitrate based on total and then forcing it to each segment we can weight the bitrate based on length and existing bitrate relative to existing average for the whole title. I.e. if segment 2 has lots of action and the avg_bitrate in that segment is say 20% then the avg_bitrate for the whole title, then we can proportionally assign the bitrate for RB to the same ratio. I am sure i garbled that but i hope you know what i mean.

jdobbs, stifflerstealth, if you want to see the spreadsheet just let me know.

-jp

jdobbs
18th March 2004, 23:08
@Purpleman
I guess I just expected a breakthrough in DVD backup or hoped you figured out a way to make CCE follow a GOP structure and got disappointed when I saw it's just the same old workaround which I personally (but that's just me) find inappropriate for quality backups. It might be suitable for others.Again I disagree. I think the number of frames associated with a typical Cell is large enough that it rises above the point at which the quality curve associated with VBR flattens out. Eliminating the obvious single frame cells.

But I'm willing to compromise for the cause. If you can run some tests against commercial DVDs that prove that the bitrate changes dramatically from cell to cell, I'll insert a routine that allocates bitrates proportional to the original allocation.

FMalibu
18th March 2004, 23:12
Originally posted by PurpleMan
Yes, I know all that. obviously that's why I said that I know that it's used to help keep the original DVD structure.
But in which case, this program is rather futile as it claims to achieve quality, which it clearly does not in comparison to BIG3 method, and in some cases, in comparison to transcoders. If you take a cell that is a fast action scene (a car chase or such), and try to encode it seperatley at a bitrate of 2350kbit/sec, the result will be inferior to a DVD-Shrink equivalent project.

As I have stated previously in this thread (god knows where though, this thing is getting huge...), I agree with you on the issue of the bitrate distribution. There will be a huge difference in how much bitrate each cell on a DVD needs to get the same average quality. However, I greatly applaud the efforts of jdobbs in creating this program, after all this is a very early beta. The word futile is then not one I would use, and I suppose Purpleman has already revoked this statement.

I have been thinking about this bitrate distribution issue, and if you take the time to read this post, I will attempt to illustrate a method that I feel comes as close to a perfect bitrate distribution as possible when encoding individual cells.

Basically it would involve adding an extra "Prepare" and "Encode" step to the existing three step process. (I know, it's supposed to be a one click program, but bear with me :) )

1. The first prepare step would do the same thing it does now, only it would generate an .ecl file that is set to encode single pass VBR à la roba for every cell.

2. The first encode step would encode the generated .ecl file, resulting in lots of one pass .mpv files.

3. The second prepare step would the use the size of each cell from the one pass VBR encoding to calculate it the size it should be to fill up the DVD, i.e. it would scale up/down the size of each cell with the same ratio. This would also allow for variance between the main movie titleset and extras (e.g. if you want the extras to be 2/3 the relative quality to the main movie or something). This step would generate another .ecl file based on these bitrates.

4. The second encode step has CCE encode the number of specified passes.

5. Rebuilding...(jdobbs black magic :) )

As the single pass VBR encode would determine the compressability of a certain cell as compared to all the other cells, this method would provide a good bitrate distribution, provided that the sizes of the cells are all multiplied by the same ratio.

To jdobbs: Please do not think I'm trying to dictate you how to write your program, I'm merely attempting to give what I think is a good suggestion. I encourage anyone to question, discuss or disprove this method.

-- FMalibu

jdobbs
18th March 2004, 23:14
I'm going to have to go back through this thread and start collecting all the suggestions and see how many promises I've made. I'm afraid I might get to a point where my mouth is writing checks my ass can't cash...

jptheripper
18th March 2004, 23:14
dont think you need to go that far (my opinion) but i think the need to set per title is a must, but cell would just be nice based on existing.

is there anyway you could add the existing avg_bitrate to the .inf for each cell if you are already calculating it or if it is a small task to do so? i.e. just add an existing_avg_bitrate = xxxx right with the frames etc, that way if we wanted to do it by hand we could.

-jp

jptheripper
18th March 2004, 23:16
oh and please dont forget the offers of (free) assistance.

and please take the majority of the criticism as compliments, we are all just so excited and thankful for the tool we want to help you make it be the best it can be

-jp

jdobbs
18th March 2004, 23:22
@jptheripper
You bet. If you don't want criticism you kind of defeat the purpose of a beta.

toolman2k
19th March 2004, 00:08
Originally posted by Rombaldi
[B]@jdobbs

- being able to set a specific VTS to half D1 (ie. for extras) would be brilliant, as would being able to specify a given bitrate/pass count per VTS.


hmmmm ive tried doing half d1 on extras with some movies. it works very well. although not dvd compliant, most players it ok and because of half of total lines being used, quality looks alot better at low bitrates, less blocks, smoother images etc. so yes please make this happen :)

BUT, what i noticed with these half d1 clips is that they did play ok on my standalone, but not in powerdvd. subitles appeared wrong on the video. probably because the subpicture layer is still full resolution and the clip half causing displacement. but oh well....i play them on my stand alone so....and theyre only xtra so i could live with that :)

but .... maybe you could also adjust the subpictures to match the half d1 video ? now that would be very nice :)

jdobbs
19th March 2004, 00:15
@toolman2k
hmmmm ive tried doing half d1 on extras with some movies. it works very well. although not dvd compliant, Half-D1 is very much DVD compliant -- if it wasn't I wouldn't do it.

quantum
19th March 2004, 00:24
- being able to set a specific VTS to half D1 (ie. for extras) would be brilliantI messed around with this for some time and finally decided you get about the same results as half-d1 by increasing the softening effect, which is changing the "low pass" filter to a lower number, in CCE.

The result looks almost the same, and maybe better than half-d1 for low bitrate extras, and you don't have to worry about problems with subtitles or compatibility.

jdobbs
19th March 2004, 00:29
Hey, quantum -- great idea, and a lot easier to implement...

FMalibu
19th March 2004, 00:44
Originally posted by jdobbs
But I'm willing to compromise for the cause. If you can run some tests against commercial DVDs that prove that the bitrate changes dramatically from cell to cell, I'll insert a routine that allocates bitrates proportional to the original allocation.

Now you just got me curious if my claims are true, so I put it to the test. I took movie with some high action scenes, The Matrix R1. I know it can't really be backed up with DVD-RB (yet), but this was one of the few action movies I had availlable.

I demuxed by cell ID and here are the results of the first half of the movie:


V02C01 5429
V02C02 6429
V02C03 5292
V03C01 5199
V04C01 5104
V04C02 5549
V06C01 5702
V06C02 5391
V06C03 5260
V06C04 5166
V06C05 5198
V06C06 5235
V06C07 5348
V06C08 5979
V06C09 5580
V06C10 5356
V06C11 5749
V06C12 6385
V06C13 5830
V06C14 5146
V06C15 5414
V06C16 5684
V07C01 4065
V08C01 4779
V08C02 5372
V10C01 5712
V10C02 5599
V10C03 5342
V10C04 5371
V10C05 5431
V10C06 5336
V10C07 5365
V10C08 4694
V10C09 5213
V11C01 6349
V12C01 7765
V12C02 6579
V14C01 5696
V14C02 6653
V14C03 5179
V14C04 6487
V14C05 6218
V14C06 5239
V14C07 4846
V14C08 5278
V14C09 5273
V14C10 5281
V14C11 6013


You can see that the bitrate varies what I think is a significant amount. I started testing it on Fight Club R1 as well, but then lost the results. The maximum amplitude there between cell bitrates was about 2 Mbit I think, but obviously I can't back that up right now.

The method I proposed is indeed more difficult to implement, but I think it provides the best chances of a fair distribution without a movie, and more importantly between titlesets. I have seen a lot of DVDs that had disproportionate relative bitrates/quality between titlesets.

Also, it provides RoBa support, which rocks. For those not familliar with the merits of RoBa, I have found that it generally produces the same result as multipass encoding, but in one less pass. This means that a 4 pass multipass encode (incidently as many passes as anyone would ever want) can be achieved with RoBa in 3 passes. At least that's my theory according to my findings.

-- FMalibu

jptheripper
19th March 2004, 00:53
@fmalibu

can you tell me your method for demuxing by cellid and then determining the bitrates? i have my calculator ready to go but i am missing this one piece of info.

if you dont want to clutter the thread please pm me the steps

-jp

wmansir
19th March 2004, 00:56
Originally posted by quantum
I messed around with this for some time and finally decided you get about the same results as half-d1 by increasing the softening effect, which is changing the "low pass" filter to a lower number, in CCE.

The result looks almost the same, and maybe better than half-d1 for low bitrate extras, and you don't have to worry about problems with subtitles or compatibility.

Did you try this out on interlaced material or just progressive?

I find half-D1 is good for interlaced material, which a lot of extras are. But I have never compared the results with filtering, partly because filtering interlaced material can be tricky. Another benefit of half-D1 is that it encodes much faster, as a opposed to filters which slow down encoding.

jdobbs
19th March 2004, 00:57
@FMalibu

Okay, Matrix is a good extreme so you convinced me. I'm a little surprised, though. These are average bitrates, right?

RB
19th March 2004, 01:03
AFAIK Half-D1 can't be anamorphic though.

SiXXGuNNZ
19th March 2004, 02:05
Originally posted by jdobbs
NOTE: NEW VERSION LOADED AFTER 1096 DOWNLOADS ON PAGE 4

wow, I got this forum set to view 30 posts per page, giving this 12 pages, it is not on page 4 :\

edit: found it logged out, page 8 or something, page 6 when viewing 30 posts

http://forum.doom9.org/showthread.php?s=&postid=459634#post459634

and attachment: http://forum.doom9.org/attachment.php?s=&postid=459634

joaoccc
19th March 2004, 02:27
Hello

DVD-RB give me the error 9, subscript out of range in shangaii nights.

Anyone had this problem ?

And this movie don't had angles.

Reards

StifflerStealth
19th March 2004, 02:29
I was able to do several no thrills DVDs, so I think I'm going to test a DVD that caused Scenarist, DVD Maestro, and even InstantCopy v8 to fail. This DVD has a really strang structure with Hidden Cells. The only way to extract hidden cells is to use Dem(f)ux by CellID. Check this thread for more info (http://forum.doom9.org/showthread.php?s=&threadid=72210). Read all the post so you can get an idea on what's going on with this disc. This will really test your m(f)uxer. If your proggie can m(f)ux this, then it will have done what several thousand dollar software could not.

Stiff

quantum
19th March 2004, 02:50
DVD-RB give me the error 9, subscript out of range in shangaii nights.I think I had this on one disk. I'll bet you have a number of cells or chapters or pgcs or something that is going beyond what jdobbs originally allocated. It's a good idea to post the disk name as you did in case jdobbs has the original for testing.

@jdobbs: Yet another thing to consider, since you probably don't have enough to think about, is to cause vb to give the line number when an error occurs. This can help with debugging since you can tell exactly where in your code things like "subscript out of range" occured. This is actually not that simple to implement. I've done it and can help out when you run out of other things to do.

jdobbs
19th March 2004, 03:06
Okay, all, just an update before I retire for the night. I worked on several things tonight, here's a summary:

- Implemented support for "Open" and "Save" of project files
- Implemented support for Nic's QuEnc (FFMPEG Library) program
- Fixed the bug that allows the program to bomb out when no source is selected
- Added the VTS number to the status screen output while encoding segments
- Spent considerable time working on TMAPTI table updates -- but it's not quite finished

I plan to finish TMAPTI and also add code to computer different bitrates to each segment based upon the original DVD before posting the next version (v0.17). I also plan to add code for allowing batch processing of project files (doing multiple DVDs). So expect the new version some time on Saturday.

Also, I'm going to move the most recent update so it is always available on the first page of this thread.

Goodnight.

quantum
19th March 2004, 03:14
Goodnight. Nooooooo... stay up. Keep working!!! :-)

jdobbs
19th March 2004, 03:22
@$&#^%$#!!

Does anyone know how to add an attachment to an existing post (after you've deleted the old attachment)?

Anyhow, here's v0.16 so it is at least available...


THIS ATTACHMENT WAS DELETED AFTER 1463 DOWNLOADS

r6d2
19th March 2004, 03:43
Originally posted by jdobbs
Does anyone know how to add an attachment to an existing post (after you've deleted the old attachment)?You may find it easier to post a link on the first post of the thread instead of referencing specific pages with every version.

BTW, congrats on your tool and efforts to support it and to improve it. You are a real artist.

Oldeman
19th March 2004, 05:30
Hey,
I just tried DVD-RB v.16 on Matchstick men using DVDStripper to remove extras and Rejig (one button) to encode and then Menuedit to delete extra buttons. Looks pretty good. I'm impressed with how easy this was.... Especially after reading all these posts. Apperently Rejig is less complicated by far than CCE.
All I did was put the MPEG2Decd3g.dll in the same folder with DVD-RB.
Nothing with AVI2whatever.

Haven't watched the whole movie yet, but the menus and sound appear to be flaeless.
Congrats....

SLA
19th March 2004, 05:51
I don't know if it was mentioned above but:
The maximum Bitrate in Rebuilder.ecl is MUCH too high.
I encoded a movie with 2*448 kbps AC3 + 1*224 kbps AC3, the maximum Bitrate was 9000 kbps. Summed up this would be a maximum of 10120 kbps, but if remember correct the max was something about 9800, wasn't it?

Si
19th March 2004, 08:13
Re Half-D1
Don't want to start a non-topic divergennce but rather stop one :)

I think there is always confusion with this phrase.

I think it means 352x480 (NTSC) or 352x576(PAL) which is fully DVD compliant.

Others think it means 352x240 or 252x288 which I believe isn't fully DVD compliant. (maybe this should be called quarter-D1 ;)

regards
Simon
PS Keep up the excellent work

RB
19th March 2004, 08:30
About the problems with still image cells people were reporting: I for one had no problems with a cell that contained just a single still image (I-Frame), CCE 2.67.00.23/Mpeg2Dec3dg encoded this one-framer just fine and DVD-RB muxed it back with no issues.

Where things might start to fail is when there is a cell that contains a series of still images (I I I I ...), like slide or still show (anyway that's what Scenarist calls it). In this case CCE will just see a very short video clip and will encode it as (I P B B ...). Now I can imagine that this causes DVD-RB to fail because it expects to mux back an (I I I I...) sequence. If my assumption is correct, then the ECL would have to be modified to set the GOP N/M parameters to 1/1, forcing CCE to produce only I-Frames. Or as jdobbs has already noted, maybe better to just use the original stream.

JvD
19th March 2004, 11:13
I think I saw somebody posting a solution to the "Runtime Error 9"-problem but cant find it. What was it? Did yot leave all stills or what? How did you do it? What do I need do edit? The rebuild process ended up with 3.5GB of files, ~0.8 missing.
Im backing up Fellinis ROMA (with removed extras).

mcbelly
19th March 2004, 11:50
OK, I got a problem (the usual error "9") on X-Files S4 Disc 4 AND 5 (but IC8 wouldn´t do them either...), but that might be the DVD´s, so no real trouble there...

After so many tech related suggestions, here´s one for userfriendliness (is that a real word ?;)): How about a "continue" button ? Like DVD2SVCD has, after a failed encode, just ´load an .ini file and continue.

mcbelly

jdobbs
19th March 2004, 13:03
DVD-RB give me the error 9, subscript out of range in shangaii nights. Can you tell me where it happened in the process? Was it during scanning, encoding, or rebuilding? I think this has been typically reported during rebuilding. This is one of those problems I really need to get to the bottom of.

jdobbs
19th March 2004, 13:16
@SLA
I don't know if it was mentioned above but:
The maximum Bitrate in Rebuilder.ecl is MUCH too high.
I encoded a movie with 2*448 kbps AC3 + 1*224 kbps AC3, the maximum Bitrate was 9000 kbps. Summed up this would be a maximum of 10120 kbps, but if remember correct the max was something about 9800, wasn't it?

The maximum video bitrate for a DVD is 9.8Mbs. The combined bitrate (video, audio, and subpictures) is 10.08Mbs. I can't remember, though, whether that means only the active channels (one video, one audio, etc.) or total on the disc... here's what the DVD FAQ at DVD Demystified says:

Maximum video bit rate is 9.8 Mbps. The "average" video bit rate is around 4 Mbps but depends entirely on the length, quality, amount of audio, etc. This is a 31:1 reduction from uncompressed 124 Mbps video source (or a 25:1 reduction from 100 Mbps film source). Raw channel data is read off the disc at a constant 26.16 Mbps. After 8/16 demodulation it's down to 13.08 Mbps. After error correction the user data stream goes into the track buffer at a constant 11.08 Mbps. The track buffer feeds system stream data out at a variable rate of up to 10.08 Mbps. After system overhead, the maximum rate of combined elementary streams (audio + video + subpicture) is 10.08. MPEG-1 video rate is limited to 1.856 Mbps with a typical rate of 1.15 Mbps.

acido
19th March 2004, 14:20
Maybe i've missed something or did something wrong but :
- Ripped U2 Go Home (PAL) DVD with DVDDecrypter (all files/File mode)
- Removed unwated titlesets/menu with dvdstripper
- Removed unneeded audio streams with ifoedit
- Obtained a 5,52GB dir with working menus/chapters
- Run DVD-RB 0.16 - eclcce 1.7b - CCE-SP 2.67.00.23 trial
- After "one click" mode run, got
- Final dir 3,70GB in size, and menus not in synch with chapters

Do i have to rip in IFO mode and movie only to use DVD-RB?
Can someone summarize the process for newbies?

TIA, Alfredo

tf
19th March 2004, 14:28
@acido:

Well your method seems pretty much like mine. Here's what I do:

- Rip using DVDStripper (ie. DVDDecrypter) and remove all the clips I don't want. Check the output with PowerDVD, if ok, next step.

- Remove layer break and unwanted audio with DVDShrink. Yeah I know, this can be done with IfoEdit, but I got plenty of hd space. Again I check the output with PowerDVD, if ok, next step.

- Start DVD ReBuilder and let it do its magic. Using AviSynth 2.54, CCE SP 2.50, EclCCE 1.7 and MPEG2Dec3dg.dll, to be precise. Check the output with PowerDVD. If ok, next step.

- Deactivate/delete/hide buttons to deleted stuff with MenuEdit.

- Burn with Nero.

-tf

trebor
19th March 2004, 14:31
I also get error 9, subscript out of range right at the beginning when i press prepare :(
Did another dvd yesterday that worked just fine however ;)

geffroman
19th March 2004, 14:32
I am exhausted just catching up on the reading of this thread... I can't thank you enough for this program...

Who hasn't always dreamed of a CCE based "One Click" tool?

When you get closer to first official release I will make sure to post your program as the Premiere solution to have on our site where we will also be promoting heavily that a responsible user is a DONATING user to make sure you are rewarded for the insane amount of work you are doing.

Thanks again... Jeff

jdobbs
19th March 2004, 14:44
I also get error 9, subscript out of range right at the beginning when i press prepare I'm going to go back through my code and find every reference to every array and capture every possible place that a subscript might be out of range... then at least I'll know what the hell I'm doing wrong and why it only happens on certain DVDs.

acido
19th March 2004, 15:22
Originally posted by acido
Maybe i've missed something or did something wrong but :
- Ripped U2 Go Home (PAL) DVD with DVDDecrypter (all files/File mode)
- Removed unwated titlesets/menu with dvdstripper
- Removed unneeded audio streams with ifoedit
- Obtained a 5,52GB dir with working menus/chapters
- Run DVD-RB 0.16 - eclcce 1.7b - CCE-SP 2.67.00.23 trial
- After "one click" mode run, got
- Final dir 3,70GB in size, and menus not in synch with chapters

TIA, Alfredo

In the meanwhile i compressed the above 5,52GB dir with DVDShrink 3.17 to compare with DVD-RB results ...
.
Differences between DVD-RB and DVDShrink 3.17 :
.
1. DvDShrink created perfect 4,35GB DVD
2. DVD-RB created a undersized (3,70GB) DVD with wrong menu/chapters associations
:confused:

RB
19th March 2004, 15:38
acido, how about trying it without messing with the DVD layout first? There's always a chance one of the tools you use causes inconsistencies.

jbenj01
19th March 2004, 16:08
Originally posted by Oldeman
Hey,
I just tried DVD-RB v.16 on Matchstick men using DVDStripper to remove extras and Rejig (one button) to encode and then Menuedit to delete extra buttons. Looks pretty good. I'm impressed with how easy this was....

Wait.. how did you manage to do that?? Isn't Matchstick Men a multi-PGC DVD? Thought DVD-RB does not yet support..?

I keep getting the "..Error 380.." using CCE 2.66. I searched thru the thread and tried applying 'fixes', i.e., changing MPEG2 ES output to .m2v in CCE2.66, but to no avail. I've noticed so far in this thread that there are 2 such types of errors--a "380" and a "9". Has anyone pin-pointed causes? Thanks!

DVD-RB will be a gem once de-bugged.. Thank you jdobbs, sir..

massive88
19th March 2004, 16:13
@jdobbs

I used DVD-RB once so far with some really promising results. The only issue that I had was that the dvd I was using was Sports Night, which has hybrid frames. Doing the three step method I prepared the avs files. However to get rid of those pesky interlacing problems I had to go and edit all the avs scripts myself to add in decomb and tecline lines.

My only suggestion to improve the functionality of DVD-RB would be to possibly have a place where you could automatically insert lines into the avs scripts should you know you want them. On the whole though it wasnt that big of a deal to put the lines in myself, and the dvd looks far better than when done with transcoding.

Thanks a ton for making this great peice of software!

FMalibu
19th March 2004, 16:24
Originally posted by jdobbs
@FMalibu

Okay, Matrix is a good extreme so you convinced me. I'm a little surprised, though. These are average bitrates, right?

To be honest, I'm a little surprised too, as I expected more extreme bitrate variations. :) But yeah these are bitrate averages over each cell.

@jptheripper

I just let dvd decrypter demux the video and split it by cell id, then I viewed each cell in bitrate viewer.

And about the maximum bitrate issue, I still think "DVD compliant" will set the maximum bitrate to 9800, at least that's what I interpret from the manual. What procedure are you using to multiplex jdobbs, entirely your own? Any idea how it would handle VBV buffer overflows, would it report them while muxing?

-- FMalibu

lab-one
19th March 2004, 17:05
@jbenj01


I had a frustrating time with the 380 run time error. Thanks to a couple of other posts here I finally straightened out my set-up and have had 2 successful runs thus far. Set up is as follows:

Taken from huesage post on page 9:

instalation guide...
OK guys and gals,
Since a lot of people are having similar problems to the ones I was having at the start, I have decided to write a little instalation guide.

Here is a list of things you need to download:

1- Avisynth 2.54 (from doom9 software download page):
http://www.doom9.org/Soft21/Support...viSynth_254.exe

2- DVD2AVI dg (from doom9 software download page):
http://www.doom9.org/Soft21/Decoders/decodefix100.zip

3- EclCCE 1.7b (from doom9 forum, link in one of the posts):
http://home.t-online.de/home/340044300675/eclcce.zip
you only need this if you are using CCE SP 2.50, you do NOT need it for 2.6x and above.

4- DVD Rebuilder 0.16 or latest version available (from doom9 forum, link in this thread):
http://forum.doom9.org/attachment.php?s=&postid=459634

5- CCE SP 2.50 or CCE SP 2.66 (from doom9 software download page, trial versions):
http://www.doom9.org/Soft21/Encoders/MPEG2/cspte250.exe
http://www.doom9.org/Soft21/Encoder...2/ccespt266.exe

Here is the instalation process:

1- install Avisynth 2.54

2- extract all the contents of DVD2AVI dg (decodefix100.zip) directly into the Avisynth 2.54 "plugins" folder
ie: C:\Program Files\AviSynth 2.5\plugins

3- install the version of CCE you want to work with. If you installed CCE SP 2.50 go to step 4, if not, go directly to step 5.

4- extract "eclcce.zip", run it and point it too your CCE SP 2.50 executable
ie: C:\Program Files\Custom Technology\Cinema Craft Encoder SP\cctsp.exe

5- extract DVD Rebuilder 0.16 (dvd-rbv016.zip) or later
- run it
- click on "options" menu then "setup"
- here you have to point the APROPRIATE box to your EclCCE.exe or cctsp.exe depending on the version of CCE used
ie: If using CCE SP 2.50: C:\Program Files\eclcce\EclCCE.exe (in the "Path to CCE Pro 2.50" box)
ie: If using CCE SP 2.6x and above C:\Program Files\Custom Technology\cctsp.exe (in the "Path to CCE Pro (New))

6- make sure you also go to the "Options" menu, "CCE Options" and check the correct version of CCE you are using ;-)

7- if any of your source video is interlaced, make sure to go to "Options", "AVS Options" and check "ConvertToYUY2(interlaced=true)".

I hope that this has been helpful to some of you and that it does not cause any trouble because of links or space it has taken on the thread. This is only meant to be a help to Jdobbs who has worked so hard and has accomplished so much.

NOTE: Please do not take this guide word for word, it is only meant to help you, send you in the right direction and save you some time. you might have to do things a little different than it is mentioned in here. GOOD LUCK !!


stolen from pace on page 11:

You can download this plugin at http://www.avisynth.org/warpenterprises -> scroll down to Mpeg2Dec3, and download the version for AVISynth 2.5



All credit to both of these posts. Once I followed these and changed the CCE MPEG 2 extension to m2v I had everything working. As pace noted above, make sure you download the correct Mpeg2Dec3.dll from the link provided. There are 2 options, get the one for v2.5. I also removed the MPEG2Dec3dg.dll from the plug-ins directory. Not sure if it needs to be removed but it works without it being there.


Hope this helps. Thanks to everyone who has posted fixes for this as I was getting a bit pissed lastnight.

Oldeman
19th March 2004, 17:10
DVD-RB First Try

Hey,
I just tried DVD-RB v.16 on Matchstick men using DVDStripper to remove extras and Rejig (one button) to encode and then Menuedit to delete extra buttons. Looks pretty good. I'm impressed with how easy this was.... Especially after reading all these posts. Apperently Rejig is less complicated by far than CCE.
All I did was put the MPEG2Decd3g.dll in the same folder with DVD-RB.
Nothing with AVI2whatever.

Haven't watched the whole movie yet, but the menus and sound appear to be flaeless.
Congrats....

Follow-up...
The remade VIDEO-TS played flawless via IFOEdit. However, after I burned it it would not play in any of my players or PowerDVD. Navigation errors. GetVTS Sectors reported an error in the VMGMAT(?? I think) and DVDShrink reported an error in VOB5.
This may be the Rejig error someone reported earlier.

In any case this tool is very easy easy to use and I'm excited about its promise of better quality backups. :rolleyes:

StifflerStealth
19th March 2004, 18:07
Originally posted by RB
About the problems with still image cells people were reporting: I for one had no problems with a cell that contained just a single still image (I-Frame), CCE 2.67.00.23/Mpeg2Dec3dg encoded this one-framer just fine and DVD-RB muxed it back with no issues.

Where things might start to fail is when there is a cell that contains a series of still images (I I I I ...), like slide or still show (anyway that's what Scenarist calls it). In this case CCE will just see a very short video clip and will encode it as (I P B B ...). Now I can imagine that this causes DVD-RB to fail because it expects to mux back an (I I I I...) sequence. If my assumption is correct, then the ECL would have to be modified to set the GOP N/M parameters to 1/1, forcing CCE to produce only I-Frames. Or as jdobbs has already noted, maybe better to just use the original stream.

@RB: I take a page from the "Big 3" Methodology. I just remove any cell from the big ecl file that is under a certain size, usually a meg or so. I do this since some older versions have issuses with very small files.

@jdobbs: It might be easier to have two list. One for all the files that can be encoded, ie the big ecl file, and another list that contain cells that are under a certain size. Then when all the encoding is done, goto the second list and extract the cells that are not to be encoded. This should be an easier way than figuring out how the I, B, and P Frames should be for each cell. IMHO

Stiff

StifflerStealth
19th March 2004, 18:35
@jdobbs: A page back I told you I was going to try to do a DVD that broke DVD Maeestro, Scenarist, and even IC8. It just finished muxing, and DVD-RB handled it perfectly. The Hidden Cells or in there. I Know this because there are missing sectors, and the layout is exact. The audio and subs are in sync. Congrats! Your program did what several thousand dollar software could not.

Link to the topic discussing the craziness of this DVD: Click here (http://forum.doom9.org/showthread.php?s=&threadid=72210).

Stiff

Raymongo
19th March 2004, 21:35
Originally posted by huesage
@daxab:

I only get that error when using CCE SP 2.67, when using CCE SP 2.50 I get a finalized backup. What version of CCE are you using daxab?

Well thats is wat i tried but it still gives me the 380 error! I don't get it.


EDIT:

The problem was that all files were named *.mpv instead of *.m2v as Hypo stated. Now the rebuilding phase went flawless.

hypo20
19th March 2004, 21:59
@jdobbs

Ok. I have really BIIIIIIG problem.

Finally I was testing burned DVD's (with ImgTool Burn) and:

- in menu, everything is ok

- BUT!!!! when I play the movie, no sound at all!!!!!

What can be wrong??? In PC everything is OK.

redfive19
19th March 2004, 23:46
@jdobbs
A few pages back (damn this thread is huge) I asked about why I had jumpy frames when I play it back on my TV. You said to turn down the Film Threshold in options. It's at 70% now, what should I change it to?

TIA
-redfive19

jdobbs
20th March 2004, 00:26
@redfive19,

I'd just try other settings (start with 50%) and see how they look.

NobbyNobbs
20th March 2004, 00:46
@jdobbs

I have tried ReBuilder a few times with "Frank Herbert´s Dune" the mini-series, disc 1.

It works fine with ReJig, but chokes when it tries to rebuild VTS_04_1.VOB, and give the usual error (with a 9 somwhere in it).

With CCE it works, if I change the .mpv extensions to .m2v, but chokes at the same place.

Looking at the original in IfoEdit, I see that VTS_04 contains several PGC´s, and all but the first are collections of stills, that you are supposed to move between using the arrow buttons on your remote.

I have only tried it with this disc, as I believe that the best way to test a beta software for problems, is to try it on something that gives it problems :D

Hope this helps you in finding a solution to some of the problems at this early stage of a already quite good program :)

StifflerStealth
20th March 2004, 01:24
@NobbyNobbs: Just replace the cells that are stills with originals demuxed from DVD Decrypter. I mentioned a couple pages back how you can handle the stills. I have not recieved that error since I started that. Hope that helps.

Stiff

jdobbs
20th March 2004, 01:35
Pretty soon, maybe in the next version, I am going to have the program do that for you.

NobbyNobbs
20th March 2004, 01:39
Originally posted by jdobbs
Pretty soon, maybe in the next version, I am going to have the program do that for you.

That was the reason I posted about it, I already have a backup of this disc, but had the files on one of my HD´s, that is why I used this for my experimenting with your app. :)

jdobbs
20th March 2004, 01:57
With CCE it works, if I change the .mpv extensions to .m2v, but chokes the same placeI'm trying to write down all the bugs -- but I don't get this one. When does CCE create a file with a .MPV extension? What version. The reason I ask is that I insert the name of the output file (vid_file0= and vid_file1=) in the .ECL file.

NobbyNobbs
20th March 2004, 02:12
I was using CCE SP Trial 2.66.01.07, run trough EclCCE.

Rebuilder seemed to do alright with VTS_01, but when it tried to do VTS_02 (The main movie) it gave the error containing the number 380
( It is to late for me to think clearly, so can not remember the exact error, but it have been mentioned several times before)

When I saw one of the earlier replies, I looked at the files, and the extension was .mpv ;)

So I just marked all files in Total Commander, and changed all instances of .mpv to .m2v.

After the change, the rebuild worked, until it met the VOB, containing the stills gallery.

(I have seen a post, explaining how to change the output, either in EclCCe, or CCE, but the thread have become so large that I have trouble finding it :(

@StifflerStealth
I have seen your workaround, but although using workarounds might help if you want to back up the DVD, I thought it was better to report the problems, as I believe the reason for this thread is to help Jdobbs find possible bugs in the program.:)

Paced
20th March 2004, 02:25
Originally posted by jdobbs
I'm trying to write down all the bugs -- but I don't get this one. When does CCE create a file with a .MPV extension? What version. The reason I ask is that I insert the name of the output file (vid_file0= and vid_file1=) in the .ECL file.

As far as I know, all CCE versions create .MPV extensions by default - but I myself don't get this problem 'everyone else' is experiencing (using CCE v2.50).

paulers
20th March 2004, 02:47
Does anyone have a good method for stripping out extras using this wonderful method? I have been waiting a long time for this application. Excellent job Jdobbs!

jdobbs
20th March 2004, 02:54
As far as I know, all CCE versions create .MPV extensions by default - but I myself don't get this problem 'everyone else' is experiencing (using CCE v2.50). Yep. You can change the default under OPTIONS/EXTENSIONS -- but I thought that since I set it myself in the .ECL file it should have been overridden...

NobbyNobbs
20th March 2004, 02:54
@paulers

Use DVDStripper, IfoEdit (2Cools guides helps a lot), Titleset Blanker, or some other program to remove the extras before you use DVD Rebuilder

paulers
20th March 2004, 02:57
thanks for the fast response! Ill give it a shot

StifflerStealth
20th March 2004, 03:34
Well, after playing around with the settings in the program, and not manually editing the files, CCE gave me V01000100001001.mpv.m2v files. I must be special since I have two extentions. :D Now I need to remember how I did this. I use CCE 2.67.00.23 SP.

Stiff

joaoccc
20th March 2004, 03:39
Hello

i'm getting the error 9 again in dvd the deer hunter.When in try to make vts 2 ( the main vts )is give the error 9.

Regards

robot1
20th March 2004, 04:45
@joaoccc
just done for testing the same movie (pal R2) and it worked, using cce 2.67.00.23 and Eclcce.
DVD size: 4,32.
FF and Rewind doesn't work (probably for the NAV Pointers?) and DVDShrink also finds errors in the VOB

SLA
20th March 2004, 07:14
Hm...If i use PowerDVD to play the authored DVD it works quite fine. But if I put the slider to the last quarter of the movie it simply doesn't begin to play. The slider just jumps back. So I think there is something wrong? Does anyone know how to fix this problem? Thx!

robot1
20th March 2004, 09:33
Using ifoedit, open the ifo of your film.
Press Vob Extras, and in options check only
Correct Vob unit
Correct orifinal ifo files
Leave default selections in VOB EXPERT, and uncheck Autocopy Menu-files to destination.
Press ok, and after his work save the ifo.
This worked for me (PAL film).

SLA
20th March 2004, 11:40
Originally posted by robot1
Using ifoedit, open the ifo of your film.
Press Vob Extras, and in options check only
Correct Vob unit
Correct orifinal ifo files
Leave default selections in VOB EXPERT, and uncheck Autocopy Menu-files to destination.
Press ok, and after his work save the ifo.
This worked for me (PAL film).

Yeah thank you robot1 :D :D it really works (on my Pal DVDs) :):) *happy* But I think this issue should be fixed in an upcoming Version.

EDIT: omg it doesn't work, i played the wrong dvd so i thought it would work :(

Abnormal1
20th March 2004, 12:38
Hi,
I have just been testing ReBuilder and noticed that I am getting .mpv from CCE aswell.
Anyway what I was wondering is could you not just use .mpv instead of .m2v. This would then remove this small bug.

P.S. Great Program

Thanks
Abnormal1

jdobbs
20th March 2004, 12:40
Well, sorta. Then it would just start the bug for everyone who uses .M2V -- I'm still trying to figure out why it overrides the filenames I've put in the .ECL... Are you using the trial version?

Abnormal1
20th March 2004, 12:46
Hi,
I was just thinking that it could be because it is the trial version. I can get it to use .m2v by changing the extensions option but then this might cause problems for the big3 method as i think that uses .mpv extension.

edit: Turns out that the extension is set in the registry. But I just can not see why CCE ignores the File in the ECL and uses the extension in the registry.

Abnormal

jdobbs
20th March 2004, 13:02
I'm confident that this is only happening on people who are using the trial version. I downloaded it and was able to repeat it. For some reason the trial doesn't read the filename input from the .ECL file -- it could be related to eclCCE (since that is the only way you can use an ECL with the trial). I also noticed (at least on my system) that I get an annoying sound after every segment is processed when using the trial.

Anyway, I'll fix it by forcefully renaming the file to .M2V after it is encoded.

Abnormal1
20th March 2004, 13:25
After playing a bit i think you are right that this is eclCCE causing this problem, as if you open the ECL and manually change the extension to .m2v CCE encodes it to the correct name.

Abnormal

jdobbs
20th March 2004, 13:31
It's fixed. You'll see it in a version loaded later today. Right now I'm working on the TMAPTI table updates.

Mad_Max_73
20th March 2004, 14:34
An Italian (from venice)here wants a simple update...
Can you move
quality_prec=5 (25 is too high)
dvd=1
vbr_bias=20 (10 is too low)

on ecl creation....and
custom bitrate for every title set....tnx

jdobbs
20th March 2004, 14:38
I'll make them adjustable in setup.

RB
20th March 2004, 15:40
Originally posted by jdobbs
I'm confident that this is only happening on people who are using the trial version. I downloaded it and was able to repeat it. For some reason the trial doesn't read the filename input from the .ECL file -- it could be related to eclCCE (since that is the only way you can use an ECL with the trial). I also noticed (at least on my system) that I get an annoying sound after every segment is processed when using the trial.
Actually, it's a problem in both CCE and EclCCE. Run CCE manually and type a path with .M2V extension for the video output files. Now change the encoding mode, say from VBR to CBR. You'll note that CCE changed the extension from .M2V to the default extension, most likely MPV. Now that's exactly how EclCCE works, it simply simulates user input, hence the problem. I'll fix that in the new version I'm working on right now, this will also allow to run CCE minimized.

I also know where this annoying beep could be coming from, but thought I took care of that several versions back. It doesn't happen here with CCE-SP 2.67.00.23 trial. What version did you use?

jdobbs
20th March 2004, 15:44
@RB

Cool... Thanks. BTW, do you know why there is a sound made every time CCE exits when I'm using eclCCE with the trial? It doesn't do it with 2.50. (not a criticism, just a question)

FilipeAmadeuO
20th March 2004, 16:20
Can you add a One Pass CCE ???
I normaly use one pass with Q=35 and then if it get bigger i move to multipass.
Thank you a continue the good work

RB
20th March 2004, 17:08
Originally posted by jdobbs
@RB

Cool... Thanks. BTW, do you know why there is a sound made every time CCE exits when I'm using eclCCE with the trial? It doesn't do it with 2.50. (not a criticism, just a question)
It's coming from the "Do you want to save changes to 'noname' ?" prompt that CCE pops up when it exits because it is completely unaware of EclCCE :) I thought I had suppressed that, at least it doesn't make any sound here. Can you run EclCCE manually, load an ECL and then exit? Does it make that sound then?

quantum
20th March 2004, 19:02
Originally posted by jdobbs
I'll make them adjustable in setup.
Something to consider before you start making buttons and switches to adjust every setting in CCE. Think about supporting ecl template files. You have an ecl set the way you want via the CCE interface, then saved as normal. Your program then uses this template and inserts/replaces the important stuff like filenames, bitrates, etc. I went down this road before and found this much easier.

jdobbs
20th March 2004, 19:16
@RB
It's coming from the "Do you want to save changes to 'noname' ?" prompt that CCE pops up when it exits because it is completely unaware of EclCCE I thought I had suppressed that, at least it doesn't make any sound here. Can you run EclCCE manually, load an ECL and then exit? Does it make that sound then? Yes. At first I wasn't sure what was causing it so I tried it with CCE alone and got the sound.

jdobbs
20th March 2004, 19:18
Originally posted by FilipeAmadeuO
Can you add a One Pass CCE ???
I normaly use one pass with Q=35 and then if it get bigger i move to multipass.
Thank you a continue the good work No. There are way too many "gotchas" involved with one-pass. It's next to impossible to size it correctly and I personally don't think the quality compares at the same filesize (I know I'll get comments on that one).

r6d2
20th March 2004, 19:22
Originally posted by jdobbs
(I know I'll get comments on that one). Not from me. :D It's a religious discussion and won't get into it.

However, prediction has improved a lot. Tylo's D2Sroba currently achieves about 1% error and when oversized this can be corrected by a Requant pass. If interested, let me know.

jdobbs
20th March 2004, 21:11
Attached is the lastest DVD-RB (Beta) update. Here is a summary of the changes made:

- Added code to update the TMAPTI table based upon the newly authored VTS, this should fix problems associated with direct positioning

- Implemented support for "Open" and "Save" of project files -- lets you save and restore the current state of all configurable settings and paths. This is the first step in implementing batch processing.

- Implemented support for Nic's QuEnc (FFMPEG Library) program (he's done it again!) -- Please note that when checking this option "ConvertToYV12()" line is automatically added to .AVS files and "ConvertToYUY2()/AddAudio()" are disabled

- Fixed the bug that causes DVD-RB to get stuck if attempting to run "Prepare" when no input path has been selected

- Added the VTS number to the status screen output while encoding segments

- Fixed error associated with CCE Trial in which filenames were outputting as .MPV rather than M2V. (Note, though, that .MPV is still the correct extension for ReJig encoding)

- Added a dialog box for customizing some of the CCE settings. Removed the number-of-passes choice from the "Options" menu (it is now set via the CCE Dialog. Please note that no matter how you set the "passes" value, CCE Basic will only do a 2-pass encode.

- Fixed error in which Mode and Options menu were not disabled during encoding (if changed while encoding it might cause several errors)


Next up on the agenda is:
1. Allocating bitrates proportionally to each cell based upon the original bit distribution
2. Settings so bitrates can be different between VTSs so more can be allocated to the movie and less to VTSs holding extras.
3. Improvements so stills are better supported.

NOTE ADDED LATER: Thought I should mention. The QuEnc support requires QuEnc v.41 or later -- I've used an aspect ratio parameter that wasn't a part of earlier versions. Thx


DELETED ATTACHMENT: See bug posted a couple messages down.

You can get the fixed version here (http://forum.doom9.org/attachment.php?s=&postid=461790).

hypo20
20th March 2004, 21:42
Ok. New bug with this version:

When selecting CCE SP (2.66+) next happend:

Runtime Error '424':
Object required.

Oldeman
20th March 2004, 21:52
Man,
I've been waiting all day for this. Can't wait to try it with Rijig.
I think the tmapi(sp?) was my main problem with prior version.

Thanks...Thanks...Thanks....

jdobbs
20th March 2004, 22:00
Originally posted by hypo20
Ok. New bug with this version:

When selecting CCE SP (2.66+) next happend:

Runtime Error '424':
Object required. It happened when you selected it?

SLA
20th March 2004, 22:05
Originally posted by jdobbs
It happened when you selected it?

Yes same happens to me if i select it i get this errormessage. After restarting it it's already selected.

jdobbs
20th March 2004, 22:06
Originally posted by hypo20
Ok. New bug with this version:

When selecting CCE SP (2.66+) next happend:

Runtime Error '424':
Object required. Ok, found it. Stupid mistake. I'll be uploading the fix in a couple of minutes.

lab-one
20th March 2004, 22:09
v0.17 is working fine with CCE SP 2.50.

Thanks again for the new features.

trebor
20th March 2004, 22:11
Still get that runtime error 9
subscript out of range

Is there anything we can do to help you solve it? Like sending you the ifo that's causing this or something?
I've tried it on 3 dvd's so far. 2 worked perfectly but on the 3'rd i get this right away :(

jdobbs
20th March 2004, 22:17
Okay here is version 0.18 -- summary of changes:

- Fixed stupid bug that resulted in error '424' when selecting CCE version

Sorry about that -- I'd left some dangling references to the menu items that used to change the number of passes.

NOTE: YEP. There's a new version (0.19) greater than this one.

Grab it here (http://forum.doom9.org/attachment.php?s=&postid=461865).

jdobbs
20th March 2004, 22:22
Originally posted by trebor
Still get that runtime error 9
subscript out of range

Is there anything we can do to help you solve it? Like sending you the ifo that's causing this or something?
I've tried it on 3 dvd's so far. 2 worked perfectly but on the 3'rd i get this right away :( Is this the one that is happening in the last phase of the "ReBuild"? If so I've been able to repeat it (it's related to stills) and I'm working it.

hypo20
20th March 2004, 22:24
Man!!! You're so faaaast. God bless you.

I'm installing my Exchange server so I don't know what to do while installing. :D

trebor
20th March 2004, 22:35
Originally posted by jdobbs
Is this the one that is happening in the last phase of the "ReBuild"? If so I've been able to repeat it (it's related to stills) and I'm working it.

Nope, it happens right away just after pressing prepare

DMagic1
20th March 2004, 22:39
Great to see the new version out.

Give me a few to do a project, burn it, and I'll let you know how it works on the problem players.

DDogg
20th March 2004, 22:47
jdobbs, great work and thanks. I am wondering if you later plan to introduce a conditional that will use rejig if under a user set X% of reduction and CCE if over that X%?

jdobbs
20th March 2004, 23:11
Originally posted by DDogg
jdobbs, great work and thanks. I am wondering if you later plan to introduce a conditional that will use rejig if under a user set X% of reduction and CCE if over that X%? Not a bad idea, but the problem is -- at the point at which I actually know what the percentage is I will have already created either a set of .MPV files or .AVS files for one or the other to use. I'm counting sectors while creating them.

Probably the best way to do it is to choose CCE and use the 3-step method, it only takes about 4 minutes for the first (Prepare) phase to complete. If the percentage looks reasonable, you can just start over with ReJig and will have only wasted 4 minutes.

DMagic1
20th March 2004, 23:39
The problems are still there. I also noticed that IFOEdit DVDplayer will give problems much the same as the standalones I've tried. The original movie can be fastforwared with IFOEdit. The DVD Rebuilder output movie can't.

jdobbs
20th March 2004, 23:51
Originally posted by DMagic1
The problems are still there. I also noticed that IFOEdit DVDplayer will give problems much the same as the standalones I've tried. The original movie can be fastforwared with IFOEdit. The DVD Rebuilder output movie can't. Are you NTSC or PAL?

auszeus
20th March 2004, 23:56
Hi,

Great tool in the making here.

I just grabbed release 0.18 and decided to give QuEnc (0.41). When i tgot to the encode stage it just repeatedly brought up error messages from QuEnc about "Bad Parameter!". And didn't actually encode anything.

r6d2
21st March 2004, 00:13
v0.18, after ripping and click prepare, it processes the first VTS and then crashes with Run-time error 63: bad record number. :(

jdobbs
21st March 2004, 00:16
Originally posted by auszeus
Hi,

Great tool in the making here.

I just grabbed release 0.18 and decided to give QuEnc (0.41). When i tgot to the encode stage it just repeatedly brought up error messages from QuEnc about "Bad Parameter!". And didn't actually encode anything. Not sure... I just went and tried it again with both a 16:9 and a 4:3 source. Seemed to work fine for me. Here is the command line that DVD-RB is sending, try and enter is manually (with your paths etc.) and see what happens:

"\path\to\exe\QuEnc" -i \path\to\source\inname.avs -o \path\to\dest\outname.m2v -b nnnn -aspectratio aaaa -2 -auto -close

nnnn = numeric value of bitrate in Kbs
aaaa = "16:9" or "4:3" depending upon source.

Hmmmm... One possible error I can see is that I didn't put quotes around the in and out paths -- I'll do a test and see if that makes it fail on my system when I add spaces to a path.

jdobbs
21st March 2004, 00:19
Originally posted by r6d2
v0.18, after ripping and click prepare, it processes the first VTS and then crashes with Run-time error 63: bad record number. :( Using CCE, ReJig, or QuEnc?

jdobbs
21st March 2004, 00:31
Originally posted by auszeus
Hi,

Great tool in the making here.

I just grabbed release 0.18 and decided to give QuEnc (0.41). When i tgot to the encode stage it just repeatedly brought up error messages from QuEnc about "Bad Parameter!". And didn't actually encode anything. Yeah. The problem was the fact that I wasn't putting quotation marks around the paths... I was just able to repeat it on my computer. Another silly mistake. It's fixed. Look for a posted fix shortly. I want to see if I can find what caused r6d2's "Bad Record" error... if it looks like it will take to long I'll post an interim.

auszeus
21st March 2004, 00:32
Originally posted by jdobbs
Yeah. The problem was the fact that I wasn't putting quotation marks around the paths... I was just able to repeat it on my computer. Another silly mistake. It's fixed. Look for a posted fix shortly. I want to see if I can find what caused r6d2's "Bad Record" error... if it looks like it will take to long I'll post an interim.

Yes, just tried it myself and I was using folders with spaces, removed the spaces and it works just fine.

jdobbs
21st March 2004, 00:33
Originally posted by r6d2
v0.18, after ripping and click prepare, it processes the first VTS and then crashes with Run-time error 63: bad record number. :( Could you try that rip with v0.17 for me? That way I'll know to look only at the changes I made in 0.18.

StifflerStealth
21st March 2004, 00:36
While we're on the topic of bugs. I noticed in version 0.16+ that if you start an encode with CCE, let CCE start to do it's thing, and then press the Abort button, DVD-RB will freeze with "Not Responding" in the title bar. I like to let CCE finish one cell so I can check the quality of the encode in a player to see if I need toraise the number of passes/bitrate.

Quite frankly, I don't know anyone else but me that would even want to abort a CCE encode considering the time it takes :).

Stiff

SteveV
21st March 2004, 00:41
Dunno if its a bug or that it is supposed to do it but here is what i found.
i just started a process on spike lee`s do the right thing pal, i am using CCE 2.50 and selected 4 passes.After it was done i opened rebuilder.ecl to see what it actually did and found it got vbr_pass=3 in all the files.After that i started another process but now with 5 passes in CCE and rebuilder.ecl shows now vbr_pass=4.
Is it supposed to do this ?

2COOL
21st March 2004, 00:45
Just wanted to try out DRB 0.18 this weekend and I guess I'm back down to being a born again newbie. :( Anyways, I have CCE SP Trial 2.67.00.23 and EclCCE 1.7b. All I have set in my setup is my EclCCE.exe in Path to CCE Pro (new}. When one click processing, I'm at a stoppage when CCE pops up when it's time to encode and there's nothing in it. I tried reading the whole thread but i feel like I'm missing something. :(

If someone has the same proggies like I have, can you come up with a cheat sheet for me? I don't often ask for help so any assistance is well appreciated.

jdobbs
21st March 2004, 00:46
Originally posted by SteveV
Dunno if its a bug or that it is supposed to do it but here is what i found.
i just started a process on spike lee`s do the right thing pal, i am using CCE 2.50 and selected 4 passes.After it was done i opened rebuilder.ecl to see what it actually did and found it got vbr_pass=3 in all the files.After that i started another process but now with 5 passes in CCE and rebuilder.ecl shows now vbr_pass=4.
Is it supposed to do this ? That's purposeful. In true 2 pass encoding there is a scan (pass 1) followed by an encode (pass2). In CCE the scan isn't counted as a pass -- so I set it to what I thought was more correct. I just hated to see people waiting 50% longer for an additional pass that doesn't give that much improvement.

SteveV
21st March 2004, 00:49
Ok thx for your quick response

NobbyNobbs
21st March 2004, 00:53
@2cool

There is a post on page 19, that tells a bit about what you need.

There are others, but the tread is so long, that it is hard to find something again.

I actualy did what I usualy do with your cheatsheets, I printed the whole tread, but just being away some hours, it is hard to see what is happening:)

jdobbs
21st March 2004, 00:54
Originally posted by r6d2
v0.18, after ripping and click prepare, it processes the first VTS and then crashes with Run-time error 63: bad record number. :( Has anyone else gotten this error? I haven't been able to repeat it.

Oldeman
21st March 2004, 01:06
I just did NTSC Memento with DVD-RB .17 and ReJig. No problems. Movie looks great. Fast forward works ok on my APEX 1500 after burning. Menus work ok.

I love it.
Thanks :) :) :)

jdobbs
21st March 2004, 01:08
Okay, I don't want to leave a post on too long that has a really obvious bug (the QuEnc "Bad Parameter" error). So I'm replacing v0.18 with v0.19 (attached). Hope I'm not driving people crazy with too many versions... Changes:

- Fixed error that resulted in "bad parameter" message with QuEnc when the source or destination path had a space in it.

- Added option to copy status box to clipboard -- meant to help with collecting and posting information (mainly for debugging)

ATTACHMENT REMOVED AFTER 758 DOWNLOADS.

To get the most current version -- go to the first post of this thread

NobbyNobbs
21st March 2004, 01:11
@jdobbs

This tread have gotten so big, it is hard to follow.

As you also are a mod on this forum, I suggest that you close it, and open one tread, where people can post bug reports ( with instructions for what they should include for you to trace the possible bug).

You could also have another tread, for general discussions about DVD Rebuilder, as I guess that reports on things that work as it is supposed also can be helpful (and comforting?):D :D

hypo20
21st March 2004, 01:16
Still don't have audio output in my SONY standalone DVD player.

On PC everything works fine. Fast FWD and Fast RWD is working good.

Has anyone this problem???? Or know anyone a solution???

r6d2
21st March 2004, 01:30
Originally posted by jdobbs
Using CCE, ReJig, or QuEnc? CCE I think. It happened again at the same point on a re-run with 1-click mode. I'll try 0.19. Movie is Taxi Driver.

StifflerStealth
21st March 2004, 01:33
@Hypo: What type of audio was it? I know I have problems with the Big three method and DTS audio. I haven't tried a Movie with DTS audio on DVD-RB yet.

Stiff

jdobbs
21st March 2004, 01:38
Originally posted by NobbyNobbs
@jdobbs

This tread have gotten so big, it is hard to follow.

As you also are a mod on this forum, I suggest that you close it, and open one tread, where people can post bug reports ( with instructions for what they should include for you to trace the possible bug).

You could also have another tread, for general discussions about DVD Rebuilder, as I guess that reports on things that work as it is supposed also can be helpful (and comforting?):D :D That's a really good idea.

All: for further bug reports and discussion please post here (http://forum.doom9.org/showthread.php?s=&threadid=73050).

For general discussions, comments, and suggestions please post here (http://forum.doom9.org/showthread.php?s=&threadid=73051).

I've decided not to close it, though, until some of the discussions are finished. Hopefully the other threads will pick up and this will move down the page on its own.

jdobbs
21st March 2004, 02:15
Originally posted by hypo20
Still don't have audio output in my SONY standalone DVD player.

On PC everything works fine. Fast FWD and Fast RWD is working good.

Has anyone this problem???? Or know anyone a solution??? That's odd. Are you using analog connectors or coming from a digital audio output? Have you tried selecting other audio tracks to see if they have any output?

DMagic1
21st March 2004, 02:53
Originally posted by jdobbs
Are you NTSC or PAL?

NTSC

jdobbs
21st March 2004, 03:09
@DMagic1,

Damn. I'm also NTSC and can't get it to repeat this - I was hoping it was something simple like a computation issue with PAL when figuring out the contents of the Data Search Informatin (DSI) packet.

In the DSI, which is in the NAVPACK there are SRIs that point to VOBUs in a forward and backward direction. If your FF and RW aren't working properly it would tend to indicate that this table is populated incorrectly. Unfortunately this table isn't enumerated by VOBEdit (except in Hex mode) making it difficult to review it. It makes it even worse when the FF and REW work fine for the discs I've tried (at 1.5x, 5x, and 20x on my standalone(s) and also using PowerDVD)

I'll go back over the code that fills the table and see if there are any anomalies...

@All,

Are there others who are experiencing problems with FF and RW?

quantum
21st March 2004, 03:55
After redoing Matchstick Men, I don't see any difference on direct positioning in Zoom Player. I click about 1/4 of the way into the movie and it jumps to either 2/3 or locks up. Hitting FF exits the movie. This is how I test to confirm navigation works. I don't think PowerDVD is a good test because I think it has work-around code built in to deal with worst case DVD's.

jdobbs
21st March 2004, 04:00
That means it probably wasn't the TMAPTI that was the source of the problem. Too bad, that was a lot of work. Of course it had to be done anyway.

geffroman
21st March 2004, 04:02
Originally posted by jdobbs
That's a really good idea.

All: for further bug reports and discussion please post here (http://forum.doom9.org/showthread.php?s=&threadid=73050).

For general discussions, comments, and suggestions please post here (http://forum.doom9.org/showthread.php?s=&threadid=73051).

I've decided not to close it, though, until some of the discussions are finished. Hopefully the other threads will pick up and this will move down the page on its own.

In about one day your post with those two links will be lost in the thread... Should really close this thread with that information at the beginning an end of thread directing folks to the proper thread. Just my humble opinion

quantum
21st March 2004, 04:47
Originally posted by jdobbs
That means it probably wasn't the TMAPTI that was the source of the problem. Too bad, that was a lot of work. Of course it had to be done anyway. Are you sure? The results seem the same as when I do my own projects and do ifoupdate without the transfer TMAPTI option enabled. Is there any way there could be problematic TMAPTI's with your new code? Maybe I should try another disk.

jdobbs
21st March 2004, 04:55
Originally posted by quantum
Are you sure? The results seem the same as when I do my own projects and do ifoupdate without the transfer TMAPTI option enabled. Is there any way there could be problematic TMAPTI's with your new code? Maybe I should try another disk. I'll go back and go through the table creation with a fine tooth comb... what makes it so difficult is that I can't repeat it. I have 3 standalones and they all have been able to FF and RW on all the discs I've done.

Early in my development I had a problem similar to the FF and RW portion and it turned out to be an error in how I was creating/populating the DSI's SRI tables. But when I fixed the bug it went away for good (at least for me).

There's obviously something wrong and I have to find it.

KungFuCow
21st March 2004, 05:02
I own one of the same players the other guy does who's having problems. I'll burn one of the DVDs Ive been experimenting with and try it and see if I also have the same problems.

DMagic1
21st March 2004, 05:57
@jdobbs

Did you try fforwarding with Nero Showtime? As one person said, it also has a problem with fforwarding. It seems as if what ever is causing this on some dvd players is also causing problems with Nero Showtime and my IFOEdit DVD player.

quantum
21st March 2004, 06:27
Originally posted by jdobbs
[B]what makes it so difficult is that I can't repeat it.Have you tried using the feature on your standalone where you enter a specific time and it jumps to it? Try to jump to 1:15:00 into a movie. I think every standalone has this capability but it's sometimes not obvious how to do it.

DMagic1
21st March 2004, 07:22
Originally posted by quantum
Have you tried using the feature on your standalone where you enter a specific time and it jumps to it? Try to jump to 1:15:00 into a movie. I think every standalone has this capability but it's sometimes not obvious how to do it.

Hes right. Even the Toshiba, which has no problem fforwarding with the output, will freezes if I put in a time to jump to.

KungFuCow
21st March 2004, 09:00
Tried out Lost In Translation on a Lite On LVD 2001 and an Xbox. Playback was incorrect on both. The movie starts out with a trailer you can FFWD though. On the Liteon, FFWDing worked okay however if you stopped FFing anywhere, even in the main movie, it dumped you back to the opening trailer screen.

The Xbox locked up if you attempted to FFWD the movie.

Movie played fine in Power DVD however.

robot1
21st March 2004, 09:53
Originally posted by hypo20
Still don't have audio output in my SONY standalone DVD player.

On PC everything works fine. Fast FWD and Fast RWD is working good.

Has anyone this problem???? Or know anyone a solution???

I have the same problem. My standalone player is a Pioneer DV-360.
The disk (PAL) had 4 audio track, and I selected 1st and 4th.
Now i'm backing up another disk to check again (and this time I'll burn on a RW...)

hypo20
21st March 2004, 10:06
@robot1

I tested 3 discs. Also PAL. First, I have checked only some audio streams, but then I was doing FULL backup (everything, all audio, all extra, all subs) and it was the same.

@jdobbs
Can you look at it???

oCe
21st March 2004, 14:16
Well, I'm not posting much here, more reading for years now, but this program is worth a post!

Ok, tested version 0.18 on Basic, PAL-edition. Kept everything, so the dvd includes DTS, Dolby Digital 5.1 and 2.0 tracks. Converting goes smooth, no problems what so ever. Then, tried to burn it with Nero (v6.3.1.6) and got this message:

21.3.2004
UDF/ISO compilation
14:12:50 #1 DVDREALLOC 5 File DVDVideoCompilation.cpp, Line 965
Backup file 'VTS_01_0.BUP' should be identical to 'VTS_01_0.IFO'

14:12:50 #2 DVDREALLOC 5 File DVDVideoCompilation.cpp, Line 965
Backup file 'VTS_02_0.BUP' should be identical to 'VTS_02_0.IFO'

14:12:50 #3 DVDREALLOC 5 File DVDVideoCompilation.cpp, Line 965
Backup file 'VTS_03_0.BUP' should be identical to 'VTS_03_0.IFO'

14:12:50 #4 DVDREALLOC 5 File DVDVideoCompilation.cpp, Line 965
Backup file 'VTS_04_0.BUP' should be identical to 'VTS_04_0.IFO'

14:12:50 #5 DVDREALLOC 5 File DVDVideoCompilation.cpp, Line 965
Backup file 'VTS_05_0.BUP' should be identical to 'VTS_05_0.IFO'

14:12:50 #6 DVDREALLOC 5 File DVDVideoCompilation.cpp, Line 965
Backup file 'VTS_06_0.BUP' should be identical to 'VTS_06_0.IFO'

14:12:50 #7 Phase 117 File dlgbrnst.cpp, Line 1841
DVD-Video files compliance test failed


Decided to burn the dvd anyway, on a +RW that is, to be safe. The result: no audio at all on my Pioneer DV-360 standalone, all audio on my Philips 625-standalone. No audio problems on pc with PowerDVD. For the record; original plays fine. Copies made with Nero Recode aswell.

On the Pioneer DV-360 the player says 'STOP' after the first title (animated movie-studio logo), Philips plays fine. Other problem, there are two 'trailers' on the disc, one of another movie, one of the Dolby Digital-logo; both are interlaced. The movie itself is progressive. Result: trailers are 'jumping around' like crazy, any way to scan an mpeg if it's progressive or interlaced to encode accordingly?

So it seems there are some problems left to remain fixed, but that's not crazy considering it's only version 0.19 by now. So far I'm impressed, good work!

jdobbs
21st March 2004, 14:22
Damn it! I knew about this -- even know what was wrong and forgot to fix it. I'll have it fixed shortly.

tf
21st March 2004, 14:22
I get those errors all the time - the one about bup not being identical to ifo. Disc works 100% anyway, so it might be something else?

-tf

jdobbs
21st March 2004, 14:49
@oCe

The newest version is 0.21 and it fixes this. It also fixes some other problems that you may be seeing with navigation. You can get it by going to the link on the first post of this thread.

Raymongo
21st March 2004, 15:33
Version 0.20 and 0.21 will not let me encode with cce anymore. cce opens and thats all whats hapening. no error but in order to close i have to use CTRL+ALT+DEL. And than when it's clossed an error pops up saying.

Run-time error '55':
File already open

I tried this on Disney's Dumbo. Going to try an other now and see if can reproduce it.

jdobbs
21st March 2004, 15:40
Originally posted by Raymongo
Version 0.20 and 0.21 will not let me encode with cce anymore. cce opens and thats all whats hapening. no error but in order to close i have to use CTRL+ALT+DEL. And than when it's clossed an error pops up saying.

Run-time error '55':
File already open

I tried this on Disney's Dumbo. Going to try an other now and see if can reproduce it. I'm going back to check. Hope I didn't do something stupid...

quantum
21st March 2004, 15:47
@jdobbs
Just rebuilt Matchstick Men. Took your advice to not re-encode the whole thing which saved several hours. Upon opening in Zoom Player, the navigational features are working 100% :) Jumping to a specific spot works, and ff and rw work without exiting the movie. Nice work. Now on to the next problem :D

jdobbs
21st March 2004, 15:50
Originally posted by Raymongo
Version 0.20 and 0.21 will not let me encode with cce anymore. cce opens and thats all whats hapening. no error but in order to close i have to use CTRL+ALT+DEL. And than when it's clossed an error pops up saying.

Run-time error '55':
File already open

I tried this on Disney's Dumbo. Going to try an other now and see if can reproduce it. It is running as I type this and appears to be working fine with CCE Basic 2.67. Next I will try eclCCE... but there were no changes to that section of the code in .20 or .21 so I'm hesitant to think it could be related to anything new -- has your configuration changed in any way?

influenza
21st March 2004, 16:03
Hi Jdobbs,

asked this before (like a thousand pages back :D ) but wil dvd-Rb transfer button command if they exist within a vobset (like with button over video)?

jdobbs
21st March 2004, 16:09
Not yet. It keeps the video, and it keeps the subpicture information, but I haven't implemented the code to keep the Presentation Control Information (PCI) packet information yet. I was looking at possibly doing that when I fixed the "stills" code. I delayed some of the "not-so-common" capabilities so I could get the beta out and tested.

influenza
21st March 2004, 16:11
Ah ok, but it is planned :). This is also used a lot for gmes etc, that you find on disney dvds.

What about cell commands are those preserved at the moment?

oCe
21st March 2004, 16:27
Originally posted by jdobbs
@oCe

The newest version is 0.21 and it fixes this. It also fixes some other problems that you may be seeing with navigation. You can get it by going to the link on the first post of this thread.

ok, trying 0.21 on Basic now, will post results!

Raymongo
21st March 2004, 16:27
i dont know what caused the problem but i tried The Perfect Storm and it went ok. than i thought lets start the whole process over again for Disney's Dumbo. I first decrypted then processed and then tried to encode and this time all went ok.:confused: I did this with version 0.21 .

Kakashi Sensei
21st March 2004, 16:37
Hey guys I have waited Five Days to post on the forums, LOL what a wait.

I have a program that Hides CCE durning encoding so it doesn't pop up. A friend wrote it and it works really well. I had the problem of accidently telling CCE to shut down after encode. PM me if you want it or I'll send it to Jdobbs to post as an attachment its only lik 28Kb.

My results so far. I used V 0.18 encoded Angel S1 D4 and it looks pretty good/ the video does skip from time to time. But looks alot better then And Transcoder.

Last thing, If you have the full version of CCE do you need to use eclCCE?? And if you dont does CCE pop up every 20 - 30 seconds??

Thanks alot for the great work and keep those beta's coming

Sensei

jdobbs
21st March 2004, 16:47
Originally posted by Kakashi Sensei
Hey guys I have waited Five Days to post on the forums, LOL what a wait.

I have a program that Hides CCE durning encoding so it doesn't pop up. A friend wrote it and it works really well. I had the problem of accidently telling CCE to shut down after encode. PM me if you want it or I'll send it to Jdobbs to post as an attachment its only lik 28Kb.

My results so far. I used V 0.18 encoded Angel S1 D4 and it looks pretty good/ the video does skip from time to time. But looks alot better then And Transcoder.

Last thing, If you have the full version of CCE do you need to use eclCCE?? And if you dont does CCE pop up every 20 - 30 seconds??

Thanks alot for the great work and keep those beta's coming

Sensei If you have a newer full version you don't need to use eclCCE. DVD-RB uses the command-line parameters that are supported in later version, but are only supported through eclCCE in earlier ones (e.g. v2.50).

The entire CCE window doesn't pop up (it is minimized), but the encoding status window does.

Longevity
21st March 2004, 17:37
I tried to test it but the same error appears as with ifoupdate.

Overflow Error 6

This is a region 3 Bad Boys II that I am trying to back up. I get this error the moment I select to Video_TS directory.

This would be an AWESOME program for all of us. Thanks Jdobb.

oCe
21st March 2004, 19:48
@jdobbs:

Well, tested your new version 0.21: same results. Nero burns the dvd fine now though, no more errors in the .bup-files. Problems that remain:

* my Pioneer DV-360 plays the first title, then displays 'STOP', no other titles can't be played. Manual skip (during that 1st title, which is the movie-company's logo) to the 2nd title or menu has no effect.
* on my Pioneer DV-360 no sound at all, just like I read about the DV-430 somewhere in this topic from another user. (the DV-360 and DV-430 are basicly the same)
* on my Philips DVD-625 no problems with playback, all audio channels (dolby digital 5.1 and 2.0 and dts) work without problems. Audio & video are sync, image quality is good (4 pass, CCE 2.67) only interlaced parts (some titles) are totally screwed up. Anyway to indicate or analyze chapters for interlaced mpeg's?

Pedro Gouveia
21st March 2004, 23:37
If u try to play the authored VOBS in Media Player Classic the audio don't work either. Maybe something wrong in the navigation packs??

jdobbs
21st March 2004, 23:52
Originally posted by Pedro Gouveia
If u try to play the authored VOBS in Media Player Classic the audio don't work either. Maybe something wrong in the navigation packs?? Could be. I'm looking into that right now.

DMagic1
21st March 2004, 23:55
As a temporary fix, I found that running the output movie thru Shrink fixes the chapter point skipping video problems and may fix sound problem for others.

Shrink usually wouldn't accept the movie. It would say failed to open VTS_01_6.VOB, where VTS_01_5.VOB was the last VOB in the movie.

I got around this by adding a blank VOB named to the name Shrink was requesting. This blank VOB seems to need 6 vob_ids in it or more. At least for my movie it did. Any less and Shrink would ask for VTS_01_7.VOB.

Once the blank VOB was added Shrink accepted the movie and I set everything for no compression. The final result didnt have the fake VOB that I added at all.

I didn't know if everyone knew this or not but I thought I'd share the info. As I said this is just a temp solution. I hope that jdobbs bangs out the rest of the bugs soon.

smlong426
22nd March 2004, 00:11
I'm using Rebuilder .19 and CCE 2.50/EclCCE. I have so far tried this combination of software with about 8 movies. All work flawlessly with PowerDVD 5.0 as well as my two DVD players (Cyberhome CH-DVD 500 and Zenith XBV342 DVD/VCR combo). I did get errors with other versions of CCE (like with 2.66, encoding would work fine, but Rebuild would fail).

So far, the software is working flawlessly. I will have to try out some other stand alone DVD players, but, like I said, everything I have tested so far works perfectly (fast forward/rewind, chapter points, menus, subtitles) with the two players that I have.

Thanks for this proggie, jdobbs.

redfive19
22nd March 2004, 02:53
@jdobbs

I've set the Film Threshold to 50% and it looks better but there is still evidence of a shaky picture especially in fast camera movements. Any ideas? (BTW, this is on Buena Vista Social Club) The picture looks amazing just jumpy frames. I am grateful for this app!!

BTW, using CCE 2.67.00.23 with ECLCCE 1.7b and RB v.21

-redfive

jdobbs
22nd March 2004, 03:03
Originally posted by redfive19
@jdobbs

I've set the Film Threshold to 50% and it looks better but there is still evidence of a shaky picture especially in fast camera movements. Any ideas? (BTW, this is on Buena Vista Social Club) The picture looks amazing just jumpy frames. I am grateful for this app!!

BTW, using CCE 2.67.00.23 with ECLCCE 1.7b and RB v.21

-redfive Did you try going in the other direction -- say 90%?

redfive19
22nd March 2004, 03:06
Nope will do that tonite and post the results tommorow. BTW, what exactly does this film threshold do?

jdobbs
22nd March 2004, 04:00
When scanning the original stream DVD-RB looks at each frame and determines whether it is presented as full speed (29.97 frames per second) or telecined -- meaning it is stored at 23.976 frames per second with a flag saying to repeat a field at certain intervals to bring the total speed up to 29.97.

Often (for example a movie that is FILM based) you will find sources that are 100% telecined, but occasionally you get one that is a mixture. In that case you have to determine whether to treat the entire stream as telecined or straight NTSC. The threshold sets a point at which the decision is made one way or the other. If you set it to 70% then it will assume telecined if at least 70% of the source is telecined...

quantum
22nd March 2004, 04:06
I thought you split the video when it changed from telicide to interlaced. If not, I think we need the option to use CCE's pulldown feature on anything that is questionable.

djan
22nd March 2004, 04:43
Hi jdobbs,

You implemented the VBR_Bias and Quality_Prec but can you a give a small explanation of the use of these parameters please ? Because I don't understand for what use it is and I would like to use them if I can make a better output. Thx.

redfive19
22nd March 2004, 14:37
@jdobbs
Well I tried again on Buena Vista Social Club this time turning the threshold to 90% and it's even worse then before (jumpy picture). I am out of ideas! I donated to your app last night because I think it's the future of backups with CCE.

-redfive

Paced
22nd March 2004, 14:51
Originally posted by redfive19
@jdobbs
Well I tried again on Buena Vista Social Club this time turning the threshold to 90% and it's even worse then before (jumpy picture). I am out of ideas! I donated to your app last night because I think it's the future of backups with CCE.

-redfive

Just out of curiocity, is the DVD interlaced? If so, this may be a wrong field order issue - I'm just pulling at straws here.

redfive19
22nd March 2004, 15:08
Yes the DVD is interlaced.

quantum
22nd March 2004, 15:23
My first guess is TFF / BFF is not being correctly set. I don't know if it's even attempted to be detected and set. It will be an important matter but I think jdobbs has some more pressing matters to deal with first.

Paced
22nd March 2004, 15:37
Originally posted by quantum
My first guess is TFF / BFF is not being correctly set. I don't know if it's even attempted to be detected and set. It will be an important matter but I think jdobbs has some more pressing matters to deal with first.

Agreed.

@redfive19

Try running DVD-RB in 'three-click' mode, and once you've finished preparing the DVD, open the resulting .ECL with notepad, and try changing all instances of "offset_line" (I think that's the parameter) to the opposite of what it is now, i.e. 0 --> 1. Once you've finished editing, save the file, and continue with encoding/rebuilding.

rayvt
22nd March 2004, 16:13
Useing DVD-RB 0.19 & 21, at the end, it says "invalid VIDEO_TS.IFO", and errors off. I've tried both rejig and QuEnc, and get the same problem. With rejig, I could open the movie (with WinDVD), but the sound was seriously out of sync).