Post subject: Subtitle halo for youtube encode
Player (65)
Joined: 4/21/2011
Posts: 232
The default halo width is fixed at 1, which isn't visible when supersizing. I hacked up an alternate subtitle function that allows for bigger halos. http://pastebin.com/y1kviNFR
Editor, Emulator Coder, Site Developer
Joined: 5/11/2011
Posts: 1108
Location: Murka
looks nice... but it takes 4 seconds to render a frame on my i5 2500k@4.0 >< edit: that's in vdub... doesn't take nearly as long in avs2pipemod, wonder why
Player (65)
Joined: 4/21/2011
Posts: 232
I think it runs out of memory, recycles the masks and then has to remake them again and again. Maybe splitting into two function, one that makes the masks and writes them to a png, and another function to layer the png on the right range.
creaothceann
He/Him
Editor
Joined: 4/7/2005
Posts: 1874
Location: Germany
Do you mean Avisynth's memory buffer filling up? (there's SetMemoryMax for that)
Player (65)
Joined: 4/21/2011
Posts: 232
Optional memoization is in. That should save some time if you preview in vdub or end up re-encoding, so you only have the lut creation times once. Give each memo a different name.