Quantcast Divx Script vs Optimal Script? - digitalFAQ.com Forums [Archives]
  #1  
11-08-2003, 11:23 AM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
I know the reasons for the 2 different versions but have a few questions.

If you have a pretty clean divx is it better to use the optimal or just use the divx with a few variations.

I did a test with my latest divx and this is the results

divx V3(as is)-Encoding... CQ : 56.837-min 634 max 2500-High Quality
divx V4(as is)-Encoding... CQ : 53.787-min 634 max 2500-High Quality
Optimal script(as is)-Encoding... CQ : 70.000-min 634 max 2000-motion estimate

THese were with Tok and i did a full encode on the OPtimal script(figuring it would be wrong)and it was almost right on target

THats quite a difference in cq between the 3 scripts.

All suggestions welcome

Thanx
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-08-2003, 09:07 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I never had V4 giving lower CQ than V3, nor optimal giving such HUGE CQ (comparing to others two). But the diff in MAX bitrate used is HUGE itself !
Do the same with the same MAX-MIN settings for the third one than for the two others.

BTW, wht did you call "optimal" ? The MA one ?
I hate its bluring effect and I do not use it even on a DVD that is clean. So on a yet blurry divx... never.

That's only my choice.
Reply With Quote
  #3  
11-11-2003, 06:24 PM
Anerboda Anerboda is offline
Free Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Also did some tests of my own:

Scripts used:
DivX V4 (Latest)
DivX Deen (used: deen("a2d",2,8,10) instead of Convolution3D(1, 6, 12, 6, 8, 2.8, 0))
MA (Latest)

Clip was only 2 min. (min bitrate=481 is 0.57*avg bitrate for a full encode) All encoded with a CQ of 60.

1. DivX V4 min=300 max=2300 - Size= 8.995 KB
2. DivX V4 min=481 max=2000 - Size=10.517 KB
3. DivX Deen min=300 max=2300 - Size= 8.864 KB
4. DivX Deen min=481 max=2000 - Size=10.396 KB
5. MA min=300 max=2300 - Size=7.883 KB
6. MA min=481 max=2000 - Size=9.659 KB

Visual the DivX V4 and DivX Deen is about the same and the MA is a little more blurry.

So this would lead me to say that using Deen would give a little higher CQ using the DivX script, but this also shows that using the MA script will even give a higher CQ (but a more blurry picture).
I would agree with Dialhot that in scenes with a lot of action in the background, the MA script will blur the complete scene too much, because even if there is a lot af action in the scene you will focus on the front, where there might not be so much action.

Another thing I've been thinking about is, has anybody tested if a low CQ with min=0.57*avg - max=2000 is worse or better looking than a higher CQ with min=300 - max=2300??

More tests to come...

Anerboda
Reply With Quote
  #4  
11-11-2003, 07:24 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I have an avi that gave me a file 10 MB too long (145 insteed of 135 wanted). I will try tomorrow the exact same file and Tmpgenc settings but with "deen" insteed of "Convolution3d". And I'll tell you if my target size is reached and which I find visually the best one.

Note: When you do some tests, use a min CQ of 70. 60 is considered as too low by a lot of people, including me. And the image quality is to poor that it is difficult to evaluate tiny things as details losses in the hair (the most difficult thing to render - and where I focus when I try new filters)
Reply With Quote
  #5  
11-11-2003, 07:42 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Another thing I've been thinking about is, has anybody tested if a low CQ with min=0.57*avg - max=2000 is worse or better looking than a higher CQ with min=300 - max=2300??

As I said in the spanish section too ...

It depends on the movie contents .. cause by lowering the max, the bitrate has less space to "breath" .. and in case of very high action scenes or when the image contains a lot of parts which rapidely change between light and dark (Sunlightreflections on moving Watersurfaces or diamond reflections for example) the image in these parts of the movie could end with blocks!
So you have to assume what to to ... when encoding a calm movie or a movie which could contain high bitrate peaks. And also it depends on which Tv device you use ... high quality Flatscreen will show much more worse elements within the picture as a few years old standard Tv.

Also ... if you recognise that by lowering the maxbitrate your CQ rises up .. that means also that at some high VBR parts of the movie the "peaks" will be cut or kept down! But as I figured out, sometimes there are just little parts in scenes which you even won't recognise but on the other side they perform for just a a few frames a "jump" in the VBR scala. Well and thats what I meant .. you have to try .. cause even with these a bit cuttet very short time taken "jumps" and therefore using a higher CQ you still can receive a very good looking movie even when watching these mentioned scenes! Cause when using higher CQ the video in average will look better .... but that's nothing new I think.
Reply With Quote
  #6  
11-12-2003, 04:05 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Okay. Very quick tests on that file I talk about in my previous post. With deen the file size dropped by 4 MB and a quick glance at it doesn't reveal any difference in visual quality.

For sure I have to make other tests before decinding if deen will be aprt of script V5.
Reply With Quote
  #7  
11-12-2003, 04:19 PM
Anerboda Anerboda is offline
Free Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
More tests:

CQ 70

Size 544x576

Length of sample: 1 min

Max bitrate=2300 , min bitrate=300

To judge the visual quality, i opened the samples in Vdub, and compared the same frame, looking for the details in a beautyful blondes hair...
10 being highest

Scripts used:

DivX V4......size=10.966......encoding time 2:30 min......Visual Quality 10
Deen V1......size=10.804......encoding time 2:29 min......Visual Quality 9
Deen V2......size=10.780......encoding time 2:47 min......Visual Quality 8
Deen V3......size=10.897......encoding time 2:29 min......Visual Quality 10
Deen V4......size=10.874......encoding time 2.47 min......Visual Quality 9
MA..............size=10.643......encoding time 2.55 min......Visual Quality 8

Deen: (instead of Convolution3D)

V1 = deen("a2d",2,8,10)
V2 = deen("a3d",2,8,10)
V3 = deen("a2d",2,6,8)
V4 = deen("a3d",2,6,8)



Conclusion:

Slightly higher CQ with deen("a2d",2,6,8) almost same encoding time and same visual quality as DivX V4(to my eyes anyway).

Doing a full encode (movie is 82 min):
Prediction with CQMatic gave a CQ of 70,08

Wanted filesize=749.928 KB
Encoded filesize=751.080 KB
diff 0,1536% Not bad !!

But then again, why use Deen instead of Convolution3D, when there is nothing to gain? To me there is almost no difference. The only thing I've found out by these tests is that filesize prediction went very well...
But I will have to test it on other sources offcourse.
I just wanted to share my testings and I must agree with Dialhot that his script for DivX files is still producing very good results, I'm sure he will bring it even further...

Anerboda
Reply With Quote
  #8  
11-13-2003, 05:05 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for all you tests Anerboda
Reply With Quote
  #9  
11-18-2003, 10:08 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx for doing the tests Anerboda

@ Dialhot

Sorry for taking so long but i have been a little busy and haven't had the time to do the test with the same min max until tonight,and the optimal script i was refering too is the MA script.

Here are the new results

divx V3(as is)-Encoding... CQ : 56.837-min 634 max 2500-High Quality
divx V4(as is)-Encoding... CQ : 53.787-min 634 max 2500-High Quality
MA script(as is)-Encoding... CQ : 63.994-min 634 max 2500-motion estimate

I only did the min and max in the start of this thread that way because i thought thats the way i was suppossed to.

What are the recommended min and max for the divx scripts
Reply With Quote
  #10  
11-19-2003, 04:56 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by bigggt
divx V3(as is)-Encoding... CQ : 56.837-min 634 max 2500-High Quality
divx V4(as is)-Encoding... CQ : 53.787-min 634 max 2500-High Quality
MA script(as is)-Encoding... CQ : 63.994-min 634 max 2500-motion estimate
For sure there is something very strange ! When you change from HighQ to MotionE you generally lose 3 or 4 point on the CQ. Here that means that V3 (or V4) is more than 10 points under MA script ! You can't really have such results. Are you sure about what you did ?

What is the movie you encoded ? (PM me if you want). I have to test this one !

Quote:
What are the recommended min and max for the divx scripts
I always use MIN 64 - Max 2300 even when I use MA script (that in fact I don't because I hate the blur it gives on the action scene).
Reply With Quote
  #11  
11-19-2003, 07:01 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Hey Dialhot

I'm going to try the test again with all the same features,i was using what was recommended for each script(earlier version of tok with detect scene change with MA script and the newer version of tok with the avi script)

One other thing when i use the MA script i have to use
BicubicResize(496, 334, 1/3, 1/3, 9, 0, 590, 336) instead of Gripcrop because i get errors but if i try to use BicubicResize in the V3 and V4 scripts i get an error

Code:
Sorry DCT filter test version needs size multiples of 16x16
Will this make a difference using grip crop in one and BicubicResize on the other 2

Thanx
Reply With Quote
  #12  
11-19-2003, 09:59 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Ok with all the same settings except the gripcrop problem here are results

min 64 max 2300

V3 -Final CQ: 70.769

V4-Final CQ: 70.303

MA-Final CQ: 71.774

A lot closer now
Reply With Quote
  #13  
11-20-2003, 04:22 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Okay, so you obtain the same results I have : MA a little above the 2 others.

Now the choice is in the visual result obtained. For my part (my eyes), V4 wins. I can't stand with MA script even on DVD and I do not recommand to use it on Divx that are generally a little blurry.

But trust your eyes and take the one your prefer.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimal script or simple resize script? bigggt Avisynth Scripting 2 06-22-2004 08:17 PM
OPtimal script (avisynth 2.5) Divx/Xvid---->KVCD?????(dud InDoKO Convertir y Codificar Video (Español) 6 01-09-2004 07:58 PM
new KVCD script candidate for optimal script! Dialhot Video Encoding and Conversion 12 10-11-2003 02:09 PM
Optimal Script FOR DIVX!? Who's got one? Reno Video Encoding and Conversion 11 08-30-2003 04:10 PM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM

Thread Tools



 
All times are GMT -5. The time now is 07:28 AM  —  vBulletin © Jelsoft Enterprises Ltd