View Full Version : help me with vobsub & avisynth
VideoClipper
19th February 2002, 16:08
I can't get vobsub working from within an Avisynth script.
I have placed Movie.avi, Movie.idx, Movie.ifo & Movie.sub together with the Virtualdub plugin (vobsub_vd.vdf) in the same dir & use this script:
#
function VD_Subtitler(clip clip, string filename)
{
LoadVirtualdubPlugin("vobsub_vd.vdf", "_VD_Subtitler")
return clip._VD_Subtitler(filename)
}
video=AVISource("Movie.avi")
VD_Subtitler(video, "Movie.sub")
#
& get:
"VirtualdubFilterProxy: error calling startProc"
Thanks for your help.
ARDA
19th February 2002, 21:16
I don't understand exactly what you want to do,but if you want to use
vobsub in avisynth script,you should do as follows:
LoadPlugin("C:\......\vobsub.dll")
VobSub("FileName")
Vobsub.dll is included when you download vobsub from http://vobsub.edensrising.com/
I hope that can help you
Arda
VideoClipper
20th February 2002, 17:46
Thanks for your suggestion.
Unfortunately, this doesn't work.
Let me clear things:
I want to put subtitles (SubTitles.idx, .ifo & .sub) in a Divx movie (Movie.avi) & convert it to an SVCD (with CCE). With VirtualDub there are no problems, but I cannot setup the thing with Avisynth. I want to use Avisynth because it's faster.
Here's the script (Script.avs)I'm using:
-----------------------
AVIsource("Movie.avi")
LoadPlugin("Vobsub.dll")
Vobsub("SubTitles")
BilinearResize(448,448)
AddBorders(16,48,16,80)
ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons
-----------------------
(note/ I copied vobsub.dll in the movie directory but this doesn't make any difference & I'm using Vobsub 2.09)
When I try to play the "Script.avs", it play without errors but the subtitles don't show up.
Thx for all suggestions to get this working.
ARDA
20th February 2002, 20:33
If you say that the subtitle works correctly in virtualdub.
Try the followings steps :
First check if the subtitle.idx and .sub has the same name
for instance matrix.idx and matrix.sub
Second you don't need for 2.09 version the ifo file
Third verify the path to vobsub.dll in your script
Fourth verify the path to your subtitles filters
And finally that I think it is the problem never write the extension
example :
#VobSub("D:\MATRIX\SUBTITULOS\MATRIX.IDX")
ATTENTION THIS IS WRONG
VobSub("D:\MATRIX\SUBTITULOS\MATRIX")
THIS IS THE RIGHT WAY
I hope that can help you
chrisman66
20th July 2005, 22:47
Two years on, in case anyone cares...
after mpeg2source function, or in this case the AVISource function, add the line
ConvertToRGB32()
then add your vobsub(...) line
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.