Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th April 2015, 14:19   #101  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,079
Quote:
Originally Posted by kotuwa View Post
What is the difference between putting two functions in two lines vs in one line with a period/dot (.)
!?
.....
Performance-wise differences,
And differences in Qulaity and Lossyness...
There should be no difference. It's just 2 different ways of achieving the same thing.
Reel.Deel is offline   Reply With Quote
Old 12th April 2015, 16:26   #102  |  Link
creaothceann
Registered User
 
Join Date: Jul 2010
Location: Germany
Posts: 351
The first version is the short form of

Code:
last = Crop(last, 0, 10, 0, -10)
last = Spline64Resize(last, 1280, 720)
...and the second version is the short form of

Code:
last = Spline64Resize(Crop(last, 0, 10, 0, -10), 1280, 720)
The difference is that in the second version, the implied (hidden) variable "last" is not modified between the lines. Consider this example:

Code:
Version
PointResize(Width * 2, Height * 2)
PointResize(Width / 2, Height / 2)
Result_1 = last

Version
PointResize(Width * 2, Height * 2).PointResize(Width / 2, Height / 2)
Result_2 = last
Clip "Result_1" will have the same content as the result of "Version", but clip "Result_2" will be half the size of "Version" because "Width" and "Height" refer to clip "last" when not prefixed with a clip variable name.

Expanded to its full form the example looks like this:

Code:
a = Version
b = PointResize(a, a.Width * 2, a.Height * 2)
c = PointResize(b, b.Width / 2, b.Height / 2)
Result_1 = c

d = Version
e = PointResize(PointResize(d, d.Width * 2, d.Height * 2), d.Width / 2, d.Height / 2)
Result_2 = e
Btw. an easy way to add a blur effect would be this:

Code:
BilinearResize(int(Width * 0.75), int(Height * 0.75)).BilinearResize(Width, Height)

Last edited by creaothceann; 12th April 2015 at 16:41.
creaothceann is offline   Reply With Quote
Old 16th October 2017, 21:30   #103  |  Link
ale_x
Registered User
 
Join Date: Jan 2012
Posts: 18
Hi.

I used this function recently

ExtractU().dither_resize16()

But I got an error "there is no function named ExtractU"

by the way, I'm using Avynth + .

Thanx =)
ale_x is offline   Reply With Quote
Old 16th October 2017, 21:52   #104  |  Link
Groucho2004
 
Join Date: Mar 2006
Posts: 3,545
Quote:
Originally Posted by ale_x View Post
But I got an error "there is no function named ExtractU"
You're probably using an older version of AVS+ that does not have that function. Update to the latest version (r2508).
Groucho2004 is offline   Reply With Quote
Old 17th October 2017, 10:40   #105  |  Link
ale_x
Registered User
 
Join Date: Jan 2012
Posts: 18
Quote:
Originally Posted by Groucho2004 View Post
You're probably using an older version of AVS+ that does not have that function. Update to the latest version (r2508).
Thank u very much =).
ale_x is offline   Reply With Quote
Old 17th October 2017, 15:13   #106  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 846
I think last posts should move to https://forum.doom9.org/showthread.php?t=174120
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Reply

Tags
avisynth, faq

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.