SupTitle avisynth plugin

Home page: http://www.zachsaw.com/?pg=suptitle_pgs_avisynth_plugin
Forum: http://www.zachsaw.com/forum/viewforum.php?f=14

DLLs needed:
SupTitle.dll
SupCore.dll
msvcp100.dll
msvcr100.dll

You will need to make sure you have the Microsoft .NET Framework 4 installed.


Usage in AviSynth Script:

    clip.SupTitle(string-filename, bool-forcedOnly,
        bool-swapCbCr, bool-relocate, string-relocOffset) 


Arguments:

filename
Full path and filename to your .SUP file.

forcedOnly - Optional, default = false
Displays forced subtitles only.

swapCbCr - Optional, default = false
Swap Cb/Cr when decoding subtitle stream.

relocate - Optional, default = true
Relocate out of position subtitles (e.g. cropping the source usually causes the subs to go out of viewable rect).

relocOffset - Optional, default = ""
This is to let SupTitle know how to properly position subs, particularly with subs that are supposed to appear in the middle of the screen. By supplying the cropped offsets from the original video, SupTitle can work out how to reposition the subs to most accurately place the repositioned subs.

Syntax: "x1, y1, x2, y2", where x1, y1 are the number of pixels cropped left and top respectively; and, x2, y2 are the number of pixels cropped right and bottom respectively. Use positive integers only. The default value of "" is syntactically similar to "0, 0, 0, 0", which means the source is not cropped.

Note: You should always specify a relocOffset unless you are certain all your subs only appear at the bottom of the video.

Example:

    LoadPlugin("C:\SupTitle\SupTitle.dll")

    DirectShowSource("C:\movie.avi")

    SupTitle("C:\sub.sup", forcedOnly=false, \
        swapCbCr=false, relocate=true, \
        relocOffset="0,140,0,140")

