Log in

View Full Version : avs and vdub


densetsu86
26th September 2006, 22:12
well i need the internal filter logo cause of my logo im using is actually two files, the logo and then alpha. xlogo doesn't support this and it can't open up the .bmp. and when i have the vdub filter import script but that thing is servely outdated. the v15 hold the logo filter for 1.34b and that logo dosen't support the alpha image. it seem that 1.7b2 does but that is not in the latest vdub filter import script. and i tried the frame serv option of vdub, but thats not working either. i wuold rather use megui. so my question is how do i get avs to use that logo filter? i need that logo for my encode it has to be used.

vdubs internal logo filter features
heres what the internal functions are and i need them
-load logo.bmp
-checked enabledper-pixel alpha blending using alpha channel
-uncheck use premultiplied alpha
-check use gray channel of secondary image for alpha channel
-load alpha.bmp
-opacity 40%
-justification tr

i need that logo filter cause of those features in it. does avs have anything like that cause xlogo doesn't or do you have to use it twice once i get the pic to work. or is there a way for me to get avs to get that vdub filter. its an internal filter so it is not in the plugins folder. or is there a way to load up the 1.7b2 that supposedly has this feature.

if you can help that would be great

foxyshadis
26th September 2006, 22:28
If you can point to this filter's source code, it's quick and simple to make an avs wrapper. If not, it's only a little harder, just takes some testing in virtualdub.

Guest
26th September 2006, 22:35
If you can point to this filter's source code, it's quick and simple to make an avs wrapper. If not, it's only a little harder, just takes some testing in virtualdub. It has to be an external VirtualDub filter to be loadable in Avisynth. The OP refers to the internal Logo filter judging by the parameters listed. It's not very hard to make an external version but it's hard-core C++ programming, not scripting.

The reference to 1.7b2 is to my external Logo filter, but that is not the same as the internal Logo filter.

IanB
28th September 2006, 09:19
Overlay and Layer can both do what you want.

densetsu86
29th September 2006, 04:22
ok overlay, and layer don't work with bitmap what do they use, im not using a video as a logo. xlogo keeps on giving me check interpolation bit map from (1,44) going down.
what bit depth do these take my bitmaps are 32 bit depth.

IanB
29th September 2006, 06:15
Come on, you want me to write it all for you.

Use ImageSource() to read the bitmaps, set the number of frames equal to the master clip, use pixel_type="RGB32" if you need to load the alpha channel from the bitmap (default is rgb24).

Overlay has a seperate clip for the mask (alpha) channel, use ShowAlpha() to extract it.

Layer can use the alpha from a RGB32 clip.

Don't be shy, throw a script together and see what happens. Have a good look around avisynth.org for documentation, samples and hints.

densetsu86
1st October 2006, 23:18
ok i just deleted my post because i found a way to get them to work. but i have a weird problem its say my images dimensions do not match.
i used a 24 bit map with a 24 bit map.converttorgb32 both have 118x46.

so what the hell is this thing talking about