Log in

View Full Version : BlankClip and TextSub?


Xombie
29th December 2002, 03:48
I'm trying a simple avs script to create a blank clip. I want to attach a subtitle file to it using TextSub so I try:

BlankClip(length=1122,width=480,height=360,fps=23.976,color=$FFFFFF)
LoadPlugin ("C:\textsub.vdf")
TextSub ("C:\test.ssa")

With the paths being correct. I get the clip okay. It's the right size, length & all that, but no subtitle. Am I missing something?

Aktan
29th December 2002, 08:17
I see nothing wrong. The only thing I can think of is that the sub timestamp in the ssa occurs at a time after your clip ended.

Xombie
29th December 2002, 08:53
No, the sub runs from 0 to 18 seconds so it should fit within the clip okay.

Also, I loaded that example in virtualdub, then loaded the textsub filter from there and that .ssa and it shows just like it should.