AssRender
From Avisynth wiki
Abstract | |
---|---|
Author | lachs0r, TheFluff |
Version | v0.25 |
Download | assrender-0.25.7z |
Category | Subtitling |
License | Source code is MIT license, binaries are GPL |
Discussion | Doom9 Thread |
Contents |
Description
AssRender is an AviSynth plugin that renders ASS/SSA and SRT (without the HTML-like markup) subtitles. It uses libass to render the subtitles, which makes it the fastest and most correct ASS renderer for AviSynth.
This also means that it is much more picky about script syntax than VSFilter and friends, so keep that in mind before blaming the filter. Yes, people have reported a lot of errors that were actually the script author’s fault.
Note: AssRender is a C-plugin so it must be loaded using LoadCPlugin, except if you're using AviSynth+, it allows autoloading of C-plugins.
Requirements
Syntax and Parameters
- assrender (clip, string file, string "vfr", int "hinting", float "scale", float "line_spacing", float "dar", float "sar", int "top", int "bottom", int "left", int "right", string "charset", int "debuglevel", string "fontdir", string "srt_font", string "colorspace")
- clip =
- Input clip.
- clip =
- string =
- Your subtitle file. May be ASS, SSA or SRT.
- string =
- string vfr =
- Specify timecodes v1 or v2 file when working with VFRaC.
- string vfr =
- int hinting = 0
- Font hinting mode. Choose between:
- none (0, default), light (1), normal (2) and Freetype native (3) autohinting.
- Font hinting mode. Choose between:
- int hinting = 0
- float scale = 1.0
- Font scale. Defaults to 1.0.
- float scale = 1.0
- float line_spacing = 1.0
- Line spacing in pixels. Defaults to 1.0 and won’t be scaled with frame size.
- float line_spacing = 1.0
- float dar =
- float sar =
- Aspect ratio. Of course you need to set both parameters.
- float dar =
- int top = 0
- int bottom = 0
- int left = 0
- int right = 0
- Margins. They will be added to the frame size and may be negative.
- int top = 0
- string charset = "UTF-8"
- Character set to use, in GNU iconv or enca format. Defaults to UTF-8.
- Example enca format: enca:pl:cp1250 (guess the encoding for Polish, fall back on cp1250)
- string charset = "UTF-8"
- int debuglevel = 0
- How much crap assrender is supposed to spam to stderr.
- int debuglevel = 0
- string fontdir = ""
- Additional font directory.
- Useful if you are lazy but want to keep your system fonts clean.
- string fontdir = ""
- string srt_font = "Sans"
- Font to use for SRT subtitles. Defaults to whatever Fontconfig chooses for “Sans”.
- string srt_font = "Sans"
- string colorspace = "guess"
- The color space of your (YUV) video. Possible values:
- "Rec709", "BT.709"
- "Rec601", "BT.601"
- Default is to use the ASS script’s “Video Colorspace” property, else guess based on video resolution (width > 1280 or height > 576 → BT.709).
- The color space of your (YUV) video. Possible values:
- string colorspace = "guess"
Examples
AviSource("Blah.avi") AssRender("subtitles.ass")
Changelog
Archived Downloads
Version | Download | Mirror |
---|---|---|
v0.25 | assrender-0.25.7z | assrender-0.25.7z |
External Links
- GitHub - Updated version (v0.28), only source code available.
Back to External Filters ←