View Full Version : textsub problem
clickit
16th January 2003, 14:42
Hi to all
i have this problem with textsub.vdf (vobsub v2.23) !!!
i'm trying to use it with avisynth v2.5 in this script
loadplugin("textsub.vdf")
textsub("a.srt")
it complains about 'unexpected exception...'
and when i change with these lines
loadvirtualdubplugin("textsub.vdf","textsub")
textsub("a.srt")
then it complains about invalid arguments to "textsub" function
can anybody help me
thanks in advance
Wilbert
16th January 2003, 15:34
I assume you are using the one (vobsub) for AviSynth v2.5 ?
hakko504
16th January 2003, 15:36
The regular version of vobsub will not work in v2.5a! Gabest has made a special version available in this thread. (http://forum.doom9.org/showthread.php?s=&threadid=41196) This is a .dll only for use with AviSynth2.5a and must not be put in the system dir, but rather in your regular 2.5a plugin dir.
clickit
16th January 2003, 17:30
i'll give it a try
thank you very much
3S Doc
17th January 2003, 21:58
First you need to convert the srt file to SSA format. Sub2SSA is a great tool for this purpose.
Now when you've got the converted SSA file, you can edit it with notepad and I would change the font to size 14 (can also be done in sub2ssa immediately).
Now check if there are any <i> and </i> codes in the SSA file. These are pieces of the subtitles that a player that supports subrip files will show in italic but I've found out that this will not work when using the filter to get them into your SVCD.
So what I mean is basically, what you see in the SSA file will be what you'll see on the screen. So remove the <i> codes...
(possible there are some for underline too but I don't know that code).
Now you need to have vobsub installed...this installation will provide you with a textsub.vdf filter that you may copy into your /avisynth folder for convenience (I also put the SSA in this folder).
LoadPlugin("C:\Avisynth\textsub.vdf")
TextSub("C:\Avisynth\your_file.ssa")
this should do the trick I think :):)
grtzz.
3S.
ffroms
18th January 2003, 13:27
It's not needed to convert subs to SSA , 'couse vobsub reads SRT (with HTML tags <i>). Clickit problem was conflict of diffrent versions of avisynth (he tried to use VobSub2.23 with new avisynth2.5).
FFS
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.