digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Unnatural Looking Surfaces? (http://www.digitalfaq.com/archives/avisynth/8866-avisynth-unnatural-surfaces.html)

jorel 03-30-2004 06:38 PM

Quote:

Originally Posted by bigggt
Hi incredible

Which version vdub mod are you using because i can't see the avs editor

if this was a joke or something then i feel :imstupid:

bigggt, ink is not kiddin, download the last here:

http://sourceforge.net/project/showf...group_id=65889

the script editor is in ---> tools!
:wink:

bigggt 03-30-2004 06:48 PM

Thanx Jorel i have the second last version and it is there just missed it :roll: (actually didn't know where to look :wink: )

incredible 03-31-2004 01:19 AM

load the avs in VdubMod and go under TOOLS and SCRIPT EDITOR .... voilá

jorel 03-31-2004 05:30 AM

Quote:

Originally Posted by bigggt
Thanx Jorel i have the second last version and it is there just missed it :roll: (actually didn't know where to look :wink: )

like i wrote before:

:arrow: the script editor is in ---> tools!

is the same posted by ink:
"load the avs in VdubMod and go under TOOLS and SCRIPT EDITOR .... voilá"

:wink:

bigggt 03-31-2004 06:30 PM

I knew what you meant the first time thats why i wrote

Code:

it is there just missed it
:D

Jellygoose 04-02-2004 09:19 AM

@phil: any results yet, from the tests you made? :roll:

Jellygoose 04-05-2004 05:29 AM

Ok, here are my test results on the "wet painting problem":

I was able to highly reduce this effect with the help and advice of all of you. unfortunately this goes along with a magnificent decrease in compression. :roll:
this is the script I'm using now:

Code:

Unfilter(35,35)
BilinearResize(704, 576, 8, 0, 704, 576)
FluxSmooth(6,6)
TemporalCleaner(ythresh=5,cthresh=7)
Undot()
DCTFilter(1,1,1,1,1,1,0.5,0)
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.4,seed=5326)
LetterBox(0, 0, 16, 16)

@Dialhot: You were right Levels() and aSharp() did mess up the image quite a lot, so it's gone. I still don't like Lanczos though. Unfilter does an amazing job on these "Color Steps" you see sometimes, so thanks, now I know why this filter is called Unfilter(). Blockbuster works fine at the end of the script, with a variance of 0.4, but I had to raise the detail_max value to 10, so that the whole problem was attacked. That results in way larger files of course.

@inc: DCT.Filter is a beast! Thanks for mentioning that. I reduced the value, to a more conservative one. Looks better. thanks!

Dialhot 04-05-2004 05:36 AM

I had other jobs on the fire so didn't try to modify the KDVD script yes.

About your script you make a mistake in processing the whole picture and not cutting any existant black borders before all other work. Do you have a fullscreen source ?

Beside this, these days I really love the "new deen" I often mentioned. Drop flushmooth and use just "deen()". You also lower the threshold on the chroma of temporalcleaner (cthresh). Set it to 5.

audioslave 04-05-2004 07:31 PM

Where can we find this "new" deen you mentioned Dialhot? Interested in trying it :) .

Dialhot 04-05-2004 07:37 PM

http://atlas2.tgv.net/~media-video/f...c9c1b3be9b4655

The page is in french but you will see easily the download link ("telecharger" in french).

audioslave 04-05-2004 07:41 PM

Thanks! :) Or should I say "merci"...

jorel 04-07-2004 07:47 AM

Quote:

Originally Posted by Dialhot
http://atlas2.tgv.net/~media-video/forum2/download.php?id=102&sid=fb8009ae0c5bcf84e1c9c1b3be 9b4655

The page is in french but you will see easily the download link ("telecharger" in french).

Phil,
the link is " 403 forbidden "!

do you have another one?

i download a few days but some members want it too!

Dialhot 04-07-2004 12:57 PM

I just DLed it to check and it works. That was surely a temporary problem.
BTW, the zip file is only 17Kb long. Don't you have some space to host it Jorel ?

jorel 04-07-2004 01:24 PM

Quote:

Originally Posted by Dialhot
I just DLed it to check and it works. That was surely a temporary problem.
BTW, the zip file is only 17Kb long. Don't you have some space to host it Jorel ?

yes my friend, i have space!
will be my pleasure!
:wink:
you got pm!

Dialhot 04-07-2004 04:54 PM

Okay.

Today I did some tests. As I suspected, the guilt was my hand too "heavy" on the chroma filtering.

We all know that the eye is less sensitive to the chroma than the luma. That is why in optimal script you have a blur(1.58) on chroma but blur(0.1) for luma :!:

In my script the chroma is filtered by temporalcleaner in a too strong way. That is the cause of the "painting" effect. The temporalcleaner defaults are (luma=2, chroma=3) and I used (luma=5, chroma=7).

There are my tests :

1/ script with both fluxsmooth and temporalcleaner
2/ script with only fluxsmooth
3/ script with only temporalcleaner
4/ script with deen and nothing else !

The results :

1/ 33.8 MB
2/ 36.1 MB
3/ 34.6 MB
4/ 33.6 MB :!: :!:

As you can see, a temporal filtering is absolutly necessary as without it (test 2), the filesize is 10% bigger !
The result of test 3 (only temporal) has this "painting effect" and that confirm that this is temporalcleaner the "guilty".

But look at the last test : deen ALONE does better than the two other filters ! :arrow: And the painting effect is deeply reduced.

I wondered if CEE is responsible of this effect. I did an other test :
5/ same script as 4 but in Vmesquita's template for CCE KDKD I change the "Quantizer Characteristic" the to 20 insteed of 25 (see Quality parameter in CCE settings)

:arrow: filesize = 34.7 but picture definitely better.

Finaly, I found that the visual result was to "blinky" (not exactly mosquitoes, not really grain... but there are some blinking points that have nothing to do there). So I did a last test :

6/ deen + undot and QC=20.

:arrow: filesize = 34,3

Finally, this is the script I suggest to you for KDVD :
Code:

Mpeg2Source("PATH\NAME.d2v",cpu=4)
#Crop(8, 72, 704, 432) # 72_72
#Crop(8, 16, 704, 544) # 16_16
Crop(8, 0, 704, 576) # fullscreen

Deen()
Undot()
DCTFilter(1,1,1,1,1,1,0.5,0)
#Addborders(0,72,0,72) # 72_72
#Addborders(0,16,0,16) # 16_16
LetterBox(16,16,16,16)

Dont forget to change the QC to 20 if you use Vmesquita's template

incredible 04-07-2004 05:51 PM

a) just fluxsmooth() does NOT filter spatial only!
If you want to switch off temporal work of fluxsmooth, just set -1 as temporal value

b) I did tests using the "older" Deen() and the "newer" Deen() and if set to defaults it gave my (just IMHO) to much filtering .... I recognised that in very detailed parts of hairs etc.

c) Watch out as there are MANY differencies in DVD sources ... a wide range from noisy ones (even new produced ones) where deen() is perfect and other very well digitized sources where just deen() would be too much.

But any way for general use this helps shurely ... but watch out in case of clean sources if using just deen()

Quantizer Characteristic of CCE is also dependend of the movie content as I understood and also recognised that its reponsable for more or less Quantizer scale dynamics. In a calm movie its better to have a more linear qantizer and on high/low action ones amore dynamic Quantizer.

jorel 04-07-2004 05:58 PM

little differences bu...believe or not...
8O
yesterday i did:

Mpeg2Source("D:\lk3\lk3.D2V",cpu=4)
BicubicResize(336,176,0,0.6,16,0,688,480) # overscan 1
FluxSmooth()
TemporalCleaner(ythresh=5,cthresh=7)
undot()
AddBorders(8,32,8,32) # overscan 1

final size = 592Mb with TemporalCleaner & FluxSmooth

Mpeg2Source("D:\lk3\lk3.D2V",cpu=4)
BicubicResize(336,176,0,0.6,16,0,688,480) # overscan 1
FluxSmooth()
Deen()
undot()
AddBorders(8,32,8,32) # overscan 1

final size = 572Mb with Deen & FluxSmooth

i don't knew about your tests Phil...
now i will redo with Deen & TemporalCleaner without FluxSmooth :!:
:wink:

jorel 04-08-2004 02:48 AM

without FluxSmooth was a little faster....

Mpeg2Source("D:\lk3\lk3.D2V",cpu=4)
BicubicResize(336,176,0,0.6,16,0,688,480) # overscan 1
Deen() # new version
undot()
AddBorders(8,32,8,32) # overscan 1

final size = 557Mb :!:




...DCTFilter(1,1,1,1,1,1,0.5,0) was not used for this resolutions, see details:
http://www.kvcd.net/forum/viewtopic.php?t=10030

<edited>
deen()
:arrow: # new version

incredible 04-08-2004 02:59 AM

Jorel if using a Cleaner/Softener Filter like in here Deen() just be aware that outputs - if applied to diff resolutions - will be different as the Filter isnt interested in the setted resolution but in its radius settings for example.
So I can imagine (IMHO) that a little tweak for deen() to lower settings when used at 352x240 will be at least a nice try :wink:

jorel 04-08-2004 03:43 AM

right ink!

with "old" deen version i used this parameters and got good results,

deen("a3d",3,4,0,4) # light cleaning
#deen("a3d",3,6,1,6) # medium cleaning
#deen("a3d",4,9,1,9) # heavy cleaning

what do you th-ink ?
:wink:

<edited>
maybe i was unclear...
the result posted in my last post
final size = 572Mb
was using the new deen version.

this values in this thread i used in the "old" version!


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.