Log in

View Full Version : SubtitleEX: problem centering subtitles.


arnie.d
12th November 2006, 21:00
I'm trying to add subtitles in avisynth using SubtitleEX. I works OK but I can't get the subtitles centered.


Script example:
subtitleex("Going somewhere, Solo?",firstframe=70656,lastframe=70717,effects="c")


This is what the site says about effects:

"effects" - effects applied to the text (default value: "b").

Following control letter are used for the font and text appearance (order and position in the effects string do not matter):

b - bold
i - italic
u - underlined
c - centered

If I use "b" the subs are bold, "i" and the are italic, "u" and they are underlined, but when I use "c" they are not centered but on the right side of the image. What am I doing wrong?

setarip_old
12th November 2006, 21:31
Hi!

If you DON'T use "c", are the subtitles centered?

arnie.d
12th November 2006, 22:49
No, they are on a fixed distance from the right.

zemog
12th November 2006, 23:54
Script example:
subtitleex("Going somewhere, Solo?",firstframe=70656,lastframe=70717,effects="c")


You must change default values for “x” and “y”. Proof these:
subtitleex("Going somewhere, Solo?",firstframe=70656,lastframe=70717,x=Width/2, y=Height-50, effects="c")

arnie.d
13th November 2006, 00:49
Thanks, that did the trick!