digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Interesting ASharp phenomenon... (http://www.digitalfaq.com/archives/avisynth/6269-avisynth-interesting-asharp.html)

audioslave 10-22-2003 06:43 PM

Interesting ASharp phenomenon...
 
I tried a few different scripts and took screenshots to see the difference between them. I made an interesting discovery regarding ASharp. You can see for yourself, here:

With ASharp
http://www.digitalfaq.com/archives/error.gif

Without ASharp
http://www.digitalfaq.com/archives/error.gif

Amazing how much of the image "disappears" when NOT using ASharp. Almost as if the image is vertically stretched. Look at the bottom of the images to see what I mean... Is this a known fact coz I never heard of it before?

This is the script I used:
Quote:

nf=0

MPEG2Source("D:/Rippat/Reloaded/The Matrix Reloaded.d2v")

UnDot()
ASharp(1, 4)
GripCrop(480, 576, overscan=2, source_anamorphic=true)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0)
MergeChroma(blur(1.50))
MergeLuma(blur(0.1))

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
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)")

DCTFilter(1, 1, 1, 1, 1, 1, 0.5, 0)
GripBorders()

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}
And then I deleted the ASharp line for the other screenshot...

jorel 10-22-2003 06:54 PM

i can't get the images,i only see a word wrote:

"image"...not the link!

:?

audioslave 10-22-2003 07:05 PM

Well you should see the images, not the address. Try loading the page again, please. It should be fixed now... :oops: I hope. I can see them. :wink:

jorel 10-22-2003 07:43 PM

:?
really strange audioslave
with opera i got the word "image",
with IE i got a "x" without any image...
(right click and "show image" don't work too)
what type of image is posted? (bmp,jpg...?)
:?

edited>
is jpg28x30(proprieties)but can't show!
http://www20.brinkster.com/dogpoundonline/ASharp.jpg
http://www20.brinkster.com/dogpoundonline/No-ASharp.jpg

:?

jorel 10-22-2003 07:49 PM

:wink:
now i got...
copy the links to IE (new page foe each image)!

jorel 10-22-2003 07:54 PM

oh yes i see the differences but i did the same here with and without asharp
and don't got this problems.
try without "GripCrop"...one time i have some problems like this too,
is posted somewhere here!
:wink:

audioslave 10-22-2003 08:14 PM

I just tried the script with a simple BicubicResize() line. And with that line in the script it is even worse! Because you lose pixels from the sides too as well as on the top and bottom. Strange indeed!

muhali3 10-22-2003 09:52 PM

i don't know about you other guys, but it still can't see the pictures

jorel 10-22-2003 11:37 PM

@ muhali3
open 2 pages with IE, one page for each link:
http://www20.brinkster.com/dogpoundonline/ASharp.jpg
http://www20.brinkster.com/dogpoundonline/No-ASharp.jpg
:) you will see the images!

@ audioslave
i did 4 pictures...

2 with gripcrop:
with and without asharp have differences like you posted!
8O

but the
2 with bicubicresize:
with and without asharp
:arrow: don't have any difference :!:
8O 8O

like i wrote is a little gripcrop "problem" !

:arrow: and the worse:
with gripcrop you loose "some" image in the top/botton
(part of the scene) no matter if you're using asharp!
yes, the image, not the "size" :!:
the image "encrease" from the center to the top and to the botton,
loosing little parts in the top and botton!
seems a "buble" from the center to top/botton
that change the linearity of height!
8O 8O

hey, you have "eagle eyes" too :!:
:lol:

EightBall 10-23-2003 02:10 AM

Quote:

Originally Posted by muhali3
i don't know about you other guys, but it still can't see the pictures


:?: :?:

They are there in his post. I see them. Wonder whats causing the problem for some and not others? hmmm

incredible 10-23-2003 04:36 AM

Audioslave, ...I posted your images to my Lycos free account so there will be no problem for anyone by viewing them in diff. browsers:

Audioslaves script using Asharp
http://www.digitalfaq.com/archives/error.gif

Audioslaves script using no Asharp
http://www.digitalfaq.com/archives/error.gif

I loaded the two pictures in one Photoshop Layer PSD, as I every time do it like this when comparing different filter settings in my scripts etc. ;-)

Well I don't know the reason, but personally I do really prefer not to use GripFit in all my encodings. I choose FitCD or in Moviestacker the option "use Gripfit" unchecked. Cause I want to know what happens when resizing.

Using Gripfit in scripts to show here in the forum is more comfortable cause of just adding the width and the height by the readers.

Maybe SansGrip knows a solution to this ... or why GripFit behaves like this when performing an asharp before?!

audioslave 10-23-2003 05:27 AM

Thankx for helping me out with the pictures, incredible! :D Now even I can't see the pictures! :? Hmmm...
Yes, jorel, guess it's better to use the resizing lines from MovieStacker instead. (Eagle eyes :!: :wink: )

bman 10-23-2003 06:36 AM

It's always better to control process by yourself than trust at blind way in some even very sophisticated machine code :wink: :wink: :wink:
bman


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