digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Interesting Avisynth resizing thread at doom9.org (http://www.digitalfaq.com/archives/avisynth/8149-interesting-avisynth-resizing.html)

jorel 03-26-2004 07:22 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by jorel
something wrong in the script?
please, show the corrections!

A
HUGE problem !

You redefine the Hybrid function into your script so the original one is never used ! That is yours that is used, and this one does... NOTHING !

Why do you have this line ?
Code:

Function HybridFupp(clip input, int "width", int "height", int "E_Thr", int "ST_Str", int "SP_Str", int "sharp_x", \
int"sharp_y", int "M_Thr", int "M_SCD",int "Nresizer", int "Eresizer", bool "chroma", bool "dering", \
bool "special", int "special_Thr", string "preset", int "debug")
{
}

:?: :?: :?:

Note : preset "Hight" use Lanczosresize as resizer. You use that in common with asharp and level. Don't you find this "ants" you don't like in lanczos when you encode with that ?
I love lanczos but I found "Hight" preset too much. I rather use "medium".

because if i remove or use # in this lines i got in vdubmod or vdubmpeg2::

Avisynth open failure
cript error: there is no function named "MotionMask"
(Hibrv,line 127)
(Hybrv,line 100)
(Hybrv,line 88)
(D:\toystory1\1.D2V......."

:?
and now?

Dialhot 03-26-2004 07:26 AM

Quote:

Originally Posted by jorel
because if i remove or use # in this lines i got in vdubmod or vdubmpeg2::

Avisynth open failure
cript error: there is no function named "MotionMask"
(Hibrv,line 127)
(Hybrv,line 100)
(Hybrv,line 88)
(D:\toystory1\1.D2V......."

:rotf: You never used HybridFupp so !

Jorel, my pal, it's not the first script you do ! Come on ! When you have a such error that means that you miss a plugin :?

You have to install the correct version of MaskTools ! Look at into the tread, it is provided more than once !
See my first post on page 4 http://www.kvcd.net/forum/viewtopic....r=asc&start=48

jorel 03-26-2004 07:41 AM

yes Phil, i never used before,

:arrow: and don't post that i was used before!

i only download the Kwag's samples to compare, remember?
(i was busy with my kid and don't had time)

the FuPP's link to download masktools 1.4.9 (yesterday and today too)
don't work and i can't find another place!
i'm using the 146 version!
:cry:

this is one of the reasons that i posted:
"something wrong in the script?
please, show the corrections!"

:wink:

audioslave 03-26-2004 07:50 AM

@jorel
Try here my friend:
http://hea.port5.com/filters/masktools-v1.4.9.zip
Just uploaded the zip file to my website :wink:

jorel 03-26-2004 08:12 AM

audioslave.....thanks :!:
:)

now the script after some corrections:

Asharp(1,3)
Levels(0,1.04,255,0,255)

HybridFuPP(720, 480, Preset="medium", Chroma=False)

GripCrop(720,480,overscan=1,source_anamorphic=true ,dest_anamorphic=false)
BicubicResize(GripFit_resize_width,GripFit_resize_ height,0,0.6)

GripBorders()
ConvertToYUY2()
#trim(13000,14000)

more errors in the script?

please,correct!
:wink:

Abond 03-26-2004 08:19 AM

http://forum.doom9.org/showthread.ph...threadid=67232
The last version of MaskTools 1.4.15

jorel 03-26-2004 08:22 AM

Quote:

Originally Posted by Abond
http://forum.doom9.org/showthread.ph...threadid=67232
The last version of MaskTools 1.4.15

thanks Abond but i got:
"we all who" page file not found!
:?

<edited>
ok Abond!
was needed "right click-save as"..

thanks!
:D

Dialhot 03-26-2004 08:31 AM

Quote:

Originally Posted by jorel
more errors in the script?

I didn't understood that was your first try with FuPP. Your script seems correct.
Tell us about your results.

Abond 03-26-2004 08:36 AM

Mmm.. two times resizing, well, I don't know... I would not do this.

jorel 03-26-2004 08:40 AM

Quote:

Originally Posted by Abond
Mmm.. two times resizing, well, I don't know... I would not do this.

@ Phil
yes thanks i read your last post , but Abond found something wrong ....

@ Abond:
how can i use Gripresize with FuPP
:arrow: without loose the aspect radio and using overscan 1?
:?

Dialhot 03-26-2004 08:43 AM

Quote:

Originally Posted by jorel
how can i use Gripresize with FuPP
:arrow: without loose the aspect radio and using overscan 1?
:?

You can't, that's why I didn't tell anything even if I had noticed what abond said.
BTW you don't exactly do two resizing as with Hybrid you resize at the orginal resolution of your source. So that is a "blind" resize.

:arrow: note that your hybrid line will work on the black borders that are in the source :-(

You should proably drop the Gripcrop line, use Moviestacker, and give to Hybrid exact parameters needed to handle bot A/R and overscan.
That thing we already do when we don't use gripfit !

Abond 03-26-2004 08:46 AM

That is! :wink:
Edit: BTW I don't know what if one doesn't put some values for resizing in HybridFupp - does it pass the original resolution or throw an error?

jorel 03-26-2004 08:58 AM

right Phil, :wink:
please "check" again:

Asharp(1,3)
Levels(0,1.04,255,0,255)

HybridFuPP(704, 352, Preset="medium", Chroma=False)

AddBorders(8, 64, 8, 64)
ConvertToYUY2()
#trim(13000,14000)

seems ok for me,don't change the aspect radio and/or overscan or borders!

and....?
is ok?

@ Abond:
thanks too!
:wink:

Dialhot 03-26-2004 09:02 AM

Quote:

Originally Posted by jorel
right Phil, :wink:
please "check" again:

You need to crop the borders before working and then add them at the end :

Code:

Asharp(1,3)
Levels(0,1.04,255,0,255)
Crop(0,64,0,-64)
HybridFuPP(704, 352, Preset="medium", Chroma=False)
AddBorders(8, 64, 8, 64)


jorel 03-26-2004 09:07 AM

Phil:

Asharp(1,3)
Levels(0,1.04,255,0,255)
Crop(0,64,0,-64)
HybridFuPP(704, 352, Preset="medium", Chroma=False)
AddBorders(8, 64, 8, 64)

using Crop(0,64,0,-64) give "big egg head" and cup part of the image top/bottom.

8O

Abond 03-26-2004 09:24 AM

This is cause 64 is with the overscan, I believe. Now you should determine how big are the black borders in the source and to crop them in the crop line
Oops. I mean to put the correct parameters for the film pixels in MovieStacker

jorel 03-26-2004 09:25 AM

8O

no matter what value i use for crop,
i still loose part of the picture...even using

Crop(0,2,0,-2)

give me error!

maybe
Crop(0,0,0,-0)
:lol:

Abond 03-26-2004 09:30 AM

I am sorry, just now I realize your source is anamorphic - in this case you don't need to crop anything.

jorel 03-26-2004 09:35 AM

Quote:

Originally Posted by Abond
I am sorry, just now I realize your source is anamorphic - in this case you don't need to crop anything.

ok Abond !
i "detonate" the line with crop and seems right!

Asharp(1,3)
Levels(0,1.04,255,0,255)

HybridFuPP(704, 352, Preset="medium", Chroma=False)

AddBorders(8, 64, 8, 64)
ConvertToYUY2()
#trim(13000,14000)

seems everything ok now?
if yes,i re start the sample test !

:wink:

Abond 03-26-2004 09:37 AM

Seems ok. Ready! Start! :D


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

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