VSFilterMod
From Avisynth wiki
(Difference between revisions)
m (→Requirements) |
(r5.2.4) |
||
Line 1: | Line 1: | ||
{{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Subtitling}} | {{FilterCat5|External_filters|Plugins|Plugins_x64|Adjustment_filters|Subtitling}} | ||
{{Filter3 | {{Filter3 | ||
− | | Gabest, guliverkli2, and others | + | |1=Gabest, guliverkli2, and others |
− | | | + | |2=r5.2.4 |
− | | [https://github.com/ | + | |3=[https://github.com/Masaiki/VSFilterMod/releases VSFilterMod_bin.7z] |
− | | Subtitling | + | |4=Subtitling |
− | | [http://www.gnu.org/licenses/gpl-3.0.txt GPLv3] | + | |5=[http://www.gnu.org/licenses/gpl-3.0.txt GPLv3] |
|6= [http://forum.doom9.org/showthread.php?t=152855 Doom9 Forum]}} | |6= [http://forum.doom9.org/showthread.php?t=152855 Doom9 Forum]}} | ||
<br> | <br> | ||
Line 116: | Line 116: | ||
== Changelog == | == Changelog == | ||
<pre> | <pre> | ||
− | + | r5.2.4 2021/02/26 - fix possible crashes of invaild drawing | |
− | + | - fix wrong handle of frx fry tag in different resolutions | |
− | + | - fix the problem of drawing accuracy | |
+ | - fix crash when update details is empty | ||
+ | r5.2.3 2020/08/08 - fix default value of matrix and range | ||
+ | - add YCbCr Matrix (TV601 TV709 TV2020) support | ||
+ | r5.2.2 2020/04/03 - Fix \frx and \fry reversed | ||
+ | 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. | ||
</pre> | </pre> | ||
<br> | <br> | ||
Line 129: | Line 136: | ||
!!width="150px"| Mirror | !!width="150px"| Mirror | ||
|- | |- | ||
− | ! | + | !r5.2.4 |
− | |[https://github.com/ | + | |[https://github.com/Masaiki/VSFilterMod/releases VSFilterMod_bin.7z] |
| | | | ||
|- | |- | ||
− | ! | + | !r5.2.3 |
− | | | + | |[https://github.com/sorayuki/VSFilterMod/releases VSFilterMod_bin.7z] |
| | | | ||
|- | |- | ||
− | |||
− | |||
− | |||
|} | |} | ||
<br> | <br> | ||
== External Links == | == External Links == | ||
− | *[https://github.com/sorayuki/VSFilterMod GitHub] - Source code repository ( | + | *[https://github.com/Masaiki/VSFilterMod/ GitHub] - Source code repository (Masaikir r5.2.4). |
+ | *[https://github.com/sorayuki/VSFilterMod GitHub] - Source code repository (Sorayuki r5.2.3). | ||
*[http://code.google.com/archive/p/vsfiltermod/ Google Code Archive] - Source code repository (original VSFilterMod). | *[http://code.google.com/archive/p/vsfiltermod/ Google Code Archive] - Source code repository (original VSFilterMod). | ||
<br> | <br> |
Revision as of 19:14, 3 March 2021
Abstract | |
---|---|
Author | Gabest, guliverkli2, and others |
Version | r5.2.4 |
Download | VSFilterMod_bin.7z |
Category | Subtitling |
License | GPLv3 |
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
- MaskSubMod
- TextSubModSwapUV
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.
- clip =
- string file =
- Path to subtitles file.
- string file =
- int charset = 1
- charset is the encoding to assume the file is in, if it's not Unicode UTF-8 or UTF-16. (If you need to use this you're doing something wrong.)
- int charset = 1
- float fps = -1.0
- fps is the FPS to assume the video is at. You could just as well just use
AssumeFPS
instead of using this. VFR overrides this.
- fps is the FPS to assume the video is at. You could just as well just use
- float fps = -1.0
- string vfr = ""
- vfr is the path to the VFR timecodes file (format 1 or 2) to use for frame times. If set, overrides all other FPS specifications.
- string vfr = ""
VobSub
Adds subtitles from a vob sequence.
- VobSub (clip, string)
- clip =
- Input clip.
- clip =
- string =
- Path to subtitles file, only .idx and .sub files supported.
- string =
MaskSubMod
Creates a subtitle mask clip. Output clip is RGB32 and it is flipped vertically, use FlipVertical()
to correct it.
- MaskSubMod (string "file", int "width", int "height", float "fps", int "length", int "charset", string "vfr")
- string file =
- Path to subtitles file.
- string file =
- int width =
- int height =
- width and height specify the size of the generated clip, in pixels.
- int width =
- float fps =
- fps specifies the framerate of the generated clip.
- float fps =
- int length =
- length is the number of frames to produce in the clip.
- int length =
- int charset =
- charset is the encoding to assume the file is in, if it's not Unicode UTF-8 or UTF-16. (If you need to use this you're doing something wrong.)
- int charset =
- string vfr = ""
- vfr is the path to the VFR timecodes file (format 1 or 2) to use for frame times.
- string vfr = ""
TextSubModSwapUV
- TextSubModSwapUV (bool)
- clip =
- Input clip.
- clip =
- bool = false
- Toggles (globally) whether to swap assume the U and V planes are swapped in YV12 video when rendering subtitles. Default is false.
- bool = false
Examples
AviSource("Blah.avi") TextSubMod(file="subtitle.ass")
#Assume clip is 1280x720, 24fps, and 3,000 frames total MaskSubMod(file="subtitle.ass", width=1280, height=720, fps=24, length=3000)
#or alternatively you can get the clip properties video = AviSource("Blah.avi") MaskSubMod(file="subtitle.ass", width=video.Width(), height=video.Height(), fps=video.FrameRate(), length=video.FrameCount())
AviSource("Blah.avi") VobSub("subtitle.sub")
Changelog
r5.2.4 2021/02/26 - fix possible crashes of invaild drawing - fix wrong handle of frx fry tag in different resolutions - fix the problem of drawing accuracy - fix crash when update details is empty r5.2.3 2020/08/08 - fix default value of matrix and range - add YCbCr Matrix (TV601 TV709 TV2020) support r5.2.2 2020/04/03 - Fix \frx and \fry reversed 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.4 | VSFilterMod_bin.7z | |
r5.2.3 | VSFilterMod_bin.7z |
External Links
- GitHub - Source code repository (Masaikir r5.2.4).
- GitHub - Source code repository (Sorayuki r5.2.3).
- Google Code Archive - Source code repository (original VSFilterMod).
Back to External Filters ←