Well, I've made some progress. I have Perl code that produces a correct AVS for file size prediction, and have started the C++ version. Right now it reads in the REBUILDER.INF and REBUILDER.ECL files, and am about to make it generate an AVS and ECL for file size prediction. Then it'll fire up CCE to do the encode, and then I'll write the Newton method search to find the best Q factor. Eventually it'll then rewrite the REBUILDER.INF and REBUILDER.ECL files with the correct settings so that DVD-RB's encode phase can be run.
Hopefully I'll get a decent amount of code written today. It's just a command line tool at the moment. The GUI will probably be the last thing I do. |
I asked a couple of questions regarding REBUILDER.INF in the DVD-RB Doom9 forum, and got a response from robot1, the author of RB-Opt. It's ended up with him emailing me the source for RB-Opt, because it would probably be a lot simpler to add OPV prediction to that rather than recode the entire thing myself...
I'll keep you updated :). |
Okay, I have the RB-Opt source code and I'm busily adding OPV prediction to it...
Obviously it'll be a little slow-going because I'm trying to figure out the existing code as well as write my own, but I'm hoping to have something together within the next couple of days. |
I think we can wait :-P.
That's true that RB-OPT with OPV... the idea is freaking. |
Yes, it should be pretty nifty :mrgreen:.
|
Quote:
Good luck with your tests and coding buddy I and many cannot wait to see the fruits of your labour. :D |
|
Amazing !
Can you please add a "Starting Q value to use" somewhere? I generally encode at 20/25 and find anything above 30 to bad. So I don't see the reason to start the test with 32... IMHO... |
Quote:
The formula for guessing a good start value is pretty darn accurate, in my experience. But when using the Newton method it really doesn't matter what you pick to start, it could be 1, it could be 99. It'll (almost) always find the right Q within 2 or 3 passes no matter what the start value. |
Okay !
(Mathilda - The professional) |
Though, that said, I could certainly add a "Start Q" box if the guessing algorithm turns out to be inaccurate :).
I'd rather spend tonight tracking down stray bugs, because it's more or less "finished" and the sooner I can get the source back to robot1 the sooner he can release it and we can start testing :mrgreen:. |
Your right SansGrip this does certainly wet my appetite, im looking forward to seeing the further developments.
|
The "new" source (i.e. including the OPV prediction stuff) has been sent back to robot1. There is a small complication in that he uses VC++6 and I use version 7, but I think I made the changes in such a way that he'll be able to compile it too without upgrading his compiler.
Hopefully all will be well and he'll make a release in the next couple of days... :mrgreen: |
Dialhot,
I just tested the subtitle stuff. It turns out that spumux can't mux .sub anymore but... There's submux-dvd (http://ip51cf87c4.direct-adsl.nl/panteltje/dvd/) which can. submux-dvd also comes with a nice subtitle extractor (vob2sub), which grabs subtitles directly in winsubmux format. I am currently using with a DVD I wanted to add an extra subtitle track, so I'll mux the original subtitle track with submux-dvd, then I'll mux the new subtitle track (srt) with spumux, author with dvdauthor and import in dvd-lab. I'll let you know the results. EDIT: The old subttile did not show up in the authored DVD (by dvdauthor). It's enabled but did not show up for some reason. I tried to import the pallete and it didn't help (just messed the colors of the new subs) |
Quote:
Try it, you won't regret it :-) Just do a "load ifo" then "default" then "save ifo". That's it :-P |
First beta release
So I talked to robot1 and he agreed to let you guys give this thing a workout. Remember, this is the very first version of OPV prediction and it might not work all that well (results have varied from 4% off to bang on target). Still, I'd appreciate your testing. No-one is as dedicated as you guys when it comes to testing software :).
It's here. (There was a bug regarding temporary directory creation. I don't know if this executable has the fix in it or not, and can't just recompile the latest source because last night Windows decided to corrupt my registry beyond repair, so I'm currently reinstalling everything. If you get a message about not being able to enumerate a particular directory, that's because it doesn't exist yet. Just create the directory it's complaining about and all should be well.) Basically you run the DVD-RB Prepare phase, then (without exiting DVD-RB) load RB-Opt. Hit the button to load in the correct REBUILDER.INF, then change whatever settings you like (AVS, CCE, etc.). I always set DC precision to 8, GOP length to 15, and choose the Notch matrix. Then hit the OPV Prediction button. You'll see a dialog similar to the one I posted a screenshot of earlier. Here's a rundown of the parameters: Min/max bitrate: You don't need me to explain this one ;) GOPs per range: The number of GOPs in each "piece" of the sample Sample size: The percentage of the movie to run for a sample Safety margin: The calculated target size will be reduced by this percentage before running prediction Error margin: How close the prediction has to get to perfect before it stops trying. I usually set this to zero and it stops when the "new Q" is the same as the old one. This parameter will probably be removed for the next version. Then hit "Go" and it'll ask you for the path to your CCE (or EclCCE) executable. It remembers this path so you won't have to tell it again. Then it does its calculations, fires up CCE a few times, and ends up rewriting the DVD-RB files with the correct info. Close RB-Opt and run the Encode phase in DVD-RB. Wait. Run Rebuild phase in DVD-RB. Check resulting size. Gasp with astonishment. (Last step optional.) ;) I obtained a perfectly sized result by using: Min: 0 Max: 9000 GOPs: 1 Sample: 1 Safety: 2 Error: 0 But, as usual, YMMV. I'd really appreciate as much input as possible. Try it even if you've never used DVD-RB. You might just like it :mrgreen:. In a while I shall post details of the prediction algorithm (it's not really very complicated) and we'll have a go at refining it, maybe. You guys know a lot more than me about file size prediction now... |
Quote:
But Im horrible working in my Job now and so :arrow: Uääääää :x Im shure Ill like that DVD-rb |
gr8... but 1 questions, just asking... this u can fit 1 movie, on 1 dvd, ace quality.. but is there a way for more then 1??
love to have more then 1 movie on a dvd, n with all the extras and stuff on it thanx in advance :D Bazzy |
It should be possible to do that in an authoring program. Just use RB-Opt's "global options" to change the target size to 2000mb (or whatever) instead of 4000mb (or whatever). Then encode and rebuild as normal. Do this for both movies.
You'll then need to find an authoring program that can import actual VOBs instead of just separate video/audio/sub streams (I believe there are some that can do it). In the authoring program you can make a VMG menu to choose between the two. That's all theory. I've not tried it :). |
By the way, please don't distribute this release or the link to it. This is a prerelease version and definitely will change (we're going to implement OPV on a VOB ID basis rather than doing entire title sets, for example).
|
Could someone post a link to a guide for dvd rebuilder ,i know i have looked and there are a lot but i want a good one
i would like to help test but i have no idea how to use dvd rebuilder yet :wink: thanx |
Did oyu even try to open it ? It is really simple to use.
|
Phil i have it all setup ,i just was confused about all the RB-OPt stuff but i think i got it now :D
I just like following guides to make sure i do it right :D |
Following guides is often a way to do as bad as the guide's author did.
"Guide" does not means "lesson" nor "bible". |
Quote:
|
DVD-RB itself is pretty simple, once you get the options set up right.
First, go to Options -> Setup. Find the EclCCE executable and select it in "Path to CCE SP (New)" (or "Path to CCE SP 2.50" ifyou're using 2.50, or "Path to CCE Basic" if you're using CCE Basic). You shouldn't need to choose paths to MPEG2DEC3DG or DECOMB.DLL if you have them in your plugins directory. I also check "Run encodes minimized." Finally, under "Audio to remove," do a "check all" and then uncheck the languages you want to keep by default, and do the same with subpictures (though I tend to keep all subs, they rarely take up more than a few megs). Leave Options -> AVS Options alone, the defaults are fine. In Options -> CCE Options, choose your CCE version. Do not choose "One Pass VBR (w/analysis)," since this will use DVD-RB's built-in prediction and you won't be able to use the Notch matrix or any other custom CCE parameters. In Mode, ensure "CCE Mode" is checked. Also check "Verbose Status Window" and "Dynamically Assign Cell Bitrates". Uncheck everything else in that menu. That's it! To do a movie, choose the source path (either the original VIDEO_TS from DVD Decrypter, or the directory created by DvdReMake or whatever) and the working path (this should be an empty directory, it'll be used for temporary files and the resulting output). Hit Prepare. Now run RB-Opt. Figure out which VOB IDs correspond to the movie and join them together. Do the same for extras. Then, for each collection of VOB IDs, go to the CCE settings dialog and set 8-bit DC precision, 15 frames per GOP, and choose a "Custom" matrix. Select your Notch matrix, which is a text file in the CCE matrix format (each line starts with a tab, 8 fields per line, etc.). Now hit the "OPV Prediction" button and choose your parameters. (Here's where the testing comes in...) When the prediction is done, close RB-Opt and hit the Encode button in DVD-RB. Wait hours. Hit the Rebuild button. Check the size of the final encode. Celebrate or punch a wall depending on the result ;). |
Thanx SansGrip fpr the detailed help but a few questions
Now remember i'm a little slow :D Quote:
Quote:
Thanx for your patience |
Quote:
Click on the first VOB ID for the movie and hit the VOB-ID Link button. This will bring up another dialog in which you can select the VOB IDs that are part of the movie. It will then link them together (can't go into more detail here right now because my PC is still out of action following a registry corruption). Repeat this for the VOB-IDs for the extras too. Quote:
|
I was hoping you didn't answer yet because i found a problem
I know how to and have done the CCE setup but i tried to just click Encode in dvd rebuilder but it keeps saying no CCE path has been set but it is The only path i have set in options is the cce(new)and i have it set to the EclCee but nothing else do i need to set anything else i use CCE with DIKO no problem |
Quote:
|
You have to give the path like I did : enter the path to cce (eclcce acutally) in all the lines. I think the correct one is "ccesp" but to be sure I put it everywhere :-)
|
thanx guys
|
ok.. sorry if im buggin u with this.. but please help
ok, i use ur tool, works fine.. gr8.. for the 2000mb size, then i use it again, for the same size... it works fine again... now i got 2 dvd folders Audio_ts and Video_ts now if i want both to be put on 1 dvd, i need to use authoring program.. i understand tht, i also need to have a VMG Menu, understand that too.. but 1 thing i do not understand.. which authoring programme supports this? importing of vobs.. :?: any answers, ideas, or thoughts r gr8... Also, are there tools that do this or something, i heard of re-authorist and scenerist, but am not sure. i would really like to kno before investing into such a authoring software... thanx in advance Bazzy |
Can someone please post the kvcd notch matrix in the format i need because i have tried all kinds and can't get it
thanx |
Quote:
Just copy/paste this (be carrefull to keep the tab in begining of lines) Code:
8 9 12 22 26 27 29 34 |
Quote:
Tmpgenc DVD Author can import directly a DVD structure (ie all the content of a VIDEO_TS directory except that is there are menus in it, they will be igored, unfortunally). Else you have DVDlab PRo but unfortunalyl NOT the last betas released ! Even the number 6 (I tried it yesterday) is UNABLE TO COMPILE A DVD ! I laucnh the process, it took 3 minutes before to really start, then 2 minutes after it says : complete ! And of course nothing was done. :banghead: This time the menu is kept but I never tried if the extras are also. |
Thanx Phil i did that as my first try but kept getting an error but i did not leave the tab ,i seen it in SansGrips post but forgot to do it
why does it need to be there |
Quote:
|
OK getting clsoe but have a question about joing the vobs
i will give an example of the movie i'm trying with viewig first cell VTS 1-vob-ID 1 (Start of the MOvie) VTS 1-vob-ID 2 (movie) VTS 1-vob-ID 3 (movie) VTS 1-vob-ID 4 (movie rating) VTS 1-vob-ID 5 (FBI Warning) VTS 1-vob-ID 6 (Trailer) VTS 2-vob-ID 1 (trailer) VTS 2-vob-ID 2 (previews) VTS 2-vob-ID 4 (extras) VTS 2-vob-ID 5 (extras) VTS 2-vob-ID 6 (extras) Would i join all the VTS 1 or what Remember i'm just trying to learn :D |
Join the Id correponding to the movie only.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.