Log in

View Full Version : add subtitles via avisynth


xandercage
14th March 2009, 15:04
Hi all,

I use this script

LoadPlugin("C:\Program Files\dgmpgdec150rc2\DGDecode.dll")
Mpeg2Source("C:\pokusy\hsm.d2v")
Crop(0,14,0,-14)
LanczosResize(656,368)

To this poin is everything ok.
I need add subtitles (hardcoded in video)

Path for subtitles is
C:\Pokusy

Name of .srt file is
hs

Can u please help with final script?

HymnToLife
14th March 2009, 15:27
TextSub("hs.srt")

You need VSFilter.dll in your avisynth plugins dir, get it here (http://www.free-codecs.com/download/DirectVobSub.htm).

xandercage
14th March 2009, 16:47
U save me day. Problem solved:thanks: