Please, any newbie might be able to help, i'm dying here

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Please, any newbie might be able to help, i'm dying here

Postby raiseer » Sat May 09, 2009 4:59 pm

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...
User avatar
raiseer
 
Joined: 08 May 2009
Location: Germany

Re: Please, any newbie might be able to help, i'm dying here

Postby Zarxrax » Sat May 09, 2009 5:26 pm

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.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: Please, any newbie might be able to help, i'm dying here

Postby raiseer » Sat May 09, 2009 5:54 pm

oh. seriously? ok than thanks. no wonder i did not find anything.
User avatar
raiseer
 
Joined: 08 May 2009
Location: Germany

Re: Please, any newbie might be able to help, i'm dying here

Postby mirkosp » Sat May 09, 2009 6:41 pm

Zarxrax wrote:You aren't finding stuff like 'for' or 'while' because they dont exist in avisynth.

Alan you shouldn't say something doesn't exist just 'cause you don't know about it. :P
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
Image
User avatar
mirkosp
MODkip
 
Joined: 24 Apr 2006
Location: Gallarate (VA), Italy
Status: (」・ワ・)」(⊃・ワ・)⊃

Re: Please, any newbie might be able to help, i'm dying here

Postby raiseer » Sun May 10, 2009 2:10 am

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
User avatar
raiseer
 
Joined: 08 May 2009
Location: Germany

Re: Please, any newbie might be able to help, i'm dying here

Postby raiseer » Sun May 10, 2009 4:35 am

ok, i found conditionalreader - so i'm good here :)
thread can be closed for that matter
User avatar
raiseer
 
Joined: 08 May 2009
Location: Germany


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 0 guests