PDA

View Full Version : vsfilter


rashif
7th November 2003, 19:21
can't load the srt sub my script is:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
textsub(vid,"C:\My Documents\Reshef\My Movies\1.SRT")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mpasource.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEGDecoder.dll")
vid = MPEGSource("C:\My Documents\Reshef\My Movies\1.MPG")
aud = mpasource("C:\Program Files\AviSynth 2.5\1.mpa")
AudioDub(vid,aud)

ppera2
8th November 2003, 16:14
As I know it works only with ssa format titles. So, convert srt to ssa with Subresync - and while in, set font parameters etc...

Tri
8th November 2003, 16:30
Change your script:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mpasource.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEGDecoder.dll")
vid = MPEGSource("C:\My Documents\Reshef\My Movies\1.MPG")
aud = mpasource("C:\Program Files\AviSynth 2.5\1.mpa")
AudioDub(vid,aud)
textsub("C:\My Documents\Reshef\My Movies\1.SRT")

rashif
9th November 2003, 08:29
Originally posted by ppera2
and while in, set font parameters etc...

any special comments about the font?
i know script
font size
bold...

and i know there is a difference between

Fontsize
fontsize
FontSize

so again..
any special comments?

ppera2
9th November 2003, 13:33
Originally posted by rashif
any special comments about the font?
i know script
font size
bold...

and i know there is a difference between

Fontsize
fontsize
FontSize

so again..
any special comments?

I just suggested to you that use Subresync to generate ssa subtitle file. There is many setting for fonts. I don't know what you mean with 'special comments' - go in program and play...

rashif
9th November 2003, 19:56
my script is:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\VSFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mpasource.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEGDecoder.dll")
vid = MPEGSource("C:\My Documents\Reshef\My Movies\1.MPG")
aud = mpasource("C:\Program Files\AviSynth 2.5\1.mpa")
AudioDub(vid,aud)
clip = AudioDub(vid,aud)
textsub(clip,"C:\My Documents\Reshef\My Movies\1.SSA")

loaded ssa sub
and btw it's hebrew subs and i used Convert_Hebrew_Text.zip
from www.divx-digest.com to fix it because they were reversed...
and i had a real wicked time using the subs i made from scratch
with subtitle workshop. also recommended...
i tried all the formats but only srt displayed right in bsplayer.
so i recommend saving in srt and then trying to work it out.
p.s. when i loaded the subs in vd with subtitler plugin at the
start the subs were good, but suddenly the sub were out of sync
why ? don't know. but when the sub file was displayed with bsplayer
the subs were in sync...
anyway...
vsfilter solved that! it shows the sub in perfect original sync..

i'm happy now.. :D
but not to be too optimistic...i'm going to decode the whole file
and i'm sure i will have audio sync problems...

thank for your help.:D

ppera2
9th November 2003, 20:30
Textsub is much better than V Dub's Subtitler - I didn't have async with subtitler, but Textsub offers much more settings. Subtitler even can't work with fonts which aren't Windows default.