Log in

View Full Version : Processing of subtitleex' alpha channels


ccitydesign
5th May 2011, 11:19
I use the command 'subtitleex' a lot and I know using masks is pretty ressource consuming with avisynth. So I'd like to know if the following command line variations will make any difference as performance is concerned. The over all masked area is the same in A and B (unless avisynth deals with a unique plane each time?). In short, which is faster?

------------------------------------------------------
clip=avisource("example.avi")
clip

# A

subtitleex(" example text 1 ", font="arial", size=14, x=50, y=50, firstframe=0, lastframe=-1)
subtitleex(" example text 2 ", font="arial", size=14, x=50, y=70, firstframe=0, lastframe=-1)
subtitleex(" example text 3 ", font="arial", size=14, x=50, y=90, firstframe=0, lastframe=-1)
subtitleex(" example text 4 ", font="arial", size=14, x=50, y=110, firstframe=0, lastframe=-1)

# or B (using breaks, i.e. '|' ) and assuming that y-values correspond to A

subtitleex(" example text 1 | example text 2 | example text 3 | example text 4 ", font="arial", size=14, x=50, y=50, firstframe=0, lastframe=-1)
------------------------------------------------------

Thanks!