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

robot1
27th April 2004, 16:23
It's coded in few nights... so it still has bugs (like every beta...)
It should work with every encoder supported by DVD-RB.

Sorry for my english... it's not my mother language.

RB-Opt is an addon for DVD-RB (0.4x-1.x free and PRO)
It allows the user to select different bitrates for every Title in a DVD to process by DVD-RB. For example, backing up a DVD you may want to lower the bitrates for the extras, leaving more room to the film. It works even for extras in the same VTS of the film (ex. Trailers, deleted scenes...)
RB-Opt allows to change also CCE parameters and .avs scripts, to use your custom setup for backup.
Since v0.13 RB-Opt supports OPV mode: thanks to SansGrip for the coding.

Latest version:
RB-Opt v0.38 beta (http://forum.gleitz.info/attachment.php?attachmentid=91918&d=1203877329) (mirror by Doom9.de)


Previous versions:
RB-Opt v0.37 beta (http://www.jdobbs.net/Freeware/RB-Optv0.37.zip) (mirror by jdobbs)
RB-Opt v0.33 beta (http://www.savefile.com/files/843117)
RB-Opt v0.29 beta (http://www.savefile.com/files/801164)

Usage:
Put DVD-RB in "3 click mode", and run the "Prepare" stage.
Now run RB-Opt, and open the REBUILDER.INF created by DBD-RB.
RB-Opt shows the default bitrate used for every title in the "Encode" stage.
Find (using preview) the Vob-IDs of the film, and link them (mandatory to have the best results).
Select the title you want to compress more/less, and input your custom bitrate.
The program will calculate the new bitrate for the titles labeled as "Auto".
It's just like DVDShrink and other one-click apps do ... in a less graphical way :-(
Now you can tweak end credits cell, initial cell, or use "expert settings" to tweak any CCE parameters, or to apply an avisynth filter.
For every title you can select if it will be encoded as VBR or OPV. For OPV titles the program will run a prediction step to find the right Q factor, unless you select a custom Q to override prediction.
After saving the changes, you can start the encoding stage in DVD-RB

The bitrate is always calculated cell by cell: if in DVD-RB you selected "Dynamically Assign Cell Bitrates", the resultant Cell Bitrates will be still proportional to the original ones.

Avisynth editing allows to insert a filter in every .avs of a Vob-ID, and uses "favourite filters" for faster editing. It allows to preview the cell, to control the filter behaviour.
You can change these CCE parameters, for every Vob-ID:
- Number of passes
- DC Precision
- Gop Length
- Quantizer Characteristics
- Bias
- Min/Max bitrate for VBR
- Matrices
- CCE internal Filters


Mich

Edit:
Updated to v0.38 beta.

For german speaking people, here is the RB-Opt page (http://forum.gleitz.info/showthread.php?t=13041) on german doom9 board.

jdobbs
27th April 2004, 19:07
Wow. Between this and RB Server Farms... we're hitting things I never even imagined. Honestly, though, the reason 3 Click mode exists and I'm openly explaining what all the parameters are is to support creativity in how they are used.

Joergen
27th April 2004, 19:15
Yeah we love DVD-RB so much we cant wait for you to add all the features and people beaver away on their own :)

Nice job robot1, I dont have any new stuff to encode and I'm even yet to try the half-d1-bitrate option but I'll test your tool on something in a few days. Seems like a sound idea.

robw
27th April 2004, 19:22
great robot1

DVD-RB is absolutely great but I'm still having trouble with the run-time error 9. From what I've read in the forum it seems to be related to the 1/2 D1 & 1/2 space option. I am definitely trying to use that option. I was about to try again with the option turned off when I noticed your program to tweak the avs file.

Well this seems like exactly the thing I've been waiting for and I am going to give it a try. Will let you know.

By the way, your interface looks very nice! Good start on a really outstanding feature.

robot1
27th April 2004, 19:31
It's only a start. I hope to post tonight a newer version (with less bugs...)

@robw
You could try to enable half D1, without half bitrate, and select the bitrate with RB-Opt.
Post your results...

robw
27th April 2004, 19:45
Originally posted by robot1
It's only a start. I hope to post tonight a newer version (with less bugs...)

@robw
You could try to enable half D1, without half bitrate, and select the bitrate with RB-Opt.
Post your results...

Wonderful. I'm very excited about giving this a try. I'll do it tonight and check the board before I do to see if you've updated the file.

gopalkk
27th April 2004, 20:16
What i mean is, should the calculations of bitrates be based on
resolutions as well so the user can decide in this tool if its
good to go with either half d1 or less bitrate or both in this
level?

This is just the begining of this tool.
I feel DVD-RB should concentrate on doing things accurately and
parameterising all actions it takes (it does this already mostly).

Then this tool (once clubbed with server farm) will create
the control features of DVD-RB.

All my DVDs has 20% used in Menus and this tool will help me
release more from the menus.

Thanks for your efforts

wmansir
27th April 2004, 20:35
Good job, Mich. I think tools like this are an excellent way to exploit the openness of DVD-RB's process.

People may have missed it, but a similar tool is in development, but it was buried in one of the long threads: here (http://forum.doom9.org/showthread.php?s=&postid=467081&highlight=ecl+Optimiser#post467081) It's a bit further along, but only works per VTS set. I actually lost track of it and when searching for it to post here was surprised at the advances that have taken place.

I don't mention it to discourage you, I just wanted to make people aware of it. I'm not even sure if John plans on developing it further, as the last update was several weeks ago.

Joergen
27th April 2004, 20:42
Wow, ECL Optimizer should have its own thread. It's sad to see it buried in there.

the-warriners
27th April 2004, 21:31
JDobbs - now that this app is in development do you still plan to add this sort of thing to DVD-RB as 'standard'?

Seeing as the original aim was to write a dvd shrink type of app that was easy to use but utilised the power to CCE i think it should be built in.

I dont want to belittle Robot1's work however.

Joergen
27th April 2004, 21:39
I'm sure he will and he has stated that he will. But there's still lots of bugs to squash and new features can bring more bugs that need to be squashed before adding yet more features.

robot1
27th April 2004, 21:39
I hope to find soon these features in DVD-RB ;)
Waiting for them, I coded this little app.

the-warriners
27th April 2004, 21:49
Joergen - I dont want to imply that JDobbs should do it now. Obviously these new tools are popping up now so I was just wondering if they might have prompted a change of direction.

To be honest I am more than happy leaving the extras at the DVD-RB calculated rate.

robot1
27th April 2004, 21:58
@all
Updated v 0.2 beta, with less bugs (I hope).

P3gasus
27th April 2004, 22:54
@robot1

I cannot test your software for now because I have no dvd to test it with (I am not at home); but I noticed that if you check the "Auto" checkbox without loading any inf file, RB-Opt crashes (Windows error message). I know that it is not really an useful bug report but I thought you could be interested.

Bye

PS Very nice app indeed :D

jdobbs
28th April 2004, 00:19
Originally posted by the-warriners
JDobbs - now that this app is in development do you still plan to add this sort of thing to DVD-RB as 'standard'?

Seeing as the original aim was to write a dvd shrink type of app that was easy to use but utilised the power to CCE i think it should be built in.

I dont want to belittle Robot1's work however. Actually I think this is a great way to do it. Something like this can be tested and if everyone likes the features -- and if everyone likes it I can look at rolling it into the base package.

I'm an advocate of open environments... and will try as much as possible to support the creativity of others. I think that is one of the factors that have made AVISYNTH so successful.

robot1
28th April 2004, 07:30
Originally posted by P3gasus
...I noticed that if you check the "Auto" checkbox without loading any inf file, RB-Opt crashes (Windows error message). I know that it is not really an useful bug report but I thought you could be interested.

Bye

PS Very nice app indeed :D Thanks!
Bug fixed for next version.

robot1
28th April 2004, 09:51
@DnGermany
Uhm... strange.
Can you check that Rebuilder.inf and Rebuilder.ecl in D2VAVS directory weren't actually saved?
Are there .bak files?
Thanks for info.

Fishman0919
28th April 2004, 11:25
I'm gettind the same error...checked the .inf and .ecl and they wasn't saved

robot1
28th April 2004, 11:29
@Fishman0919
What S.O. are you using?
XP ?
I can't repeat this error (win2k), but I hope I've fixed it.

Fishman0919
28th April 2004, 11:40
I'm running Win XP Pro sp1a

DVD-RB .45
Avisynth 2.54
decodefix100 (MPEG2Dec3dg.dll)

If this helps ;)

robot1
28th April 2004, 11:51
Thanks to Fishman0919 and DnGermany for pointing that bug.
It's fixed for next release (in a couple of hours).

Fishman0919
28th April 2004, 11:53
Sorry but Thank You....;)

Joergen
28th April 2004, 16:34
I get the "an unnamed file not found" error on both W2K and XP.
RB-Opt looks promising so far though.

Suggestion: Shouldnt the title names reflect the VTS_# instead? Like, I have this episodic disc where I wanted to cut down the extras VTS_5 but its Title3 in RB-Opt and I had to guess that by looking at the title video size %.

robot1
28th April 2004, 16:46
Lab-One just upped the new version.
link to v0.4 (http://lab-one.freewebsitehosting.com/images/RB-Optv0%5B1%5D.4.zip)
I fixed the "unnamed file not found" error (I hope), and added VTS number indication.

Added a new dialog box to change every cell bitrate (example: to lower end credits bitrate if they are in a single cell).
Added also an experimental "cell view" (plays the .avs with windows mediaplayer).

Joergen
28th April 2004, 16:51
Wow that was fast :D

Yep it works now for me. I changed VTS_5 and hit save and the BAK files were created and the INF and ECL updated. :)

robot1
28th April 2004, 16:52
Fine :)

robot1
29th April 2004, 03:13
Another update, for better size control.
Added preview also in main window.

To download:
link to RB-Optv0.5 (http://www.freewebs.com/robot1/RB-Optv0.5.zip)

Mich

robw
29th April 2004, 05:00
Originally posted by robot1
Another update, for better size control.
Added preview also in main window.

To download:
link to RB-Optv0.5 (http://www.freewebs.com/robot1/RB-Optv0.5.zip)

Mich

Mitch
Link is not working

lab-one
29th April 2004, 05:11
thats odd. right click and select save target as. that seems to work.

robot1
30th April 2004, 02:04
Fixed a bug introduced in v0.5:
loading a second Rebuilder.inf in the same session caused wrong bitrate displayed.
Much improved slider control behaviour.

The program now does what was in my mind at the beginning:
change Vob-ID bitrates
change single cell bitrate
cell preview

As there are many "error 9" for users with halfD1 & half bitrate, it could be useful to change the bitrate of the single frames cell (which goes too low and could be the cause of the error).
HalfD1/Half bitrate often cause undersized results: DVD-RB could be used to force an oversize to compensate (anyway I suggest to not set to half bitrate in DVD-RB at current stage, and to change with RB-Opt).

The interface should be better (my reference is always dvdshrink...) Maybe a treeview in place of the combo box would help. Maybe.
Development stopped for a while (if I don't find bugs to fix).

Download to
Link to RB-Opt v0.6 (http://www.freewebs.com/robot1/RB-Optv0.6.zip) (right click -> save target as)

blueboyec
3rd May 2004, 21:18
Thanks for this great program.

Possible bug:

1. When trying to tweak the last few cells (usually the end credits) of a vob, the auto check box of the 1st cell also get unchecked which prevents this cell from receiving any addition bitrate from the given away bitrates of the credits?

2. Some movies get distributed over a few (2 or 3) vobID, so when you lower the bitrate of the end credits only the vobID cells with the end credits get the addition bitrate from the given away bitrates of the credits.

For example: a movie is distributed over vobID1 and vodID2, credits are in vobID2. Before lowering credits cells bitrate - vobID1 cells & vobID2 cells ~ 70% bitrate of original. After lowering credits cells bitrate - vobID1 cells ~ 70% & vobID2 cells (except credits cells) ~ 78% bitrate of original. Is there a way you can distribute the given away bitrates of the credits over vobID1 and vobID2 so that vobID1 cells ~ 74% & vobID2 cells (except credits cells) ~ 74%. Hope this makes sense?

Thanks again

robot1
3rd May 2004, 23:29
Originally posted by blueboyec

1. When trying to tweak the last few cells (usually the end credits) of a vob, the auto check box of the 1st cell also get unchecked which prevents this cell from receiving any addition bitrate from the given away bitrates of the credits?
I'll check this. Hope for a fix tomorrow.

Originally posted by blueboyec
2. Some movies get distributed over a few (2 or 3) vobID, so when you lower the bitrate of the end credits only the vobID cells with the end credits get the addition bitrate from the given away bitrates of the credits.

For example: a movie is distributed over vobID1 and vodID2, credits are in vobID2. Before lowering credits cells bitrate - vobID1 cells & vobID2 cells ~ 70% bitrate of original. After lowering credits cells bitrate - vobID1 cells ~ 70% & vobID2 cells (except credits cells) ~ 78% bitrate of original. Is there a way you can distribute the given away bitrates of the credits over vobID1 and vobID2 so that vobID1 cells ~ 74% & vobID2 cells (except credits cells) ~ 74%. Hope this makes sense?
This is a bit harder to tweak. A title can be split in two (or more) VobID. Usually the split point is at the layer break.
At this time you should manually upper VobID1 bitrate, and then lower end credits cell, to have all movie cells with the same reduction. It's a bit trial and error.
I think the program should read the original .ifo to understand how a title is splitted, but I have never looked at this.

I'm glad you find this program useful.

robot1
4th May 2004, 21:18
Originally posted by blueboyec
1. When trying to tweak the last few cells (usually the end credits) of a vob, the auto check box of the 1st cell also get unchecked which prevents this cell from receiving any addition bitrate from the given away bitrates of the credits?
Fixed in v 0.6a. To download: Link (http://www.freewebs.com/robot1/RB-Optv0.6a.zip) (Right click -> Save target as)

Thanks to blyeboyec for pointing me that bug.

blueboyec
5th May 2004, 00:16
Thanks for the update

Any chance on my 2 request being fixed soon?

thanks again

robot1
5th May 2004, 18:49
Originally posted by blueboyec
Any chance on my 2 request being fixed soon?
Am I wrong, or there is only another request?
I think to insert some code to "group" some VobID's, so they're treated as one. It's the simplest way to treat movies distributed over a few (2 or 3) VobID.

blueboyec
6th May 2004, 16:47
robot,

That is the one.

Thanks again for this cool program.

robot1
9th May 2004, 22:01
Originally posted by blueboyec

2. Some movies get distributed over a few (2 or 3) vobID, so when you lower the bitrate of the end credits only the vobID cells with the end credits get the addition bitrate from the given away bitrates of the credits. New version v0.7 allows to join Vob-IDs, so you can replicate the real structure of the film.
If you use the tweak cell option to lower end credits bitrate (for example), all the cells of the film will benefit from the extra space gained, if you join all the VobIDs of the film. If you don't use this option, only one part of the film will benefit from the extra space.

For example, The Matrix Revolutions - R2.
After removing foreign menus and all other stuff, Rebuild gave me a reduction of 69,19%.
Tweaking the last cell of the film with the credits to a bitrate 935 Kbist/sec, the film has a reduction of 73,1%
Almost a 4% gain :)

I hope the interface is getting better.
To dowload:RB-Opt v0.7 (http://www.freewebs.com/robot1/RB-Optv0.7.zip) (Right click -> Save target as)

rayvt
9th May 2004, 23:33
If the movie has a lot of segments--such as 291, RB-opt crashes.

VampHuntD
10th May 2004, 14:34
This looks like a great addon for RB, great work!

robot1
10th May 2004, 17:31
Originally posted by rayvt
If the movie has a lot of segments--such as 291, RB-opt crashes. Could you send me the rebuilder.ecl and the rebuilder.inf?
PM me, thanks.

blueboyec
11th May 2004, 18:07
Thanks for the update

Joergen
11th May 2004, 18:31
I think if the movie has over 150 segments it suffers from a DVD-RB bug that splits the movie wrong.

Jomile
17th May 2004, 00:46
RB-Opt is a very nice feature to combine with the one click solution CCE back up.

What is a player that can be used to preview the first cell?

robot1
17th May 2004, 18:13
I use the old Media Player in windows 2000 (MediaPlayer version 6.4, filename mplayer2.exe). Also Windows Media Player (the new one, wmplayer.exe) works.
Any player capable to play .avs should work.

blueboyec
17th May 2004, 20:06
After restarting the program, it forgets where the media player is and I have to find the media player after very restart of the program. Is this a bug?

robot1
17th May 2004, 20:45
Yes it is:confused:
Please, can you check if the setting is saved in the .ini file when you quit?

robot1
19th May 2004, 19:19
Bug fixing:
Improved handling of players for cell preview.
Solved crash for VobID with more than 100 cells.
Added "Hide Vob-ID of insignificant size" option in JoinWithVobID dialog.
Donwload v0.7a (http://www.freewebs.com/robot1/RB-Optv0.7a.zip) (right click -> save target as)

In next version I hope to insert CCE tweakings:
gop lenght: 12 or 15 frames
dc precision: 9 or 10 bits... and so on.
Suggestions?

PINOBIRD
20th May 2004, 06:25
Hello robot1,
First of all thanks for this great add-on.
Wouldn't it be great to add checkboxes for the filters quantum has discribed here.
http://forum.doom9.org/showthread.php?s=&threadid=76261

Greetz PB

robot1
20th May 2004, 17:47
Originally posted by PINOBIRD
Wouldn't it be great to add checkboxes for the filters quantum has discribed here.
http://forum.doom9.org/showthread.php?s=&threadid=76261
Yes, it's possible.
One question: are those settings valid for all versions of CCE (2.50, 2.6x and Basic)?