Encode alpha channel!

A

ale_x

Guest
Hey guys!

I tried to encode alpha video with ass file just for testing .like AFX users doing. but I didn't get the result that I want :(

this is my code for encoding alpha video with text FX

Code:
Import("C:\Users\alex\Desktop\Tcax_Python\tcax\movlay.avsi")
Import("C:\Users\alex\Desktop\Tcax_Python\tcax\OP_FX.avs") # - || Import text file Fxs || - #
V= BlankClip(length = 2109, width = 1280, height = 720, fps = 23.976, pixel_type="RGB32")

FXMove(v,0).converttoRGB32()​

after that I use Overlay function to blend the alpha video (Text Fx) with other video


Code:
V = avisource("C:\Users\alex\Desktop\New folder (2)\hyo_v.avi",Pixel_Type = "RGB32")
textFX = avisource("C:\Users\alex\Desktop\New folder (2)\hyo_textfx.avi",Pixel_Type = "RGB32")
Overlay(V,textFX, mask = textFX, mode="blend", opacity = 1.0)​
the results wasn't like I want, there is a black border around the textFX



it should be like this :




Why?


another thing, when I used insertsign function

Code:
avisource("C:\Users\alex\Desktop\New folder (2)\hyo_v.avi",Pixel_Type = "RGB32")
hyo_textfx = avisource("C:\Users\alex\Desktop\New folder (2)\hyo_textfx.avi",Pixel_Type = "RGB32")
insertsign(last, hyo_textfx, 0 , 0 )​
this is what i got! whay?!



is that because the hyo_textfx video aren't alpha\RGB :confused:
 
   
   
   
Top