View Full Version : AVS for divx > svcd with subs in matt area


aramo
18th October 2003, 23:11
As the saying goes I'm getting there - but it's slow and confusing.

I've a divx avi with separate external idx/sub files - I'd like to make an xSVCD mpeg file with permanent subtiles.

tools:
Gordian Knot 0.28.5
TMPGEnc Plus 2.5

Using the AVS script given at the end I can load the AVS into TMPGEnc and make an mpg file with subtiles in the extended black matt area created by the line
AddBorders(0,0,0,80)
which is 90% of what I want but I cannot figure how to downward-shift the subtitles AND keep the subtitles centered on the horizontal. As is is my AVS output [and mpg output ;] have the subtitles in the black area but too far to the left [X=100] for comfort. If I increase X I run the risk that longer subtitle lines will disappear off the right edge of the screen.

Anyone know how to keep the subtitles in the original horizontal position AND downshifted into the black area?

Notes & AVS script follow:

Original Region 2 DVD AR 2.35
Divx avi = 672x304 [left/right cropping of original]
AVS adds 80 vertical under the AVI image for subs
SVCD = 480*480, TMPGEnc fullframe keep AR

I preprocess the IDX file using VobSub bundled with gKnot
Align = Yes
X = 100
Y = -480

AVS script which does produce viewable mpg:
SetWorkingDir("C:\PROGRA~1\GORDIA~1\")
LoadPlugin("VSFilter.dll")
avisource("e:\amelie\amelie_672x304_mp126_117.avi")
#BicubicResize(480,360,0.0,0.6)
AddBorders(0,0,0,80)
#ConvertToRGB()
VobSub("e:\amelie\amelie_672x304_mp126_117.sub")
Subtitle("DivX encoded Oct 2003",32,20,0,100,"Verdana",12)

Ejoc
19th October 2003, 03:47
I use vobsub, and when you run vobsub configure you can change the x,y origin of the subs.

aramo
20th October 2003, 14:30
@Ejoc

As it happens I do use VobSub to quote myself:
I preprocess the IDX file using VobSub bundled with gKnot
Align = Yes
X = 100
Y = -480

my difficulty is getting the subs to center horizontally - are your re-aligned subs centered?