|
|
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?
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 quot;Edit the AviSynth script filequot; - quot;Edit as part of the Video encodingquot;, 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(quot;X:\Folder\TextBasedSubtitles.ssaquot;) # 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.
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
Just use vsfilter.dll:
LoadPlugin(vsfilter.dll)
mpeg2source(quot;F:\From_hell\from_hell.d2vquot;)
VobSub(quot;F:\From_hell\VTS_01_0.subquot;)
or
mpeg2source(quot;F:\From_hell\from_hell.d2vquot;)
TextSub(quot;F:\From_hell\fh_ned.srtquot;)
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.
Huh? I though you just have to register vsfilter.dll?
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.
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 quot;+quot;, I can check quot;TextSub for VirtualDub and AviSynthquot;, and then it works.
If there's a newer version where this is no longer required, then so be it. |
|