Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th May 2011, 11:19   #1  |  Link
ccitydesign
Christopher Hanson
 
ccitydesign's Avatar
 
Join Date: Aug 2010
Location: Berlin
Posts: 3
Processing of subtitleex' alpha channels

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!

Last edited by ccitydesign; 5th May 2011 at 17:32. Reason: x/y-values were mixed up
ccitydesign is offline   Reply With Quote
Reply

Tags
avisynth, masks, performance, subtitleex

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.