well 可以参考我写的某非线AVS
首先导出图片为图片序列和相应的黑白MASK图片序列
命名成101.jpg 102.jpg ........ 等等
载入:
#图片路径设置
maskbasefile="files\43maskbase.jpg"
maskfile="files\43mask.jpg"
maskblurfile="files\43maskblur.jpg"
maskinfile="files\43maskin\%d.jpg"
maskoutfile="files\43maskout\%d.jpg"
maskblurinfile="files\43maskblurin\%d.jpg"
maskbluroutfile="files\43maskblurout\%d.jpg"
还有堆其他的......片源和声音啥的..... 懒得找.....
语句:
maskbase=ImageSource(workdir+maskbasefile,0,239,23.976,false,false).ConvertToRGB32
mask=ImageSource(workdir+maskfile,0,191,23.976,false,false).ConvertToRGB32
maskblur=ImageSource(workdir+maskblurfile,0,191,23.976,false,false).ConvertToRGB32
maskin=ImageSource(workdir+maskinfile,101,124,23.976,false,false).ConvertToRGB32
maskout=ImageSource(workdir+maskoutfile,101,124,23.976,false,false).ConvertToRGB32
maskblurin=ImageSource(workdir+maskblurinfile,101,124,23.976,false,false).ConvertToRGB32
maskblurout=ImageSource(workdir+maskbluroutfile,101,124,23.976,false,false).ConvertToRGB32
maskall=maskin+mask+maskout
maskblurall=maskblurin+maskblur+maskblurout
word=BlankClip(240,416,312,"RGB32",23.976,1,44100,true,true,$000000).Subtitle(text1,text1x,text1y,0,240,text1font,text1size,text1color,text1halo,1,text1spc,text1lsp).Subtitle(text2,text2x,text2y,0,240,text2font,text2size,text2color,text2halo,1,text2spc,text2lsp)
wordmask=BlankClip(240,416,312,"RGB32",23.976,1,44100,true,true,$000000).Subtitle(text1,text1x,text1y,0,240,text1font,text1size,$FFFFFF,$FFFFFF,1,text1spc,text1lsp).Subtitle(text2,text2x,text2y,0,240,text2font,text2size,$FFFFFF,$FFFFFF,1,text2spc,text2lsp)
wordT=Mask(word,wordmask)
maskbaseword=Layer(maskbase,wordT,"add",255,0,0)
maskbaseT=Mask(maskbaseword,maskall)
maskblurT=Mask(prerawblur,maskblurall)
mux1=Layer(preraw,maskblurT,"add",255,0,0)
mux2=Layer(mux1,maskbaseT,"add",255,0,0)
载入 去黑底合成 就这个流程
还有个办法是载入代Mask的RGB32 AVI 不过做不来......
劝LZ还是用ASS或用AE