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 05:29 PM

FuPP, thanks!
:D

i'm changing to

GripCrop(720,480,overscan=1,source_anamorphic=true ,dest_anamorphic=false)

ok?
my source and target are ntsc and the tests for KDVD !
the remainder lines are the same.

:wink:

Dialhot 03-26-2004 05:46 PM

Jorel, you should trust me and do your KDVD in anamorphic.
I know you don't have the money to buy a widescreen TV but... in 5 years ell TV set sold will be widescreen. Taht means that in 10 years, you will have one.

And this day, you will be very sad with all your 4:3 KDVD.

Moreover a lot of 4:3 TV are anamorphic compatible. And the picture is far better than with a 4:3 letterboxed one.
How is yours ?

jorel 03-26-2004 06:03 PM

results using toy story 1
2000 frames = 01:23.45

Asharp(1,3)
Levels(0,1.04,255,0,255)
GripCrop(720,480,overscan=1,source_anamorphic=true ,dest_anamorphic=false)
HybridFuPP(preset="medium",width = GripFit_resize_width, height = GripFit_resize_height)
GripBorders()
ConvertToYUY2()
trim(13000,15000)

time to encode---> 04:28 ----> champ
size---> 17,4Mb = 17818Kb

and:

undot()
Limiter()
asharp(1, 4)
Levels(0,1.04,255,0,255)
GripCrop(720,480,overscan=1,source_anamorphic=true ,dest_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
GripBorders()
Limiter()
function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
ConvertToYUY2()
trim(13000,15000)

Time to encode---> 09:01
size---> 16,3Mb = 16716Kb ---> champ

differences:
despicable, very tiny or nothing...very hard to see!

:arrow: ilustrations (not real):
FuPP script is 1% sharp
Kwag script is 1% better red.

was used:
Asharp(1,3) in the FuPP script
asharp(1, 4) in the Kwag script
and the same
Levels(0,1.04,255,0,255)
in the scripts only to encrease details !

FuPP script is faster!
Kwag script give more compression!
general quality:
AMAZING in all results!
8)

jorel 03-26-2004 06:11 PM

Quote:

Originally Posted by Dialhot
Jorel, you should trust me and do your KDVD in anamorphic.
I know you don't have the money to buy a widescreen TV but... in 5 years ell TV set sold will be widescreen. Taht means that in 10 years, you will have one.

And this day, you will be very sad with all your 4:3 KDVD.

Moreover a lot of 4:3 TV are anamorphic compatible. And the picture is far better than with a 4:3 letterboxed one.
How is yours ?

oh yes Phil,
i will follow your recomendations but see (using my original dvds)

toy story 1 is 16:9, (black bars top/bottom)
toy story 2 is 4:3 (full screen)
bugs life is 4:3 too.
i want to do 1 KDVD with this 3 cartoons!

just post the "resize" parameters for each, and i use !
please!
:wink:

.....10 years is too long time!
:cry:

kwag 03-26-2004 06:12 PM

Hi jorel,

For the resolution you're using, and if your source is a clean DVD (which probably is!), remove the line:
STMedianFilter(3, 3, 1, 1 )
That will give you a boost in speed, without any visual difference. File size should still be about the same as without the line.

-kwag

FuPP 03-26-2004 06:15 PM

a few remarks :

1/ HybridFuPP does already oversharpening, asharp is therefore not needed. If you want to sharp even more, use E_Str_X and E_Str_Y parameters, ortherwise let defaults.

2/ I think I would have put levels after filtering

3/ Did you use the latest alpha I sent to you, 0.861 ?

4/ I'm quiet surprised by speed results : I thought I had read somewhere on this forum that MA was faster :?:

FuPP

bigggt 03-26-2004 06:35 PM

ABout the resizing i thought you were just supposed to use something like this

LanczosResize(496, 334, 4, 0, 712, 480 :arrow: From moviestacker

Crop(4, 0, 712, 480 )
HybridFuPP(496, 334, Preset="High", Chroma=False)

Is this not OK anymore

@ Fupp

I am no where near the intelligence of most people here but this is the script i'm using (this is taking directly from a post by Audioslave,thanks buddy :D )

Code:

Mpeg2Source("D:\DVD Rip\Pitch Black\Pitch Black.d2v")
#LanczosResize(448, 256, 6, 58, 712, 362)
Crop(6, 58, 712, 362)
HybridFuPP(448, 256, Preset="High", Chroma=False)
AddBorders(16, 112, 16, 112)


Is there anything i should change because i see you told Jorel not to use Chroma=False.Remember i don't know alot i just want the best encode i can get :D

No posts in this thread for days and i get home from work and there are 3 new pages

Thanx

jorel 03-26-2004 06:36 PM

Quote:

Originally Posted by kwag
Hi jorel,

For the resolution you're using, and if your source is a clean DVD (which probably is!), remove the line:
STMedianFilter(3, 3, 1, 1 )
That will give you a boost in speed, without any visual difference. File size should still be about the same as without the line.

-kwag

#STMedianFilter(3, 3, 1, 1 )
time to encode---> 03:22 ---> champ
size ---> 16,4Mb = 16837Kb ---> champ

8O champ!

differences/quality
colors are the same, FuPP script is 1% sharp like ilustrations!

FuPP wrote:
"Did you use the latest alpha I sent to you, 0.861 ? "
no, was used the 084b!
where is the 0.861 ?
:?

MA faster ?
removing
STMedianFilter(3, 3, 1, 1 )
is faster and short!
:wink:

kwag 03-26-2004 06:42 PM

Quote:

Originally Posted by jorel
#STMedianFilter(3, 3, 1, 1 )
time to encode---> 03:22 ---> champ
size ---> 16,4Mb = 16837Kb ---> champ

8O champ!

Now we're talking ;)

-kwag

FuPP 03-26-2004 06:45 PM

@ Jorel

should be in your private box :wink:

@bigggt

HybridFuPP doesn't need a resizer prior to it. No need of lanczos...
Code:

Crop(6, 58, 712, 362)
HybridFuPP(448, 256, Preset="High", Chroma=False)
AddBorders(16, 112, 16, 112)

is ok.

if your version is (unofficial) 0.85, I suggest you to put chroma=true.

FuPP

Dialhot 03-26-2004 06:46 PM

It's really hard to believe Hybrid is so fast 8O

Jorel, if you include the Gripcrop trick that FuPP has describe you can do all your movies withotu having to bother yourself with resize parameters : theyt will be computed automatically for each movie.

kwag 03-26-2004 07:04 PM

Quote:

Originally Posted by Dialhot
It's really hard to believe Hybrid is so fast 8O

:driveby: :driveby: :driveby:
Speed test. Speed test. Speed test. :lol:

-kwag

bigggt 03-26-2004 07:07 PM

Thanx Fupp


So this is better then since i'm using 85a

Code:

Mpeg2Source("D:\DVD Rip\Pitch Black\Pitch Black.d2v")
HybridFuPP(448, 256, Preset="High", Chroma=True)
AddBorders(16, 112, 16, 112)

@ Jorel

are you using exact same settings in Tmpenc for both scripts(ie-high quality and motionestimate)

just want to try some tests

jorel 03-26-2004 07:12 PM

right FuPP,
i got the 0.861 version ( ~5,37Kb size)
thanks!

time to encode ---> 04:03
size ---> 16,9Mb = 17357Kb

quality ?
the same like ilustrations!
:wink:

@ Kwag:
i forgot to confirm:
yes, my dvds are (Disney) originals, very clean and new!
:)

@ Phil:
where is my "resizes" for my 3 movies posted?
i will follow your recomendations!
:wink:

FuPP 03-26-2004 07:15 PM

@Bigggt

8)

@kwag

FuPP is a slow brain. His scripts are therefore not intended to be the fastest ones...

FuPP 03-26-2004 07:19 PM

@jorel

did you finally remove asharp ?
what do you mean by "the same like ilustrations! "

jorel 03-26-2004 07:20 PM

Quote:

Originally Posted by FuPP
@Bigggt

8)

@kwag

FuPP is a slow brain. His scripts are therefore not intended to be the fastest ones...

@ FuPP:
:arrow: ilustrations (not real):
FuPP script is 1% sharp
Kwag script is 1% better red.

@ all
i can say :
very cool too!

Kwag and FuPP scripts are
8)
never see this quality before!!!


@ Phil
Phil,i read your post but have doubts,please explain again!
(never forget, i'm stup with horrible english)
:oops:

kwag 03-26-2004 07:25 PM

Quote:

Originally Posted by FuPP
@kwag

FuPP is a slow brain. His scripts are therefore not intended to be the fastest ones...

Ok :)
In the end, quality is what matters.
But hopfully not as slow as waiting for the social security retirement checks :lol:

-kwag

FuPP 03-26-2004 07:26 PM

:wink:

@jorel : I'm not sure you've seen my previous post...

Dialhot 03-26-2004 07:27 PM

Quote:

Originally Posted by jorel
@ Phil:
where is my "resizes" for my 3 movies posted?
i will follow your recomendations!
:wink:

You don't want to use Gricrop so ?

audioslave 03-26-2004 07:30 PM

@FuPP
Any chance of getting to see the new script you sent to jorel :?: :roll:

FuPP 03-26-2004 07:33 PM

Have you money ?

audioslave 03-26-2004 07:34 PM

:mrgreen:
Not at the moment... :lol:

FuPP 03-26-2004 07:35 PM

Quote:

Originally Posted by audioslave
@FuPP
Any chance of getting to see the new script you sent to jorel :?: :roll:

Not at the moment... :)

audioslave 03-26-2004 07:36 PM

8) :lol:

Dialhot 03-26-2004 07:41 PM

Quote:

Originally Posted by jorel
@ Phil
Phil,i read your post but have doubts,please explain again!
(never forget, i'm stup with horrible english)
:oops:

Simple : if you use the script with the Gricopline you told above you can use the exact same script for every movies ! You do not need to change the resizing parameters as GripCrop computes them automatically.

Just change "dest_anamorphic=false" to "dest_anamorphic=true" in order to do anamorphic KDVD.

FuPP 03-26-2004 07:43 PM

@audioslave

I have to work (once more) on the doc, that nobody will never read :wink: , as some things have changed a little bit...

Btw, I'm not sure having too many public versions is a good thing (I can see here some people using 0.855a, which is abnormal : I probably published it by error, ie forgetting to change its name, on my web site...). 0.855, is not good at all (quality I mean, but compressibility is probably very good :wink: )

FuPP

jorel 03-26-2004 07:44 PM

Quote:

Originally Posted by FuPP
:wink:

@jorel : I'm not sure you've seen my previous post...

oh yes,.....
see the results without
asharp(1,3)

time to encode --->03:55
size ---> 16,1Mb = 16548Kb --->champ

:arrow: ilustrations (not real):
Kwag script is 1% better red and 2% more sharp and faster.
FuPP script have short size!

:wink:

jorel 03-26-2004 07:45 PM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by jorel
@ Phil:
where is my "resizes" for my 3 movies posted?
i will follow your recomendations!
:wink:

You don't want to use Gricrop so ?

your choice my friend, i will do tests and post!
:D

FuPP 03-26-2004 07:47 PM

sorry Jorel, but I don't get you when you talk about

Quote:

ilustrations (not real):
Kwag script is 1% better red and 2% more sharp and faster.
FuPP script have short size!

jorel 03-26-2004 07:57 PM

Quote:

Originally Posted by FuPP
sorry Jorel, but I don't get you when you talk about

Quote:

ilustrations (not real):
Kwag script is 1% better red and 2% more sharp and faster.
FuPP script have short size!

let me say:
tiny,very very short, maybe have differences,,seems different...

you don't get what i'm talking about?
yes,you got the feeling.

i can feel but can't explain.....means = seems different,nothing so important!
:wink:

@ Kwag, FuPP and all:
again i write and i'm honest:
never see this quality before,!
the 2 scripts are CHAMP !
8)

FuPP 03-26-2004 08:06 PM

no problem Jorge !

I only need to understand what you mean by "script is 1% better red" for instance !

About sharpness, if you still have a few time, you can also try with E_Str_X=20, E_Str_Y=20 (or 30/30 if needed)

FuPP

jorel 03-26-2004 08:17 PM

Quote:

Originally Posted by FuPP
no problem Jorge !

I only need to understand what you mean by "script is 1% better red" for instance !

About sharpness, if you still have a few time, you can also try with E_Str_X=20, E_Str_Y=20 (or 30/30 if needed)

FuPP

"script is 1% better red" means :
i work with tvs for long time ( + 30 years), and for me (my eyes),
when the image have more sharpness, the red encrease too.
the "spectrum" of red color is "too short"....
little differences in the sharpness, change a little the red matiz too !

yeah FuPP, i have time!

but i don't know how do this adjusts?!?!?
please,post here!
:)

FuPP 03-26-2004 08:49 PM

Code:

HybridFuPP(preset="medium",width = GripFit_resize_width, height = GripFit_resize_height, E_Str_X= 20, E_Str_Y= 20)

jorel 03-26-2004 09:17 PM

Quote:

Originally Posted by FuPP
Code:

HybridFuPP(preset="medium",width = GripFit_resize_width, height = GripFit_resize_height, E_Str_X= 20, E_Str_Y= 20)

ok FuPP,
without asharp (of course)

time to encode ---> 03:53
size ---> 16,2Mb = 16627Kb ---> champ

quality:
exact the same as Kwag script, nothing different :!:
Kwag script still faster without STMedianFilter(3, 3, 1, 1 ).
FuPP script have short size.

8)

FuPP 03-26-2004 09:21 PM

Now we're talking :wink:

FuPP 03-26-2004 09:24 PM

More seriously, what kind of stuff was it : still scenes, action, dark/light scenes ?

HybridFuPP is particularly good when encoding black screens with a lot of motion (though it does it slowly...) :lol:

jorel 03-26-2004 09:40 PM

Quote:

Originally Posted by FuPP
More seriously, what kind of stuff was it : still scenes, action, dark/light scenes ?

HybridFuPP is particulary good when encoding black screens with a lot of motion (though it does it slowly...) :lol:

is from toy story 1 trim(13000,15000).

if you have the cartoon you will see the same.

let me show some details:
the soldiers are jumping from the bucket,
after have a big dark scene (the closed door is opening),
they are taking a "walkie talkie" (still dark),
the soldiers jumping with parachutes and with a "wrape"
woody is on the radio,the Andy mom open the door.,
the soldiers "freeze" and Andy mom foot the soldiers,,
potato and woody are talking,...

hey this is an ilegal download of the movie,don't?

:lol:

FuPP 03-26-2004 09:45 PM

Quote:

Originally Posted by jorel
hey this is an ilegal download of the movie,don't?

:lol:

For sure !!! And a very good compressibility ratio too ! No need of all that scripts Jorge !

:lol:

FuPP

Peter1234 03-26-2004 09:53 PM

FuPP,
The following script lines

GripCrop(352,480,overscan=1,source_anamorphic=true ,dest_anamorphic=false)
HybridFuPP(E_Str_X=30,E_Str_Y=30,preset="medium",w idth = GripFit_resize_width, height = GripFit_resize_height)
GripBorders()

produce intermitant white lines along the right side of output frame about two pixels wide. I am using HybridFuPP 0.854a. Encoding to KDVD with TMPGEnc. I suspect this is GripFit related problem because the white lines are not there if I replace the above script lines with

HybridFuPP(352,480,E_Str_X=30,E_Str_Y=30,preset="m edium")


All times are GMT -5. The time now is 05:58 PM  —  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.