09-10-2003, 04:54 AM
|
Free Member
|
|
Join Date: Jan 2003
Location: Greensboro, NC
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
My latest script for speed and quality
Code:
[AVISYNTH_STM_BilinearResize]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=Undot()
2=Asharp(1, 4)
3=STMedianFilter(^S_FilterThreshHold, ^S_EdgeThreshHold, 0, 0 )
4=MergeChroma(blur(^blur_chroma))
5=MergeLuma(blur(^blur_luma))
6=Temporalsoften(2,3,3,mode=2,scenechange=6)
7=AddBorders(0,^BorderTop,0,^BorderBottom)
^S_FilterThreshHold=8
^S_EdgeThreshHold=32
^blur_chroma=1.50
^blur_luma=0.1
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
09-10-2003, 06:20 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I do not like at all bilinear as I found a lot of aliasing effect on curves with it. This point appart, your script looks correct.
Perhaps it misses the usage of gripcrop in order to have the possibility of adding an overscan border.
Note: bluring can go up to 1.58, not 1.50. You can win a little more space
|
09-10-2003, 06:44 AM
|
Free Member
|
|
Join Date: Jan 2003
Location: Greensboro, NC
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'll give bicubic a try. I thought I read that bilinear was better for reducing the image size?
|
09-10-2003, 06:45 AM
|
Free Member
|
|
Join Date: Jan 2003
Location: Greensboro, NC
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
When I ran a test clip, I found my new script gave more compression that the MA script.
|
09-10-2003, 07:07 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by telemike
When I ran a test clip, I found my new script gave more compression that the MA script.
|
I have that with almost all my static scripts.
MA script is the best for visual results, not for space gain.
|
09-10-2003, 07:19 AM
|
Free Member
|
|
Join Date: Jan 2003
Location: Greensboro, NC
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Updated to bicubic:
Code:
[AVISYNTH_STM_BicubicResize]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=Undot()
2=Asharp(1, 4)
3=STMedianFilter(^S_FilterThreshHold, ^S_EdgeThreshHold, 0, 0 )
4=MergeChroma(blur(^blur_chroma))
5=MergeLuma(blur(^blur_luma))
6=Temporalsoften(2,3,3,mode=2,scenechange=6)
7=AddBorders(0,^BorderTop,0,^BorderBottom)
^S_FilterThreshHold=8
^S_EdgeThreshHold=32
^blur_chroma=1.58
^blur_luma=0.1
^b_value=0.0
^c_value=0.6
|
All times are GMT -5. The time now is 05:10 PM — vBulletin © Jelsoft Enterprises Ltd
|