View Full Version : chromakey?
smok3
26th January 2006, 10:32
would it be possible to construct a proper chromakey using avisynth? (i have some greenscreen footage on DV - 25p)
if somebody has a 'DVchromakey' script handy and feels like sharing it that would be really nice ;)
Wilbert
26th January 2006, 11:09
Sure using ColorKeyMask: http://www.avisynth.org/Overlay
In v2.60 you can use Tweak for it, which will work a bit better I think.
smok3
30th January 2006, 16:16
should something like this work?
back = converttorgb32(directshowSource("lili-back.avi"))
front = converttorgb32(directshowSource("lili.avi"))
final = Overlay(back, front, mask=ColorKeyMask(front, $1AF00F, 0), mode="luma", opacity=100)
return (final)
well, it isn't...
------------------------------
also iam unable to even see the mask alone, like:
maska=ColorKeyMask(front, $1AF00F, 0)
return(maska)
isn't working as well.
any clues?
Wilbert
30th January 2006, 22:00
Try highering the tolerance a bit:
maska = ColorKeyMask(front, $1AF00F, 10)
return maska
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.