VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Hi
    I'm a newbie to avs and actually introduced to it when started exploring DVD Slideshow UI.
    I'm trying to add SubTitle in Urdu language (arabic script based) but it only shows ?????. Neither in Avsp (avs editor) nor in DVD Slideshow UI.
    Here is the script I tested :

    Code:
    # Prints text on multiple lines
    # without any text halo border.
    BlankClip()
    Subtitle( \
      "السلام و علیکم\\nMore text on line 1\n" + \
      "Some text on line 2", \
             lsp=10, halo_color=$ff000000)
    Line containing السلام و علیکم displays as ????, rest seems to be working fine.

    Any workaround, alternate methods, functions???

    Any help would be really appreciated.

    Thanks
    Farrukh
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Don't use the internal Subtitle filter, use TextSub() --- which depends on VSFilter.dll --- on a standalone "UTF-16" subtitle file

    I doubt Avisynth has a proper support for Unicode strings inside AVS files
    Quote Quote  
  3. El,
    Thanks for reply. I'm using AvsP editor for avs which comes with DVD Slideshow UI and I can type Unicode characters in it.

    So to use TextSub(), I will have to install VSFilter.dll? And I've downloaded Direct VobSub x64 and installed it. But I can't get any help, nor any support in AvsP for adding TextSub() function.

    Can you please guide to any thread, article for using methods in dll's as mentioned above?

    Thanks
    Quote Quote  
  4. avisynth scripts must be ansii coded -> no unicode
    what you need to do is create your own subtitle (.srt or .ass/.ssa) file and load it through e.g. TextSub() from VSFilter (https://www.videohelp.com/tools/VSFilter-DirectVobSub) or the newer xy-VSFilter (https://code.google.com/p/xy-vsfilter/wiki/Downloads?tm=2).
    see: http://avisynth.org.ru/docs/english/externalfilters/vsfilter.htm

    Cu Selur
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!