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. |
5th April 2002, 08:56 | #2 | Link |
Registered User
Join Date: Dec 2001
Posts: 36
|
Hi!
global VirtualDub_plugin_directory = "D:\" ################################ # Logoaway by Krzysztof Wojdon # ################################ function VD_LogoAway(clip clip, string "mode", int "x", int "y", int "width", \ int "height", int "keyframe", int "color") { LoadVirtualdubPlugin("D:\logoaway.vdf", "_VD_LogoAway") mode = default(mode, "xblur") mode = (mode=="xblur")?1:(mode=="yblur")?2:(mode=="xyblur")?3:(mode=="copy")?4: \ (mode=="avgborder")?5:(mode=="solid")?6:0 Assert(mode>0, "VD_LogoAway: mode must be one of: xblur yblur xyblur copy avgborder solid") return clip._VD_LogoAway(mode, default(x,300), default(y,8), default(width,14), \ default(height,12), default(keyframe,0), default(color,0)) } ---------------------------------------------------------------------- Sorry for this question but what is clip clip, and what is the value of this ? string "xblur" int "10" ---> x int "10" ----> y int "50"-----> weight int "50" -----> height int "0" -------> keyframe int "0" -------> color And than I put this sentence into my original AVS script Import("D:\vdub_filters.avs") Mfg Frankster |
5th April 2002, 14:59 | #3 | Link |
Registered User
Join Date: Dec 2001
Posts: 36
|
Hi!
I have it!!! I have some problems with "vdub_filters.avs", and so I use this ConvertToRGB() LoadVirtualdubPlugin("D:\logoaway.vdf", "L") L( 2, 2949155, 7209000, 0, 0, 5, 0, 66051, 0, 1, "", "") And it works :-) Now my question ;) Do I have to put into "ConvertToYUV2" at the end of the text ? Because the film is recorded as YUV2! My complete script! LoadPlugin("E:\Programme\-DVD PROGS-\mpeg2dec_dll\MPEG2DEC.dll") AviSource("E:\FILME\Greedy\GREEDY.avi") ConvertToRGB() LoadVirtualdubPlugin("D:\logoaway.vdf", "L") L( 2, 2949155, 7209000, 0, 0, 5, 0, 66051, 0, 1, "", "") ConvertToYUV2() ---------> ??????? BicubicResize(448,542,0,0.6,3,0,762,576) AddBorders(16,17,16,17) ResampleAudio(44100) |
5th April 2002, 15:28 | #4 | Link |
Registered User
Join Date: Oct 2001
Location: Brussels
Posts: 358
|
Nice, you make the questions and answers yourself
You don't have to put ConvertToYUY2 after the vdub filter (unless you use another filter that only supports YUY2 after it), but you can. I don't think it will make a noticeable speed difference in the end. If you're still wondering what "clip" is, it's the first argument of all avisynth filters, but it's often implicit: if not present, it uses the output of the last unassigned filter. Example: Crop(...) BilinearResize(...) is the same as: vid = Crop(...) BilinearResize(vid,...) "vid" is a variable of type clip. For more information, read the avisynth language tutorial at http://www.math.berkeley.edu/%7Ebenr...-tutorial.html
__________________
dividee |
9th April 2002, 09:40 | #6 | Link |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
@Frankster
" I have it!!! I have some problems with "vdub_filters.avs", and so I use this ..." What kind of problems? Is it the specific VD_Logaway filter? You are sure you got the latest version 1.1, because there were mistakes in the first one. |
|
|