View Full Version : Textsub.vdf
talsja
6th May 2004, 08:03
I use dvd2svcd and now i have installed the latest version. When i load a movie t gives an error saying that these are not avisynth 2.5 plugins textsub.vdf please go to the frameserver tab and load the proper plugin version.
I have always use textsub.vdf.
Does anybody know why this error come's up now?
DarkNite
6th May 2004, 09:46
Because textsub.vdf is a VirtualDub filter.
The defaults for subtitling filters in DVD2SVCD are:
BMP Subtitler = C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\Avisynth Subtitler.dll
BMP Loader = C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\Avisynth BMP Loader.dll
So, we can see that it wants bitmap based subtitles from a DVD by default, and it wants to use it's own filters. For what you want to do (I'm assuming that's place an ssa or srt onto a video stream within avisynth) it would probably be easier to enable "Edit the AviSynth script file" - "Edit as part of the Video encoding", and use vsfilter.dll (it has a TextSub function) in your avs.
I say to edit the avs to include the LoadPlugin line for vsfilter.dll because I don't use plugin autoloading personally. You might be able to just call the TextSub function in your avs once vsfilter.dll is placed into your avisynth plugins folder (the real one) if you are using plugin autoloading.
There's only one thing you need to put into the TextSub line, the file location and name.
TextSub("X:\Folder\TextBasedSubtitles.ssa") # or .srt
As far as using textsub.vdf in an avs script... let's just say I haven't felt the need to import a virtualdub filter into avisynth as a function for quite a while, so I don't have a script for that handy.
talsja
6th May 2004, 13:40
I always use this script so my subs are always good and i have to do nothing further so what your saying is that i need to replace textsub.vdf to avisynth subtitler.dll ???
0=LoadPlugin(!textsub.vdf)
1=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
3=TextSub(!subtitlefile)
!textsub.vdf=d:\dvd2svcd\textsub.vdf
^b_value=0.0
^c_value=0.6
!subtitlefile=D:\My Divx Workspace\Subtitles\dvd2svcd.ssa
Wilbert
6th May 2004, 13:46
Just use vsfilter.dll:
LoadPlugin(vsfilter.dll)
mpeg2source("F:\From_hell\from_hell.d2v")
VobSub("F:\From_hell\VTS_01_0.sub")
or
mpeg2source("F:\From_hell\from_hell.d2v")
TextSub("F:\From_hell\fh_ned.srt")
manono
6th May 2004, 14:58
And TextSub isn't installed by default, when installing VobSub. If you have any problems running Wilbert's script, reinstall VobSub using a Custom install this time, making sure to get TextSub.
Wilbert
6th May 2004, 15:42
Huh? I though you just have to register vsfilter.dll?
celtic_druid
6th May 2004, 23:03
For this purpose you don't even have to register it. As said load it or put it in the plugins directory.
VSFilter also contains direct vobsub for which you need to register it.
It also contains VDub versions of textsub and vobsub. This is probably true of the older versions which is why textsub.vdf works with AVISynth. textsub.vdf = textsub.dll.
manono
7th May 2004, 02:25
Hi-
Huh? I though you just have to register vsfilter.dll?
Sorry, but I don't know anything about that stuff. I just know if I use the default install of VobSub 2.23, that I can't use TextSub. If I then expand the Plugins by hitting "+", I can check "TextSub for VirtualDub and AviSynth", and then it works.
If there's a newer version where this is no longer required, then so be it.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.