『漫游』酷论坛>『字幕制作交流区』>[求助]AVS加载LOGO加上 ..

[求助]AVS加载LOGO加上运动效果 出错寻求帮助

xiaobaizx@2009-02-11 02:04

movie = AVISource("E:\02.avi")
logo = ImageSource("E:\logo.jpg")
clip2 = movie.Trim(150,249)
Anima = Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)



//clip2 = movie.Trim(150,249)

The script's return value was not a video clip

//Anima = Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)

I don't know what "clip2" means (E:\02.avs,line 9)

高手帮忙处理,我才接触AVS不是很懂..
引用

kiasushou@2009-02-11 19:44

//clip2 = movie.Trim(150,249)

把 這行 comment掉應該用 ; 不是 //
引用

ssnake@2009-02-11 20:40

关键在于没有Return吧……
引用

xiaobaizx@2009-02-11 20:43

//clip2 = movie.Trim(150,249)

The script's return value was not a video clip

//Anima = Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)

I don't know what "clip2" means (E:\02.avs,line 9)

这里是我写的备注:意思就是说运行AVS这2段出错以及提示.
引用

马克思没死@2009-02-11 23:15

return完还是这样的提示?
难道是Animate行clip2前面多了个空格?
引用

xiaobaizx@2009-02-14 02:45

引用
最初由 马克思没死 发布
return完还是这样的提示?
难道是Animate行clip2前面多了个空格?


不是多了空格
引用

royale@2009-02-14 16:10

movie = AVISource("E:\02.avi")
logo = ImageSource("E:\logo.jpg")
clip2 = movie.Trim(150,249)
Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)

or

movie = AVISource("E:\02.avi")
logo = ImageSource("E:\logo.jpg")
clip2 = movie.Trim(150,249)
Anima = Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)
return Anima
引用

xiaobaizx@2009-02-16 01:55

引用
最初由 royale 发布
movie = AVISource("E:\02.avi")
logo = ImageSource("E:\logo.jpg")
clip2 = movie.Trim(150,249)
Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)

or

movie = AVISource("E:\02.avi")
logo = ImageSource("E:\logo.jpg")
clip2 = movie.Trim(150,249)
Anima = Animate(0,99,"overlay", clip2,logo,0,0, clip2,logo,320,240)
return Anima


感谢 royale 非常感谢..
引用

马克思没死@2009-02-16 23:55

囧。。。最后还是没return。。。
引用

| TOP