Log in

View Full Version : VSFilter 2.26 and word wrap: settings?


flipdon
2nd July 2003, 21:36
I'm looking for word wrap settings for using VSFilter in AviSynth. I'm pretty sure that textsub had some sorta syntax for telling it what word wrapping to use... and now that it's become vsfilter i can't find it anymore. i'd like to stick with vsfilter now that it can work in YV12 (no conversion to yuy2 like before). my particular problem is that i have a line in SSA that i do not want word wrapped, but the rest i would like wrapped. i would have two separate scripts, except 1 will have the setting for no automatic word wrapping.

McPoodle
5th July 2003, 01:04
I don't think there's any way to do it through the AviSynth command lines (since those control the entire sub process), but if the subtitles are in ASS format, the style override code {\q2} will turn off line-wrapping for the line, so you can use \N to manually control where the line break will go, something like this:

Dialogue: 0, 0:00:15:30, 0:00:23:14, *Default, Speaker, 0000, 0000, 0000, , {\q2}Follow this trail for seven miles until you come to the old cabin.\NYou can't miss it.

esby
13th July 2003, 01:41
for textsub 2.23
you could use:

WrapStyle: 2 # if you want the {\q2} for all lines

in ssa header,

but for vsfilter,
last time i checked it was broke...

esby

flipdon
13th July 2003, 06:10
Using VSFilter, {\q2} worked like a charm.

Thanks for the tip, McPoodle.

@esby: I dunno if anything is broke or not, but it did what i was looking for.