digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Error on script - Blind pp:need mod 16 height? (http://www.digitalfaq.com/archives/avisynth/8216-error-script-blind.html)

khusru 02-17-2004 08:26 PM

Error on script - Blind pp:need mod 16 height?
 
my script is showing an error and wont load my avi file, not sure what this means so please help??

This is the error message:

Blind pp:need mod 16 height
(c:\black.avs, line 2)

and heres my scrpt

AviSource("c:\chris.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(528, 576, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()

Also what does the second line of the script do ( blind pp)?

Prodater64 02-17-2004 08:51 PM

Re: error on script, help please
 
Quote:

Originally Posted by khusru
my script is showing an error and wont load my avi file, not sure what this means so please help??

This is the error message:

Blind pp:need mod 16 height
(c:\black.avs, line 2)

and heres my scrpt

AviSource("c:\chris.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(528, 576, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()

Also what does the second line of the script do ( blind pp)?

Hi: It means that your movie's height isn't multiplo of 16. You must to use addborders just like this (see the red line):

AviSource("c:\chris.avi",false)
Addborders(0,0,x,0)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
Convolution3D(1, 6, 12, 6, 8, 2.8, 0)
GripCrop(528, 576, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
#Blockbuster(method="noise",detail_min=1,detail_ma x=10,variance=0.3,seed=5623)
GripBorders()

where x is the number that you must to sum at your movie height. For the width the correction would be Addborders(0,0,0,x)
Blindpp is a "blocks killer", but not sure, sorry.
I hope this help you.
I'll see you.
Prodater64


@Dialhot
:oops: Excuse me, i'm correcting the mistake. :oops:

khusru 02-17-2004 09:47 PM

im not sure wot u mean, do i add the line:
Addborders(0,x,0,0)

What numbers can i use in the brackets?

Dialhot 02-17-2004 09:59 PM

You can read, do you ? Everything is well explained in the thread where you found the script :!:

Taking the script is one thing. READING the instructions an other.

http://www.kvcd.net/forum/viewtopic.php?t=7223

khusru 02-17-2004 10:12 PM

just read another post with the same problem with mod 16, and dialhot u explained clearly how 2 sort this out, so thanks, if i have any problems il let u know, cheers

Dialhot 02-18-2004 04:49 AM

Be carreful that the hints changed recently. Before I suggested to use addborders(left,top,0,0), now it's addborders(0,0,right,bottom).

The things don't change, that's only that is better to use the parameters on these 2 sides than the previous ones.

vmesquita 02-18-2004 07:57 AM

Why?

Dialhot 02-18-2004 08:06 AM

Look at there :

http://www.kvcd.net/forum/viewtopic.php?p=62533#62533

khusru 02-18-2004 10:39 AM

okay i havnt tried on my actual source yet, but dialhot can u tell me if this is alright, im just seeing if iv worked out the method

Example

If my source is 478*318
i need to reach the next values that are divisible by 16
so it becomes 480*320

480/16=30 320/16=20

so i just add this line just after avisource

Addborders(3,2,0,0)

Is this alright dialhot??

Dialhot 02-18-2004 10:54 AM

you surely did an error as 480-478 = 2 and not 3.
But except that, you are right.

Use "Addborders(2,2,0,0)" or better "Addborders(0,0,2,2)".

khusru 02-18-2004 11:58 AM

thanks mate, finally got the hang of it

one last question, whats the difference between these two lines in terms of quality

quote "Use "Addborders(2,2,0,0)" or better "Addborders(0,0,2,2)".

Dialhot 02-18-2004 12:05 PM

In theory (never had the time to test and won't have as I just lost a 160 GB HD that was almost full of waiting jobs to process :-() blindpp should works better with the second line.

What is sure is that there is no chance than first one is better than second, and a little chance that second one is a little better than first one. So make your choice :-)


All times are GMT -5. The time now is 09:08 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.