View Full Version : hard sub


jriker1
11th July 2015, 14:24
I have been manually adding in subtitles to my movies thru premiere pro and burning them in. My player will not play sub files and I'm fine with this method. Primarily burning in the forced subs. Well came across a movie with hundreds of subs. Was like heck no. What is the most current ways of burning in a subtitle file in avisynth? the threads I found on this were a bit dated so wasn't sure today what is the best plugin to use.

Thanks.

JR

creaothceann
11th July 2015, 23:30
Personally I use VSFilter.dll from the DirectVobSub software that is in the k-lite codec pack. You could probably use xy-vsfilter (https://code.google.com/p/xy-vsfilter/) too.

The DLL is in k-lite's directory, so I just put a file "Sub.avsi" into Avisynth's pluging directory:
LoadPlugin("c:\Program Files (x86)\K-Lite Codec Pack\Filters\\VSFilter.dll")


function Sub(clip c, string FileName) {
c.TextSub(FileName)
}

Then I just have to write e.g. Sub("file name.ass") in my scripts.

Reel.Deel
11th July 2015, 23:43
VSFilter.dll can be downloaded directly here (http://sourceforge.net/projects/guliverkli2/files/DirectShow%20Filters/DirectVobSub%202.39/). There's also vsfiltermod (https://code.google.com/p/vsfiltermod/) but I would just use xy-VSFilter (http://forum.doom9.org/showthread.php?t=168282) like creaothceann already suggested.

qyot27
12th July 2015, 00:03
SourceFilter()
AssRender("subfile.ext",fontdir=fontdir)

jriker1
12th July 2015, 01:30
Thanks for all the input. Reel.Deal, is the vsfilter direct download the same one with directvobsub? prefer that one if it is as I don't run most executable on my rendering box (directvobsub is an exe installer) and definitely no codec packs.

qyot27 ill have to read up on AssRender. Never heard of it before which I guess is why I was asking for input. ��

Do either of the options have bugs or visual flaws? I know at one point people said vsfilter had odd block artifacts around where the words were rendered on screen. But that was a while ago.

Hoping to do a first pass with the source video and burn in the subtitles using a lossless codec to maintain full quality then edit and convert from there so want to make sure whatever I use is clean like when I do it painfully manual in premiere pro with titles.

JR

Reel.Deel
12th July 2015, 01:56
Reel.Deal, is the vsfilter direct download the same one with directvobsub? prefer that one if it is as I don't run most executable on my rendering box (directvobsub is an exe installer) and definitely no codec packs.

The link I posted above is for the plugin only (VSFilter.dll), no installer. I believe that's the binary that shipped with DirectVobSub 2.39. I stumbled across an updated VSFilter.dll from DirectVobSub 2.41 (?). You can download it here: MPC-HC_standalone_filters.1.7.9.x86.zip (http://sourceforge.net/projects/mpc-hc/files/Standalone%20Filters%20-%20Win32/Filters_v1.7.9_x86/)

I haven't kept up with VSFilter so I'm not sure what's what anymore.

Edit: BTW what format are the subtitles, .ass?

jriker1
12th July 2015, 07:01
BTW what format are the subtitles, .ass?

No, but I can convert them to whatever format is relevant for the tool. Usually sup files by default.

JR

jriker1
12th July 2015, 23:35
Does VSFilter.dll filter allow you to tell it to pull out only the forced subtitles from a sup file if they are marked as such?

Thanks.

JR

Edit: better question how do you use it? Did

Textsub(sub name) and doesn't error but nothing shows when I open the avs file in virtualdub. Tried saving the sup file as srt and ass but nothing shows.

Edit 2: Interesting. Replaced the dll with one from x-y-VSFilter and did no other changes. Text started showing on the screen. Hmm.

Haven't looked yet, but should there be any artifacts around the text as the filter overlays the text? I read about vsfilter in general almost like there is a light box around the text or something. Like it's applying an image, not the text and the image has a transparent background but is still slightly visible or something.

Thanks.

JR