Log in

View Full Version : DIVX settings for Multiple passes


Morbo
13th July 2003, 16:47
I was wondering,since we have a newer version of DIVX that really benefits from the speed settings,are we going to get settings in GK that will let us set the speed of the encoder(per pass).

I think we just really need one more button:D

Cheers and keep the code straight Lennox!

BTW:

Nice to see DOS black in an app again.....:cool:

len0x
14th July 2003, 17:57
which settings are you talking about ?

Morbo
15th July 2003, 13:32
In particular,....

One button for first pass(already there)
One for Nth pass(already there)
One for LAST PASS(not there)

As most know already,the new DIVX is very time consuming,and doing fast passes THEN a SLOW/very slow pass last.

Instead of doing two(or however many) slow passes(way it is now),I would only need one SLOW pass instead of 2(i do 3 pass encodes).

Greatly accelerating my overall encode time.

I would almost suggest coding a DIVX version of GK with that,because GK now is very nice.

Thats just my suggestion,I can do what I said in Vmod rather painlessly,but its all about conveinence ya know:)

Cheers and again great work!!

len0x
15th July 2003, 13:43
Originally posted by Morbo

As most know already,the new DIVX is very time consuming,and doing fast passes THEN a SLOW/very slow pass last.


which version of DivX are u talking about ?
if about alpha/beta, then I can tell you that unless DivX reaches status of 5.0.6 or 5.1 or something nothing special will be done for that matter in GK...

jeremymacmull
15th July 2003, 13:51
i think he means the "kauehi" version

JEREMY

len0x
15th July 2003, 13:53
Originally posted by jeremymacmull
i think he means the "kauehi" version


which is beta as it is available only from DivX labs...

Morbo
17th July 2003, 17:53
Well,I was just wondering.....

Yes it was K's version,sorry for not mentioning it.

Cheers

Sumster
7th August 2003, 03:43
Hi Lenox... thanks again for all of your great work on GK!! I use it for all of my encodes.

Actually, I could use these settings even for DIVX 5.05.... I usually do my first 3-4 passes in "STANDARD" mode to allow the Rate Distortion algorithm to optimize the quantizer levels, and then do the final pass in "SLOWEST" mode to optimize the motion vectors. Overall encoding time can greatly decrease.

Therefore, such an option would be VERY nice, even if not using the newest Kauehi or Mahini versions of the codec.

THANKS!

len0x
12th August 2003, 10:29
If speed parameter is the only parameter which can be changed for the last pass? Coz having the whole registry backup just for one possible change seems to be overkill for me and I'd rather do speed settings separately without invoking divx configuration dialog (unless there are some other options for thr last pass to be different)

Sumster
29th August 2003, 03:42
Hi Lenox...

Thanks for the reply. Although speed is the main difference between the first several passes and the last pass, the "re-use MV" option should be disabled on the last pass (as it is using a different speed setting). I have to check back as I now have several different versions of the codec on my system :(... 5.05 is still rock solid for the time being.

Thanks a million....

Sumster

len0x
29th August 2003, 17:47
Originally posted by Sumster
the "re-use MV" option should be disabled on the last pass (as it is using a different speed setting).

I actually don't believe that, coz speed increase come from the fact that some values needed for encode have been computed already (hints), so this has nothing to do with quality speed settings.
Or may be I'm wrong and some can correct me here ?

Acaila
29th August 2003, 18:56
When enabling MV re-use the calculated motion vectors get copied to a text file. During the next pass those motion vectors get read from the file so no calculations have to be done again.

The accuracy of the motion vector calculations is determined by the performance/speed setting. Standard is normal accuracy, the slow and slower modes increase the accuracy substanstially at the cost of speed. This speed drop is why it would be a good idea to do the first few passes with "standard" mode, and the last with "slow" or "slowest" so that you can benefit from the increased accuracy on the last pass and still get a tolerable total encoding time.

If you do a 1st pass with MV re-use and "standard" speed, those standard motion vectors get stored in the file. Doing a 2nd pass will copy those motion vectors from the file regardless of what speed setting you're using for the 2nd pass.
So to benefit from the "slow" or "slowest" speed setting, MV re-use need to be disabled for the last pass or the motion vectors won't get calculated with the increased accuracy.

len0x
9th September 2003, 14:29
Good to know that.

Now @everybody: I tried divx5.1 and its soo slow, which makes it impossible to use even for just last pass in slow mode (at least for me). So I wonder how many ppl are actually using slow mode for lets say "production" purpose, not just testing...

bira
9th September 2003, 20:17
I would use the slowest mode as long as I could use it for the last pass only.

colordog
9th September 2003, 21:57
Ditto on that - last past of a movie on slow is taking about 4-5 hours, which is fine while at work.

len0x
10th September 2003, 08:52
Originally posted by colordog
Ditto on that - last past of a movie on slow is taking about 4-5 hours, which is fine while at work.

I suppose that if it's just one movie a day - it's reasonable. Unfortunately I do 3 movies a night (14-15hours), so it's impossible to do even with just last slowest pass...

Sumster
10th September 2003, 16:02
I do three passes....

first: Standard and WRITE MV (fairly quick)
second: Standard and USE MV (even quicker)
Third: SLOWEST and NO MV (slow as hell)

Can't use MV on the last pass as it has to re-create the more accurate motion vectors (ie. you are changing the overall quality level). By using MV for the first two passes, they go quite quickly. AND, you get the benefit and passing the movie through the rate algorithm for three passes.

Quality is number one and I always use SLOWEST on the final pass. Multiple pass settings would be a life saver!

Thanks Lenox...

Sumster

len0x
14th September 2003, 13:36
You'll be pleased to know that I've decided to add one more button for the last pass setting already for GK 0.28.5.3, not waiting for 0.29 to be completed.

bond
14th September 2003, 13:45
great :)

cjaar
17th September 2003, 12:03
@len0x,

where can i download this GK 0.28.5.3, i see 28.5.2 on sourceforge site

thanks
cjaar

len0x
17th September 2003, 12:14
0.28.5.3 is not out yet, but will be within a week or so...
(I'm planning to update quite a lot of tools from rippack as well, so I have to wait intil they are all stable and ready )

*EDIT*
just to preview what's gonna be updated:
1) decomb 5.0
2) dbbob 1.6
3) DVD2AVI DG version
4) mpeg2dec3 DG version
5) besweet + besweet gui
6) avisynth 2.5.3
7) vdubmod 1.5.4.1 + fixes
8) other filters updates

So this version will be pretty much Donald Graft edition of GK :)