View Full Version : Unicode support in Subtitle filter
wehong
1st November 2005, 03:03
Hello,
Is there a way to put non-Latin characters (Unicode) on the screen with the "Subtitle" filter? Any help would be appreciated.
Thanks,
Bill
foxyshadis
1st November 2005, 04:52
No, it is ansi only and no plugins exist. However, a few fairly trivial modifications of text-overlay.cpp can enable support for it (without breaking 98! sorta...). The main caveat is that for win9x the unicode layer (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mslu/winprog/about_the_microsoft_layer_for_unicode.asp) must be included. Maybe someone can make you a custom compile to test with, I could modify the source but I don't have visual studio. (And I have no idea what the devs' stance on unicode support is, so I guess I'll wait for them.)
This post brought to you by random hebrew sun, which sadly didn't show up:
۞
If you have something constant, you could create an image and use a logo filter or overlay to slap it in the corner.
lamer_de
1st November 2005, 14:14
vsfilter (more specific: Textsub) also supports unicode.
CU,
lamer_de
wehong
3rd November 2005, 19:34
Pardon my ignorance... but I haven't been able to find any reference to get me started in using vsfilter/textsub with avisynth. I just wanted to add some simple Unicode text to some home made videos similar to what I can do with the "subtitle" filter for ANSI characters.
Thanks,
Bill
movax
4th November 2005, 18:09
Just LoadPlugin() a unicode version of vsfilter.dll, and use TextSub(). You'll have to place your subtitles in a file of course, but it's pretty simple to do.
wehong
10th November 2005, 01:41
Just LoadPlugin() a unicode version of vsfilter.dll, and use TextSub(). You'll have to place your subtitles in a file of course, but it's pretty simple to do.
Hi,
This is where I'm lost. Is there a written guide somewhere that can show me what goes into that file for TextSub()? I've seen sample scripts using the Subtitle filter for rolling credits. I would like to do the same but with Unicode characters.
Thanks,
Wilbur
gzarkadas
10th November 2005, 20:38
...Is there a written guide somewhere that can show me what goes into that file for TextSub()? ...
There is inside the Avisynth documentation in your local hard drive ;)
link "Subtitle (source)" under the "External Filters (Plugins)" at the left (navigation) pane and then
link "VSFilter (by Gabest)" and then
scroll down to the section "SSA syntax".
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.