logo Sign In

Post #290922

Author
PaulisDead2221
Parent topic
Star Wars - The Vintage Edit (* unfinished project *)
Link to post in topic
https://originaltrilogy.com/post/id/290922/action/topic#290922
Date created
21-Jun-2007, 8:13 AM
Originally posted by: pittrek
Well, the method I've mentioned makes exactly what I have written, simply takes the GOUT video as the base layer, and puts over this layer the same video from the 2004 release with black being transparent. That's why the code doesn't work.
Both Layer and ColorKeyMask expect a clip as their parameter, and not an avs script, so you should have it ALL in one script, and you should start it with for example

GOUT = mpeg2source("path_to_GOUT_clip.d2v")
SE = mpeg2source("path_to_SE_clip.d2v")

GOUT = GOUT.Trim(..., ...) #the start and end frames if you want to do it only with one scene
SE = SE.Trim(... , ...) #the same

GOUT = Crop(... , ... , ... , ...).Lanczos4Resize(720, ...) # crop it and resize, the numbers are depending on the format you're using (NTSC / PAL)

#and later use
Layer(GOUT, ColorKeyMask(SE, $000000, 10), "add", 255, 0, 0)



That's one method. If you don't wanna do it this way, tellan wrote a couple of month ago a different method on chroma keying in his "Lancer project" thread. Maybe it's worth reading.


Tellan's actually what gave me the idea, and it was he that said that it probably could be done in avisynth, he just used his editing program.

Oh Jesus I'm retarded, d2v files. Ha ha. Well I finally got it working and I don't think I'm getting anything out of it. I can't get the tolerance and saturation intensity and all that balanced so that the shots work. There simply aren't enough stars in that shot in the 2004 footage to be gained without other elements beginning to glow and bleed outside the matte lines on the top layer. I'm still working on it.