Hi!
The following might seem stupid to you, but I'm beginning to pull out my hair by now:
Where the hell can I find the basic commands for avisynth? I read dozens of faqs and introductions and forums and whatever.
But I can NOWHERE find just the most basic basics like how to use common commands like "for", "while", "repeat" or whatever.
It's so frustrating.
PLEASE help me - whether it might be that i'm completely stupid or if there really is a lack of groundinformation on the internet regarding this stuff.
I'm really dying here...
Please, any newbie might be able to help, i'm dying here
- raiseer
- Joined: Fri May 08, 2009 9:01 am
- Location: Germany
- Contact:
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Re: Please, any newbie might be able to help, i'm dying here
The basic commands are found in the avisynth documentation. Under start menu > avisynth 2.5 > avisynth documentation.
You aren't finding stuff like 'for' or 'while' because they dont exist in avisynth.
You aren't finding stuff like 'for' or 'while' because they dont exist in avisynth.
Sammie-Roto - Free rotoscoping tool
- raiseer
- Joined: Fri May 08, 2009 9:01 am
- Location: Germany
- Contact:
Re: Please, any newbie might be able to help, i'm dying here
oh. seriously? ok than thanks. no wonder i did not find anything.
- mirkosp
- The Absolute Mudman
- Joined: Mon Apr 24, 2006 6:24 am
- Status: (」・ワ・)」(⊃・ワ・)⊃
- Location: Gallarate (VA), Italy
- Contact:
Re: Please, any newbie might be able to help, i'm dying here
Alan you shouldn't say something doesn't exist just 'cause you don't know about it.Zarxrax wrote:You aren't finding stuff like 'for' or 'while' because they dont exist in avisynth.
The if and the for are available. As for the while, it's still on a "TODO" status.
Here, have a read: http://avisynth.org/mediawiki/Block_statements
- raiseer
- Joined: Fri May 08, 2009 9:01 am
- Location: Germany
- Contact:
Re: Please, any newbie might be able to help, i'm dying here
thank you very much!
the thing is: I want to alter filter-parameters for different frames.
for example: to merge a clip into another while I want the opacity of the overlay to change based on a given pattern, e.g. alternating between clip-priority.
or in pascal-like tongue:
var opacity:real;
for i := 0 to framecount-1 do
begin
setopacity(opacity,i)
merge(clip1[frame i],clip2[frame i],opacity)
end;
//where "setopacity" is a function to change the opacity based on the assigned framenumber
i couldn't imagine a nice way to do this without for, that's why i asked. but i'm realy new in avisynth so i might miss a much more easy way perhaps.
so if anyone wants to laugh at me and show me how a real avisynth-coder would do that, please go ahead.
until then i'll try the for-command mirkosp linked me to. thanks again,
raiseer
the thing is: I want to alter filter-parameters for different frames.
for example: to merge a clip into another while I want the opacity of the overlay to change based on a given pattern, e.g. alternating between clip-priority.
or in pascal-like tongue:
var opacity:real;
for i := 0 to framecount-1 do
begin
setopacity(opacity,i)
merge(clip1[frame i],clip2[frame i],opacity)
end;
//where "setopacity" is a function to change the opacity based on the assigned framenumber
i couldn't imagine a nice way to do this without for, that's why i asked. but i'm realy new in avisynth so i might miss a much more easy way perhaps.
so if anyone wants to laugh at me and show me how a real avisynth-coder would do that, please go ahead.
until then i'll try the for-command mirkosp linked me to. thanks again,
raiseer
- raiseer
- Joined: Fri May 08, 2009 9:01 am
- Location: Germany
- Contact:
Re: Please, any newbie might be able to help, i'm dying here
ok, i found conditionalreader - so i'm good here :)
thread can be closed for that matter
thread can be closed for that matter
