Log in

View Full Version : RB-Opt v0.23 BETA a tool to change titles bitrate, CCE parameters and AVS scripts.


Pages : 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

blueboyec
20th May 2004, 20:13
This new version fixed the remembering of the media player problem.

Thanks for the hard work

Xuivo
23rd May 2004, 18:05
I've just tried your program and works like a charm!!! Very nice apps, especially for the end credit!!!

I hope you will continue your work!

Cheers

Xuivo

robot1
23rd May 2004, 22:07
A new version, with lot of improvements, will come soon.
new features:
insert line in avs scripts
CCE parameters tweaking (and a preliminary support to custom matrices)

Video Dude
23rd May 2004, 22:26
Originally posted by rayvt
If the movie has a lot of segments--such as 291, RB-opt crashes.


I keep getting a crash with MFC (Microsoft Foundation Class) error box.

When rebuilder.ini is opened in Re-Opt 0.7a the MFC crash occurs.

The movie had 2,562 segments.

Here is the debug dump listed in the MFC error box.
Error Signature:
AppName: rbopt.exe AppVer: 1.0.0.1 ModName: rbopt.exe
ModVer: 1.0.0.1 Offset: 000165ec

robot1
23rd May 2004, 22:31
Originally posted by Video Dude
I keep getting a crash with MFC (Microsoft Foundation Class) error box.

When rebuilder.ini is opened in Re-Opt 0.7a the MFC crash occurs.

The movie had 2,562 segments.

Here is the debug dump listed in the MFC error box.
Error Signature:
AppName: rbopt.exe AppVer: 1.0.0.1 ModName: rbopt.exe
ModVer: 1.0.0.1 Offset: 000165ec 2,562 segments?
Aren't too much? I've limited to 999 per VobID. Could it be a DVD-RB fault? If DVD-RB demuxing is right, I'll change that limit. Could you test if the rebuilded film (without tweaks) works well? (no stutter...).

Video Dude
23rd May 2004, 22:38
I meant to say avs files. Is that the same as segments? If not, how do you determine the number of segments? DVD Rebuilder was 0.49 used.

Others seem to be getting a lot also:
http://forum.doom9.org/showthread.php?s=&threadid=76438

It seems to play just fine.

robot1
23rd May 2004, 22:47
In next version I'll set the limit to 3.000 avs. Hope it's enough

DDogg
23rd May 2004, 23:02
A new version, with lot of improvements, will come soon.
new features:
insert line in avs scripts
CCE parameters tweaking (and a preliminary support to custom matrices) Wow! Thanks so much for doing this! See your PM re the test version.

robot1
24th May 2004, 00:34
Link to download (http://www.freewebs.com/robot1/RB-Optv0.8.zip) (right click -> save as)
Added Expert Settings, to edit .avs scripts and CCE parameters.
Fixed a lot of bugs.
"Expert Settings" are per vob-id:
if you edit the .avs script (or change any CCE parameters), the changes are made for all the cells of that VobID.
If you have (for example) three extras in the same VTS (split in three VobID's), link them to treat as one, and make just one change.

My suggestion:
1 - if the film is split in two (or more) vob-id's, link them.
2 - change the compression (if needed)
3 - tweak end cell credits (if needed)
4 - link vob-id's to make expert tweakings.

@Video Dude
Please, test now. Bug should be solved.

P.S.:
as someone report problems in downloading, if anyone could mirror it...

[Edit]
CCE presets work only for CCE SP 2.66+ (the program detect the version). For CCE Basic users there is the ECL Tweaker by Quantum (http://forum.doom9.org/showthread.php?s=&threadid=76662)

Joergen
24th May 2004, 01:19
Here you go, feel free to add it to your main post:

RB-Optv0.8.zip (http://koti.mbnet.fi/haupt/RB-Optv0.8.zip)

Video Dude
24th May 2004, 01:55
Originally posted by robot1
@Video Dude
Please, test now. Bug should be solved.


@robot1
It works great! No more error.

The expert settings are a perfect addition to the program.

Thanks for the great program. Good job.

jdobbs
24th May 2004, 02:18
Originally posted by robot1
2,562 segments?
Aren't too much? I've limited to 999 per VobID. Could it be a DVD-RB fault? If DVD-RB demuxing is right, I'll change that limit. Could you test if the rebuilded film (without tweaks) works well? (no stutter...). What movie could have 2,562 segments? Is this a Kareoke DVD or something?

Video Dude
24th May 2004, 03:25
Originally posted by jdobbs
What movie could have 2,562 segments? Is this a Kareoke DVD or something?
The bonus features had massive amounts of still galleries. DVD Rebuilder detected each still as 1 frame. Each still was given its own avs file.

jdobbs
24th May 2004, 03:49
Ok. If they're stills they are supposed to be broken out.

Joergen
24th May 2004, 18:00
I'm also now needing to increase the bitrate of the stills, but keep the bitrate of motion video pieces in the same VTS. This is cause the video parts are fine with this bitrate (3000kbit) but the stills look awful :(

This title has about 400 segments, of which only 20 are for the movie.

RBOpt 0.8 closes without error when opening the .INF :(

Any easy way to up the bitrate for stills?

edit: ok here's how I'll do it (thanks to RBFarm I can)

1) I'll up the bitrate for the VTS16 and VTS17 that have the stills using ECL Optimizer
2) move their current encodes to a new dir
3) del the farm_chunk files for those VTS
4) re-encode them
5) then move only the big parts (video parts) of the earlier encode to the D2AVS dir.

This way I get optimized video and good looking stills without oversizing. I hope :)

jdobbs
24th May 2004, 18:51
Originally posted by Joergen
I'm also now needing to increase the bitrate of the stills, but keep the bitrate of motion video pieces in the same VTS. This is cause the video parts are fine with this bitrate (3000kbit) but the stills look awful :(

This title has about 400 segments, of which only 20 are for the movie.

RBOpt 0.8 closes without error when opening the .INF :(

Any easy way to up the bitrate for stills?

edit: ok here's how I'll do it (thanks to RBFarm I can)

1) I'll up the bitrate for the VTS16 and VTS17 that have the stills using ECL Optimizer
2) move their current encodes to a new dir
3) del the farm_chunk files for those VTS
4) re-encode them
5) then move only the big parts (video parts) of the earlier encode to the D2AVS dir.

This way I get optimized video and good looking stills without oversizing. I hope :) I'll check it out -- but I thought I'd already set stills to the maximum... might be mistaken though.

Joergen
24th May 2004, 18:54
Originally posted by jdobbs
I'll check it out -- but I thought I'd already set stills to the maximum... might be mistaken though.

No no dont, as I originally dropped those VTS16 and 17 lower with ECL Optimizer cause they contain duplicates of an extra (the same extra is on the disc 3 times.. go figure Disney mastering) and its not unreferenced.

So what I wanted to achieve is first lower (for video parts), then raise for still parts. :)

I'd like to add that I wouldhave removed those duplicates (they play after you play a question game) but DVDRemake screws the menus and DVDStripper screws the game :D

robot1
24th May 2004, 19:42
Originally posted by Joergen
This title has about 400 segments, of which only 20 are for the movie.

RBOpt 0.8 closes without error when opening the .INF :(
Could you send rebuilder.inf and rebuilder.ecl to email?
Thank you. My email is in the readme file.

Video Dude
24th May 2004, 19:51
Thats similar to the error that I was getting with Re-Opt 0.7a.

Re-Opt 0.8 opens the rebuilder.inf with no problems. Tested with 2,000+ segments.

Joergen
24th May 2004, 19:54
robot1: I'll do a clean prepare and try that. If it doesnt work I'll send them to you.

robot1
24th May 2004, 20:08
Originally posted by Joergen
robot1: I'll do a clean prepare and try that. If it doesnt work I'll send them to you. Thank you.
Anyway I think DVD-RB encodes stills at a CBR rate of 6.000. RB-Opt doesn't change the CBR encoding bitrate (I don't know if ECL Optimizer changes that parameter). If it works right, you could lower the bitrate of the VTS with RB-Opt, without need to care of stills, which will be encoded CBR.
If stills come bad, probably that's a CCE fault.
Master Jdobbs, correct me if I'm wrong.

Joergen
24th May 2004, 20:17
My CCE does the 3 passes for the stills.. at default DVD-RB settings the bitrate meter in CCE goes from about 8.5mbit for the .vaf pass down to 7.3mbit for the end of the 3rd (2nd) pass.

It seems CCE doesnt do very well with stills. The quality is quite much worse than the original stills even at default bitrates.

Also it takes quite abit of power to open and close CCE a few hundred times :) Direct still-copying would be more optimal, but of course jdobbs already knows this so...

Maybe somebody could write a tool that extracts, renames and copys the stills over to D2VAVS 1:1?

Joergen
24th May 2004, 21:06
robot1: I sent you a PM with details.

robot1
24th May 2004, 22:54
The RB-Opt crash is related to a huge number of VobID.
Bug fixed, for next version.

jdobbs
24th May 2004, 23:00
Originally posted by Joergen
My CCE does the 3 passes for the stills.. at default DVD-RB settings the bitrate meter in CCE goes from about 8.5mbit for the .vaf pass down to 7.3mbit for the end of the 3rd (2nd) pass.

It seems CCE doesnt do very well with stills. The quality is quite much worse than the original stills even at default bitrates.

Also it takes quite abit of power to open and close CCE a few hundred times :) Direct still-copying would be more optimal, but of course jdobbs already knows this so...

Maybe somebody could write a tool that extracts, renames and copys the stills over to D2VAVS 1:1? No. Don't go to all that trouble... I can extract the stills as-is. I worry, though, when I see someone who says they have 2000 stills in a file. 2000 I-Frames can add up to a significant amount of storage.

Joergen
24th May 2004, 23:07
Perhaps another expert-option would be handy? "Encode Stills" on/off :)

robot1: Thanks for the quick fix test version! I can now tweak the bitrates exactly like I wanted!

wmansir
25th May 2004, 05:49
Originally posted by Joergen

Maybe somebody could write a tool that extracts, renames and copys the stills over to D2VAVS 1:1?

Have you tried RB-Keeper? I'm not sure if it will work on stills, but it may. There is a link to the thread in the overview stickie.


@robot1

Actually, I was mistaken, vmode=0 is one-pass VBR, not CBR (vmode=1), but it is only used with CCE 2.5 according to my observations. That is probably because the init() error has only appeared with 2.5. So it looks like stills with 2.5 are encoded with OPV, Q=20.

Also, on a slightly related topic. Now that One Pass VBR mode is being tested you might want to check for OPV usage and display a warning or error message. The easiest way would probably be to look for the presence of the ANALYSIS.ECL file, since just checking for OPV usage in the ECL could lead to false positives with it being used for stills in 2.5.

robot1
25th May 2004, 07:01
Originally posted by wmansir
@robot1

Actually, I was mistaken, vmode=0 is one-pass VBR, not CBR (vmode=1), but it is only used with CCE 2.5 according to my observations. That is probably because the init() error has only appeared with 2.5. So it looks like stills with 2.5 are encoded with OPV, Q=20.I hope Joergen can test that movie with CCE 2.5, to see if OPV mode handle well stills.

Also, on a slightly related topic. Now that One Pass VBR mode is being tested you might want to check for OPV usage and display a warning or error message. The easiest way would probably be to look for the presence of the ANALYSIS.ECL file, since just checking for OPV usage in the ECL could lead to false positives with it being used for stills in 2.5. Thank you, you're right!. I'm working to insert the check (and I took the wrong way!). I think to display an error message: in OPV mode Q depends from all parameters of a CCE encode, so no parameter can be changed.

wmansir
25th May 2004, 14:37
Originally posted by robot1
Thank you, you're right!. I'm working to insert the check (and I took the wrong way!). I think to display an error message: in OPV mode Q depends from all parameters of a CCE encode, so no parameter can be changed.
Actually, you were ahead of me. :) I was thinking you should just disable bitrate changes, but you are correct, changing other encoding parameters (especially filters) will affect the output size in OPV encoding because of the change in compressablilty of the material.

Xuivo
25th May 2004, 17:40
Just want to say that the version 0.8 is working like a charm. Expert settings are great. But does anyone know where to get a guide explaining those function. I'm kind of a newbie in this domain?

Thanks

robot1
25th May 2004, 18:09
Originally posted by Xuivo
Just want to say that the version 0.8 is working like a charm. Expert settings are great. But does anyone know where to get a guide explaining those function. I'm kind of a newbie in this domain?

Thanks For avisynth filters you can look at this page (http://www.avisynth.org/index.php?page=Section+3%3A+Filters%2C+plugins+and+colorspaces)
For CCE settings the best guide is CCE manual!

techdude
25th May 2004, 21:02
Does RB-Opt v0.8 beta work with current dvd rebuilder Version 0.50a thanks for the help guys.:cool:

robot1
25th May 2004, 21:08
Originally posted by techdude
Does RB-Opt v0.8 beta work with current dvd rebuilder Version 0.50a thanks for the help guys.:cool: Yes, it works.
One Pass VBR mode is not supported, and will not be supported, as changing parameters will lead to unpredictable results. In next version RB-Opt will not open OPV projects.

jdobbs
25th May 2004, 21:32
Sorry. Not trying to make it hard for you.

robot1
25th May 2004, 21:42
It's not hard. It's a matter of taste.
Someone prefers OPV, others multipass.
I always do multipass encodes, and I like to tweak CCE options.
But there is people who wants to press the big red button and have the best result possible, as fast as possible.
So your app can be good for all. RB-Opt is for the tweakers...

Joergen
25th May 2004, 21:53
I also would think that if you want to cut in time using the OPV method then why would you want to optimize the output with RBOpt? :)

In any case, I'm sure a one pass VBR method is welcome to many since it brings DVD-RB closer if not on par with transcoder speeds and still better quality at low bitrates.

jdobbs
25th May 2004, 22:12
Originally posted by robot1
It's not hard. It's a matter of taste.
Someone prefers OPV, others multipass.
I always do multipass encodes, and I like to tweak CCE options.
But there is people who wants to press the big red button and have the best result possible, as fast as possible.
So your app can be good for all. RB-Opt is for the tweakers... I personally always use multipass for my backups. It is the way to guarantee the absolute best quality in the space available. But it never hurts to have a high-quality speedy solution available too.

Fr4nz
25th May 2004, 23:57
Hi, I think there's a little bug in RB-Opt. In fact, if I want to reduce the percentage reduction, for example, from 65,5 to 64,4 see what happens....

[Status]
mode=1
Progress=2
CCEType=0
Encode_Progress=34
[V01000000001001]
SCR=,000
PTS=25854,000
Frame_Rate_Code=3
Pulldown=0
Structure=3
Frames=5845
Last_Sector=98180
Reduction=63,7 <==== WRONG!!!
Aspect_Ratio=3
HalfD1=0
EndPTM=21067854,000
[V01000100001002]
SCR=21042000,000
PTS=21067854,000
Frame_Rate_Code=3
Pulldown=0
Structure=3
Frames=4641
Last_Sector=190309
Reduction=64,4 <==== OK!
Aspect_Ratio=3
HalfD1=0
EndPTM=37775454,000
[V01000200001003]
SCR=37749600,000
PTS=37775454,000
Frame_Rate_Code=3
Pulldown=0
Structure=3
Frames=5847
Last_Sector=310053
Reduction=64,4 <==== OK!
Aspect_Ratio=3
HalfD1=0
EndPTM=58824654,000
......and so on!

So it seems that for the first cell RB-Opt doesn't set the right value. Can you correct this?? :)

robot1
26th May 2004, 00:07
@Fr4nz
Thanks for the report.
I'll check.

Fr4nz
26th May 2004, 00:14
Great Robot :D

I hope it's an easy thing to fix!

Paced
27th May 2004, 02:33
Hey robot1, just wanted to say thanks for the addition of the expert features, they're extremely useful :) Just wondering though, how difficult do you think it would be to add a function to remove a line (in the AVS script)? Thanks again for this utility :D

robot1
27th May 2004, 06:40
@Paced
Why would you remove a line in the script?

Paced
27th May 2004, 07:04
Originally posted by robot1
@Paced
Why would you remove a line in the script?

Hey, thanks for the reply. One reason is, when adding multiple lines to the script, and you accidently make a silly mistake, you have to reset the script, then start all over again. And secondly, DVD-RB uses BilinearResize when resizing down to half D1, and I prefer to use LanczosResize instead (therefore, a 'remove line' function would able me to easily replace the Bilinear with the Lanczos).

robot1
27th May 2004, 16:54
Next version will not have these features.
But in future I plan to implement a better editing (with a sort of "favourites filters", so there will be less mistakes).
I could do "Replace line", to solve a problem like the one you showed.

Fr4nz
27th May 2004, 17:13
Did you succeed in correcting the bug I've reported?

280zx
27th May 2004, 18:12
This is pretty slick. I've only tried it once so far but it worked perfectly. Thanks for the tool.

robot1
27th May 2004, 18:13
Right now I'm testing.
Is it time for a bugfixed release?

robot1
27th May 2004, 18:15
Originally posted by 280zx
This is pretty slick. I've only tried it once so far but it worked perfectly. Thanks for the tool. :) I hope it will be more and more useful

ClydeFrog
28th May 2004, 14:15
i think you should implent an option to reduce the overall bitrate of all vob-ids. i sometimes get oversized results and would like to reduce the bitrate evenly of every id...

Fr4nz
28th May 2004, 15:42
Yes I agree.