View Full Version : DVD Rebuilder (CCE One-Click Beta v0.46) Comments and Suggestions
jdobbs
15th October 2004, 22:19
Your wish is my command. ;)
Harm
15th October 2004, 23:09
I think it's most admirable that you put in some much work jdobbs!
You deserve all the credit you think that comes to the others.....
One big cheer for you!!!!!!!!
:thanks:
kooky
16th October 2004, 12:52
What about a multi-languages version?
i have no problem with english, but maybe some users would like a version in their native language?
Could be implemented into a .dll?
jdobbs
16th October 2004, 19:10
Honestly I don't know. I've never created software in a multilanguage version.
Harm
16th October 2004, 19:40
Originally posted by kooky
What about a multi-languages version?
i have no problem with english, but maybe some users would like a version in their native language?
Could be implemented into a .dll?
Good idea! I am sure lots of us will help you creating the correct text in their native language (I will for sure..... :) )
J-Wo
16th October 2004, 21:51
hey jdobbs, I got a couple cosmetic suggestions:
1) When in 3 click mode, include a checkbox (or perhaps in the options menu) to auto-rebuild after encoding. I know, you're probably asking why don't you just do 1 click mode? Well after preparing, I sometimes like to load rebuilder.inf into Rb-Opt to make some bitrates changes or something.
2) In the progress window, is it possible to change the lines to read "Creating M2V for VTS_01 segment xx of yy"? I know you have an overall percentage meter but sometimes I like to know how many segments there are left to do. I think Rb-Farm already reports progress this way.
That's about all I've got so far :)
lamster
18th October 2004, 05:40
Originally posted by jdobbs
Honestly I don't know. I've never created software in a multilanguage version.
Basically, you put all your resources (including all text strings) in a separate DLL, create multiple copies for each supported language, and at run time link to the DLL appropriate to the desired language. (I could give you help for Visual C++, but I've never done it with a VB app.)
One PITA is that many things take longer to say in other languages, so you have to leave room in all your dialogs for the longer strings.
lamster
19th October 2004, 05:01
Originally posted by J-Wo
When in 3 click mode, include a checkbox (or perhaps in the options menu) to auto-rebuild after encoding. I know, you're probably asking why don't you just do 1 click mode? Well after preparing, I sometimes like to load rebuilder.inf into Rb-Opt to make some bitrates changes or something.
I'd like to see this too. I start out in one-click mode, but if I have to stop in the middle, I have to switch to 3-click mode in order to continue the Encode phase later.
In the progress window, is it possible to change the lines to read "Creating M2V for VTS_01 segment xx of yy"?
I grep the rebuilder.inf for %[V[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]+%] to see how many segments there are, or for the following if I also want to see how many frames are in each:
(%[V[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]+%])|(Frames=)
dragongodz
19th October 2004, 05:35
you put all your resources (including all text strings) in a separate DLL,
actually you can just put all the text in a text file and do it that way aswell. thats how DVDx does it. adding extra languages can be done by anyone that way. :)
lamster
19th October 2004, 16:09
That's another approach, which (IMO) is more suited if you're designing in support for multiple languages from the start.
Some advantages of what I suggested are:
You don't have to redo your existing resource files and modify the code to read the strings from the text file
Right-to-left languages are supported by the resource file
You can "tweak" the dialogs on a per-language basis to account for differing lengths of strings, so there are no big gaps in some because one string is very long in one language.
I'm sure there are other approaches as well, and I don't know what would work best with a VB app. (Sorry if it sounded as though I was saying that's the only way to do it; that's just what I have experience with.)
lamster
19th April 2005, 22:49
Sometimes there's a problem with the encoder, and we want to try reproducing the problem outside of Rebuilder. (Expecially if the encoder is crashing 12 hours into the process... :) )
It would be nice if there were an option which would log the command-lines used for each invocation of the encoder. (I actually wrote a front-end that would do this, so I could tell Rebuilder to use QuEnc_FE.exe (as in QuEnc Front End), and QuEnc_FE would write the command-line parameters to a log and then invoke QuEnc.exe, passing the same parameters along. This gets tricky when you look at the size of the executable to guess which version of QuEnc is being used, and pass different command-line parameters.)
Similarly, I'm now trying HC, and working on a crash in that. I see the command-line is:
HCBatch_013.exe -ini "E:\DVD\D2VAVS\HC.INI"
but without an option to have a separate INI file used for each invocation, it gets harder to try and figure out why some segments crash and others don't.
BlkPnthr
4th September 2005, 06:34
A suggestion (is posted in a different thread, my apologies as I didn't see this one until after...)
Any chance of a posssible thread/forum for possible future idea's for DVD-RB? It is an awesome program but, often thought of idea's that might be easy to impliment (I don't know, am not a coder or programmer).
One idea I did have was, to be able to have DVD-RB's log named the same name as the output file folder.
For example:
If I was backing up the movie "Ghostbusters", and the output folder was called "GB_1", then the log would be named "GB_1.txt". I could see this coming in handy when batch processing, just in case you had forgotten the order they were processed. Also, when in one log, if you don't remember the order, then you could end up giving bad information.
I appreciate your time in reading my thread. :thanks:
http://forum.doom9.org/showthread.php?t=99574
BlkPnthr
4th September 2005, 06:36
btw..jdobbs, thans for all your awesome work..and Rockas is a true asset as well. Both of you have helped a great many-person out and it's appreciated.
Thanks again and keep up the great work.
TheCreamCrackerBoy
13th December 2005, 02:50
I've got a suggestion, folks.
Can Mencoder be implemented with future versions of DVD-RB? Last versions of Mencoder can encode MPEG-2 files pretty good... IMHO, it's my preferred encoder for low/medium bitrates. And it supports AVS files.
Last Celtric Druid's builds can be find at http://www.aziendeassociate.it/cd.asp?dir=/mplayer
A GUI for Mencoder by Dancho can be find at http://forum.doom9.org/showthread.php?t=101246 (only for MPEG-2 encoding)
Comparisions of MPEG-2 encodings at low bitrates can be find at http://forum.doom9.org/showthread.php?t=98633
Comparisions of MPEG-2 encodings at medium bitrates can be find at
http://forum.doom9.org/showthread.php?t=101735
My regards,
TheCreamCrackerBoy.
SpazzHH
13th December 2005, 03:10
@TheCreamCrackerBoy
Wasn't exactly the same question asked, with exactly the same links given, in your post just a couple of days ago here? (http://forum.doom9.org/showthread.php?p=748849#post748849)
TheCreamCrackerBoy
13th December 2005, 03:31
@SpazzHH
Hi, SpazzHH, you are absoltely right... it's because It was 3 days ago, without any replies. I wasn't sure if this suggestion arrived to the developers. Besides, I've posted the message at the other thread more than 1 year from the last post.
Since here is the [official] thread for DVD-RB suggestions, I've decided to post it again here, and I deleted my previous post at the other thread.
Sorry if I bothered you. It's not my interest to offend anyone here, neither to break the rules of this forum.
My best regards,
TheCreamCrackerBoy.
jdobbs
13th December 2005, 11:30
Does it actually do anything differently/better than QuEnc? They both use the same library for encoding -- and from my understanding QuEnc's methods of using the library are faster.
TheCreamCrackerBoy
13th December 2005, 15:43
Does it actually do anything differently/better than QuEnc? They both use the same library for encoding -- and from my understanding QuEnc's methods of using the library are faster.
Hi, jdobbs,
I didn't know that QuEnc and Mencoder had the same [internal?] library for encoding. I thought that each MPEG-2 encoder had a different library. I should run some tests to compare QuEnc to Mencoder... :-)
See ya!
TheCreamCrackerBoy.
jdobbs
13th December 2005, 15:54
I believe they both use libavcodec from sourceforge. It's a GNU licensed library.
hallway
30th December 2005, 00:18
How about an "estimated completion time" for DVD Rebuilder ?? I understand it might be a lot of guesswork or actually, is it a function of the encoder instead ?? I've only experimented with DVD-RB and my previous (2) runs with it completed the encoding process in 2-3 hours. I'm running DVD-RB on Madagascar right now and it's working on 4-5+ hours I think.... If I'd have known it was going to take this long, I'd have run it before going to bed as I've got a couple other DVDs to work on at the moment.
jdobbs
30th December 2005, 03:15
That's a tough one. The time depends on too many variables: Processor speed, memory size, disc size, disc free space, disc fragmentation, whether you are using the same disc for reading and writing, as well as all the settings that can't be estimated like filters. All those are then affected by the "knowns" like total frames etc...
BlkPnthr
30th December 2005, 04:18
As I can appreciate the variables, is it possible to come up with some type of calculation? For example, I download using NL and based on current internet activity, files added or deleted from the que, it gives you an approximate time as to how long it will take to download the files enque...
btw..keep up the awesome work m8. I swear by this program along with CCE. Keep on rockin'.
jdobbs
30th December 2005, 17:14
How about an "estimated completion time" for DVD Rebuilder ?? I understand it might be a lot of guesswork or actually, is it a function of the encoder instead ?? I've only experimented with DVD-RB and my previous (2) runs with it completed the encoding process in 2-3 hours. I'm running DVD-RB on Madagascar right now and it's working on 4-5+ hours I think.... If I'd have known it was going to take this long, I'd have run it before going to bed as I've got a couple other DVDs to work on at the moment. Just a reminder. You can always abort the job, and then continue in 3-Click mode (by pushing the ENCODE, or REBUILD button and answering "Yes" when asked whether to resume the last encode).
TheCreamCrackerBoy
6th March 2006, 15:55
Does it actually do anything differently/better than QuEnc? They both use the same library for encoding -- and from my understanding QuEnc's methods of using the library are faster.
I believe they both use libavcodec from sourceforge. It's a GNU licensed library.
According to this source - http://forum.doom9.org/showthread.php?t=98633 - Menconder comes in 1st place and QuEnc comes in 2nd... so there are differences between them, I believe...
See ya,
The Cream Cracker Boy.
Fishman0919
6th March 2006, 16:53
According to this source - http://forum.doom9.org/showthread.php?t=98633 - Menconder comes in 1st place and QuEnc comes in 2nd... so there are differences between them, I believe...
See ya,
The Cream Cracker Boy.
AQE, QuEnc, NuEnc, Menconder, FreeEnc all use the libavcodec engine to encode... so with the same setting you should get the same results. Menconder lets you tweek the settings more so then some of the other encoders.... and in doing so you can make your encoding better or much, much worse if things are not sets right.
sharcher
3rd May 2006, 14:16
I bought DVD-RB & am getting notified of updates. I had to change my email address... how do I notify DVDRB ?
Rockas
3rd May 2006, 14:47
just send the changes to dvd-rb@dvd-rb.com... don't gorget to mention the old and new email addresses.
AGKnotUser
31st March 2007, 19:48
I would like to see a "Profile" function added in DVD-RB. I use one set of settings for "Movie Only" backup and a completely different set for "Full Backup". If I could select a profile for one or the other it would reduce time and the risk of mistakes. Thanks.
jdobbs
31st March 2007, 20:04
That's already there. Look under the FILE menu for "Load Template" and "Save Template".
AGKnotUser
3rd April 2007, 15:47
That's already there. Look under the FILE menu for "Load Template" and "Save Template".
Thanks!
Robotik
13th May 2007, 23:43
hi,
i'm an absolute newbie, and i'm a little puzzled. i've read that the best quality can be reached using RB-Opt, but trying it got me even more puzzled.
i prepared a small dvd for testing (700 MB), but it seems target size can only be 4.7 or 8.5 GB, and prepare always resets Item Reduction to 100% (even after i checked Force Reencoding), so i can't test it.
also, preview doesn't seem to work.
any suggestions? should i just jump in give it a real compression job?
also, a feature reques from the newbie :): would you include a "Custom Target Size" under dvd-5 and dvd-9, so the user can set any size he wants?
thanks,
robotik
wmansir
14th May 2007, 07:44
These hidden settings you can set in the rebuilder.ini file should help you, robotik.
http://forum.doom9.org/showthread.php?s=&postid=482090#post482090
Robotik
14th May 2007, 12:42
thanks, wmansir.
is there an all-newbie guide/thread for DVD-RB in this forum?
SpazzHH
14th May 2007, 12:56
You might try the help file that comes with RB. It's a bit old, but very informative.
Robotik
14th May 2007, 20:06
thanks, i got so used to get info from forums, that i forgot this simple method :D
yep, it is a nice help file!
Hauru
12th June 2007, 12:33
Hi,
i think DVD rebuilder makes wrong mapping of Quality_prec
parameter for CCE SP2.
It is leaved on default 16 in rebuilder, but in the end .ecl
file it will be mapped to 25. As i have opened the file in
CCE it was also 25. The same value (25) shows also RB-Opt.
CCE SP2 uses 0-100 range and recommends to keep this at 16
for the standard picture. Why rebuilder pushes it to 25?
Fishman0919
12th June 2007, 13:59
By default DVD-RB uses 16 (the CCE recommend setting), with all the diff ver of CCE SP/SP2 using the 0-64 scale or the 0-100 scale.... it seems to be set to the 0-64 scale for SP2. You will not be able to see a diff between 16 and 25 on most if any encodings. It's most likely not high up on jdobbs list of stuff to be done/fix but maybe in a future release it will be fixed.
jdobbs
12th June 2007, 16:44
Because CCE versions kept jumping back-and-forth between the 0-64 scale and the 0-100 scale, I decided to stick with the 0-64. The value is adjusted for encoders that use the 0-100. So if you select 16 on a 0-64 scale -- it is the same thing as selecting 25 on a 0-100 scale.
So if you want to set the value to 16 on a 0-100 scale, select 10.
TheCreamCrackerBoy
31st July 2007, 19:37
I really recommend Mencoder as one *great* encoding tool.
AQE, QuEnc, NuEnc, Menconder, FreeEnc all use the libavcodec engine to encode... so with the same setting you should get the same results. Menconder lets you tweek the settings more so then some of the other encoders.... and in doing so you can make your encoding better or much, much worse if things are not sets right.
I have done *several* encoding tests with these encoders and I concluded that Mencoder has results that IMHO should be considered, specially when used with Notch matrix.
I must clarify that I really do respect Fishman0909; however, I don't understand why I can't get the same results with these encoders, even using the exact same settings.
Final note: I am talking about downsizing from double-layer to single-layer DVDs. So, I am not using high bitrates on my tests.
My best regards,
The Cream Cracker Boy.
jdobbs
3rd August 2007, 12:48
I'll look at an interface to Mencoder, maybe a stub that will convert the QuEnc command line to those Mencoder understands.
Boulder
3rd August 2007, 13:00
It would be interesting to test Mencoder now that it supposedly produces compliant video (i.e. no VBV problems). It might also be useful to add an option to feed extra cli parameters to Mencoder since there's a thousand of them - and they probably have a big impact on the quality of the output.
jdobbs
4th August 2007, 05:01
Does anyone have a good download address for a recent Windows CLI version?
Boulder
4th August 2007, 08:42
http://ffdshow.faireal.net , there's a few mirrors to choose from. The latest mplayer packages are from 20th of July I think.
jdobbs
4th August 2007, 13:54
This has to be the most complicated command line I have ever seen. Is there a good guide for MPEG2 encoding with MENCODER anywhere. I did some searching, but everything I found was really limited. The MAN pages all seem to be missing things too.
jdobbs
4th August 2007, 17:56
Well, on the test runs I've done (with Mencoder) so far it certainly doesn't look very good... admittedly I'm not an expert on the package -- but my QuEnc output (also using LIBAVCODEC) comes out much better.
[Edit: Found that adding mbd=2 helps some -- but slows it down]
Boulder
5th August 2007, 14:51
Sagittaire deals a lot with Mencoder, there are some profiles in this recent thread: http://forum.doom9.org/showthread.php?t=128498
TheCreamCrackerBoy
7th August 2007, 05:17
@jdobbs
Thank you for considering this app.
Here are some curious notes about my tests:
1. If I try DVD-RB with QuEnc, the temporary avs scripts won't be opened with Mencoder; however, if I try DVD-RB with HCEnc, the avs files can be opened with Mencoder.
2. All Mencoder versions that I've got won't encode the last frame of an avs file. If this script contains 3096 frames, Mencoder encodes 3095 frames, ignoring the last one (QuEnc, HCEnc and other apps encode all the frames). I don't know why this happens; the only solution I've thinked of is to add 1 extra frame on the "Trim" commandline of that avs script.
3. On all my tests (automated or not) QuEnc [2-pass, VBR, high quality, trellis, extreme & slow settings] produced more (macro)blocking than HCEnc [profile: BEST], even with the very same bitrate setting. I've tried several sources - interlaced, progressive, dark, light, noisy ones, etc (however, animes and cartoons were not tested) - and the quality difference is *perceptible*. Mencoder, IMHO, produced results slightly better than HCEnc, even with scenechange threshold set to 0.
4. As far as I know (please notice that I may be wrong) Mencoder has some limitations concerning its matrices - that's why I'm using Notch matrix on Mencoder: because of compatibility issues.
5. Mencoder interested me after I read the forum located at http://forum.doom9.org/showthread.php?t=98633. Later I've found this other one: http://forum.doom9.org/showthread.php?t=101735.
6. I've found a few guides at http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html and http://tivo-mplayer.sourceforge.net/docs/mplayer-man.html
Hope it helps. ;-)
My best regards,
TheCreamCrackerBoy.
jdobbs
7th August 2007, 12:06
In my testing I found that by using the 3-pass template created by Sagittaire I can get output with quality equal to QuEnc -- but it is much slower. The last pass completes at about 9-12fps, even if I disable trellis. Compare that to the 50fps I get with QuEnc and it makes you wonder what the differences are since they are both using the LIBAVCODEC library.
Here's the 3-pass batch file I used (originally created by of Sagittaire), I modified several parameters in my tests (changed the bitrate, max bitrate, set the VBV to 1835, removed the PSNR output, used a 12 frame GOP):
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> HDDVD - 1080p - 23.976 fps - progressive - PSNR optimisation
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@echo off
@REM -----------------------------------------------------------------------------------------------
@REM
@REM 6 Mbps MPEG2 Mencoder Profil
@REM
@REM -----------------------------------------------------------------------------------------------
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> Output and Input files
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM Input file name
set E_SRC=HDDVD-ntsc.avs
@REM Output file name
set E_VID=MPEG2_6Mbps.m2v
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> Rate control settings
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM Set of bitrates
set E_BR=6000
@REM Set of max bitrates (use 9800 max for DVD compliant stream)
set VBV_MBR=20000
@REM Set of max buffer size (use 1835 max for DVD compliant stream)
set VBV_MBS=9781
@REM Set of ratio initial buffer occupency (0.9 is good value)
set VBV_IBO=0.9
@REM Set of first pass quantizer (2 is good value for high bitrate)
set E_IQ=6
@REM Set of min quantizer (1 is good value for high bitrate)
set E_MinQ=2
@REM Set of max quantizer (9 is good value for high bitrate)
set E_MaxQ=31
@REM Set of quantizer variability [0.00;1.00] (0.75 is good value)
set E_VQ=0.75
@REM Set of inter quantizer masking [0.00;1.00] (0.00-0.50 is good interval)
set E_PMSK=0.10
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> GOP structure
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM Set of max interval KFrame (use 15 for DVD PAL and 18 for DVD NTSC)
set E_MIK=14
@REM Set of max BFrames [0;4] (use 2 max for DVD compliant stream)
set E_MBF=2
@REM Set of Adaptative BFrames [0;2] (desactived is 0, fast is 1 and slow is 2)
set E_ABF=2
@REM Set of Slow Adaptative BFrames Refine [0;10] (0 is full search, higher is faster)
set E_SBF=1
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> Motion estimation settings
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM Set of ME range [0;9999] (use 128 for DVD compliant stream)
set E_RME=128
@REM Set of Rate Distortion Optimisation [0;2] (2 is the best)
set E_RDO=2
@REM Set of diamond size [-99;6] (negatives values are adaptative diamond)
set E_DIA=-4
@REM Set of comparison function for ME [0;2000] (0 is SAD, 1 is SSE, 2 is SADT, +256 for chroma ME)
set E_CMP=2
@REM Set of previous ME [0;2]
set E_PME=2
@REM Set of BFrame refinements [0;4] (Bframe Quality, 4 is best quality)
set E_BFR=4
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> VUI settings
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM Display Aspect Ratio (4/3 or 16/9 for DVD compliant stream)
set E_DAR=16/9
@REM DC precision [8;10]
set E_DC=8
@REM Framerate (use 25 for PAL and 24000/1001 or 30000/1001 for NTSC)
set E_FPS=24000/1001
@REM Set intra matrix (use coef > 8 for DVD compliant stream with mencoder)
set E_INTRA=8,16,16,16,17,18,21,24,16,16,16,16,17,19,22,25,16,16,17,18,20,22,25,29,16,16,18,21,24,27,31,36,17,17,20,24,30,35,
41,47,18,19,22,27,35,44,54,65,21,22,25,31,41,54,70,88,24,25,29,36,47,65,88,115
@REM Set inter matrix (use coef > 8 for DVD compliant stream with mencoder)
set E_INTER=16,17,18,18,19,20,21,22,17,18,18,18,19,20,21,23,18,18,18,19,20,22,24,26,18,18,19,20,22,24,27,30,19,19,20,22,25,28,
32,37,20,20,22,24,28,34,40,46,21,21,24,27,32,40,48,58,22,23,26,30,37,46,58,74
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
@REM >> Mencoder CLI
@REM >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ECHO.---------------------------------------------------------------
ECHO.First pass ...
ECHO.---------------------------------------------------------------
mencoder.exe -priority idle %E_SRC% -o NUL -ovc lavc -ofps %E_FPS% -passlogfile MPEG2_6Mbps.log -lavcopts vcodec=mpeg2video
:vpass=1:vqscale=%E_IQ%:keyint=%E_MIK%:vqcomp=%E_VQ%:vmax_b_frames=%E_MBF%:vb_strategy=%E_ABF%
:brd_scale=%E_SBF%:vb_qfactor=1.25:vb_qoffset=0.00:vi_qfactor=1.00:vi_qoffset=0.00:me_range=%E_RME%:preme=%E_PME%
:dia=1:predia=1:mbd=%E_RDO%:precmp=0:cmp=0:subcmp=0:mv0:last_pred=0:trell:cbp:dc=%E_DC%:psnr:aspect=%E_DAR%
:inter_matrix=%E_INTER%:intra_matrix=%E_INTRA%:scplx_mask=%E_PMSK%:vqmin=%E_MinQ%:lmin=%E_MinQ%:mblmin=%E_MinQ%
:vqmax=%E_MaxQ%:lmax=%E_MaxQ%:mblmax=%E_MaxQ%:vqblur=%E_VQ%:vrc_strategy=0 -of rawvideo -ffourcc MPG2
@REM @CLS
ECHO.---------------------------------------------------------------
ECHO.Second pass ...
ECHO.---------------------------------------------------------------
mencoder.exe -priority idle %E_SRC% -o NUL -ovc lavc -ofps %E_FPS% -passlogfile MPEG2_6Mbps.log -lavcopts vcodec=mpeg2video
:vpass=3:vbitrate=%E_BR%:keyint=%E_MIK%:vqcomp=%E_VQ%:vmax_b_frames=%E_MBF%:vb_qfactor=1.25:vb_qoffset=0.00
:vi_qfactor=1.00:vi_qoffset=0.00:me_range=%E_RME%:preme=%E_PME%:dia=1:predia=1:mbd=%E_RDO%:precmp=0:cmp=0:subcmp=0
:mv0:last_pred=0:trell:cbp:qprd:dc=%E_DC%:psnr:aspect=%E_DAR%:inter_matrix=%E_INTER%:intra_matrix=%E_INTRA%
:scplx_mask=%E_PMSK%:vqmin=%E_MinQ%:lmin=%E_MinQ%:mblmin=%E_MinQ%:vqmax=%E_MaxQ%:lmax=%E_MaxQ%:mblmax=%E_MaxQ%
:vqblur=%E_VQ%:vrc_strategy=0 -of rawvideo -ffourcc MPG2
@REM @CLS
ECHO.---------------------------------------------------------------
ECHO.Last pass ...
ECHO.---------------------------------------------------------------
mencoder.exe -priority idle %E_SRC% -o %E_VID% -ovc lavc -ofps %E_FPS% -passlogfile MPEG2_6Mbps.log -lavcopts vcodec=mpeg2video
:vpass=3:vbitrate=%E_BR%:keyint=%E_MIK%:vqcomp=%E_VQ%:vmax_b_frames=%E_MBF%:bidir_refine=%E_BFR%:vb_qfactor=1.25
:vb_qoffset=0.00:vi_qfactor=1.00:vi_qoffset=0.00:me_range=%E_RME%:preme=%E_PME%:dia=%E_DIA%:predia=%E_DIA%:mbd=%E_RDO%
:precmp=%E_CMP%:cmp=%E_CMP%:subcmp=%E_CMP%:mv0:last_pred=3:trell:cbp:qprd:dc=%E_DC%:psnr:aspect=%E_DAR%
:inter_matrix=%E_INTER%:intra_matrix=%E_INTRA%:scplx_mask=%E_PMSK%:vqmin=%E_MinQ%:lmin=%E_MinQ%:mblmin=%E_MinQ%
:vqmax=%E_MaxQ%:lmax=%E_MaxQ%:mblmax=%E_MaxQ%:vqblur=%E_VQ%:vrc_maxrate=%VBV_MBR%:vrc_buf_size=%VBV_MBS%
:vrc_strategy=0 -of rawvideo -ffourcc MPG2
A different matrix may be appropriate also for DVD-5 output -- I'll have to test that.
jdobbs
27th August 2007, 20:48
Well, as an update I thought I'd let you know that I have MENCODER working with DVD-RB. I built a "CmdLine" choice as an encoder selection. I then pass certain parameters to a batch file that uses the parameters. That way it can support more than just this one command line encoder (like mencoder).
The problem I've seen right away is in sizing. MENCODER (or at least in my testing) doesn't seem to keep the specified bitrate & file size well. I just finished one of the SOPRANOS discs as a test, with 4 episodes on it (to assure myself that the problem wouldn't likely be encoder saturation)... and it came in at 3.5GB. The exact same bitrate set run through CCE was on-target at 4.32GB. Still testing...
jdobbs
28th August 2007, 14:56
Anyone else have any luck with mencoder sizing? I ran a few more discs through the encoder, and they are all dramatically undersized. I looked at the quant values of the output -- and they seem exceptionally small for the amount of compression used, almost as if there was some kind of built-in smoothing before the encode.
I remember seeing something similar to this in FFMPEG encoding of MPEG2 in the past.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.