VSFilterMod

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (authors)
(add VobSub documentation)
Line 10: Line 10:
 
== Description ==
 
== Description ==
 
[[VSFilterMod]] is modification of original [[VSFilter]] subtitle renderer by Gabest. This mod brings up new features and some minor bugfixes.
 
[[VSFilterMod]] is modification of original [[VSFilter]] subtitle renderer by Gabest. This mod brings up new features and some minor bugfixes.
:*VobSub: adds subtitles from a vob sequence.
+
 
:*TextSubMod: adds subtitles from srt, sub, psb, smi, ssa, ass file formats.
+
VSFilterMod includes the following funtions:
 +
:*VobSub
 +
:*TextSubMod
  
 
<br>
 
<br>
  
 
== Requirements ==
 
== Requirements ==
* [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] [32-bit]
+
* [x86]: [[AviSynth+]] or [http://forum.doom9.org/showthread.php?t=168764 AviSynth 2.6]
* [[AviSynth+]] [32-bit or 64-bit]
+
* [x64]: [[AviSynth+]]
 
* Supported color formats: [[RGB24]], [[RGB32]], [[YV12]]
 
* Supported color formats: [[RGB24]], [[RGB32]], [[YV12]]
 
<br>
 
<br>
  
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
 +
 +
===TextSubMod===
 +
Adds subtitles from srt, sub, psb, smi, ssa, ass file formats.
 +
<br>
 +
<br>
 
:{{Template:FuncDef|TextSubMod(clip, string file, int "charset", float "fps", string "vfr") }}
 
:{{Template:FuncDef|TextSubMod(clip, string file, int "charset", float "fps", string "vfr") }}
 
<br>
 
<br>
Line 28: Line 35:
 
<br>
 
<br>
 
::{{Par2||string|}}
 
::{{Par2||string|}}
:::Path to subtitles.
+
:::Path to subtitles file.
 
<br>
 
<br>
 
::{{Par2|charset|int|1}}
 
::{{Par2|charset|int|1}}
Line 38: Line 45:
 
::{{Par2|vfr|string|""}}
 
::{{Par2|vfr|string|""}}
 
:::Path to timecodes V2 file.
 
:::Path to timecodes V2 file.
 +
<br>
 +
===VobSub===
 +
Adds subtitles from a vob sequence.
 +
<br>
 +
<br>
 +
:{{Template:FuncDef|VobSub (clip, string file) }}
 +
<br>
 +
::{{Par2||clip| }}
 +
:::Input clip.
 +
<br>
 +
::{{Par2||string|}}
 +
:::Path to subtitles file, only .idx and .sub files supported.
 
<br>
 
<br>
  
 
== Examples ==
 
== Examples ==
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  TextSubMod(file="subtitle.ass")
+
  TextSubMod("subtitle.ass")
 +
 
 +
[[AviSource]]("Blah.avi")
 +
VobSub("subtitle.sub")
  
 
<br>
 
<br>

Revision as of 03:57, 25 April 2020

Abstract
Author Gabest, guliverkli2, and others
Version R5.2.1
Download VSFilterMod_bin.7z
Category Subtitling
License GPLv2
Discussion Doom9 Forum


Contents

Description

VSFilterMod is modification of original VSFilter subtitle renderer by Gabest. This mod brings up new features and some minor bugfixes.

VSFilterMod includes the following funtions:

  • VobSub
  • TextSubMod


Requirements


Syntax and Parameters

TextSubMod

Adds subtitles from srt, sub, psb, smi, ssa, ass file formats.

TextSubMod(clip, string file, int "charset", float "fps", string "vfr")


clip   =
Input clip.


string   =
Path to subtitles file.


int  charset = 1


float  fps = -1.0


string  vfr = ""
Path to timecodes V2 file.


VobSub

Adds subtitles from a vob sequence.

VobSub (clip, string file)


clip   =
Input clip.


string   =
Path to subtitles file, only .idx and .sub files supported.


Examples

AviSource("Blah.avi")
TextSubMod("subtitle.ass")
AviSource("Blah.avi")
VobSub("subtitle.sub")


Changelog

 R5.2.1        2019/07/07      - Add support for Unicode SMP
 R5.2          2018/08/14      - enable non-ascii filename.
 R5            2018/04/09      - support YUV420P10 and YUV420P16 for vapoursynth.


Archived Downloads

Version Download Mirror
R5.2.1 VSFilterMod_bin.7z
v
v0


External Links




Back to External Filters

Personal tools