AssRender

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(AssRender: add documentation)
m (Archived Downloads)
Line 97: Line 97:
 
|[https://web.archive.org/web/20180118024447if_/http://srsfckn.biz/assrender/assrender-0.25.7z assrender-0.25.7z]
 
|[https://web.archive.org/web/20180118024447if_/http://srsfckn.biz/assrender/assrender-0.25.7z assrender-0.25.7z]
 
|}
 
|}
 +
<!--[http://encodan.srsfckn.biz/assrender/ C Plugin] - dead link --->
 
<br>
 
<br>
 +
 
== External Links ==
 
== External Links ==
 
*[http://github.com/pingplug/assrender GitHub] - Updated version (v0.28), only source code available.  
 
*[http://github.com/pingplug/assrender GitHub] - Updated version (v0.28), only source code available.  

Revision as of 02:42, 26 April 2020

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.


string   =
Your subtitle file. May be ASS, SSA or SRT.


string  vfr =
Specify timecodes v1 or v2 file when working with VFRaC.


int  hinting = 0
Font hinting mode. Choose between:
  • none (0, default), light (1), normal (2) and Freetype native (3) autohinting.


float  scale = 1.0
Font scale. Defaults to 1.0.


float  line_spacing = 1.0
Line spacing in pixels. Defaults to 1.0 and won’t be scaled with frame size.


float  dar =
float  sar =
Aspect ratio. Of course you need to set both parameters.


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.


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)


int  debuglevel = 0
How much crap assrender is supposed to spam to stderr.


string  fontdir = ""
Additional font directory.
Useful if you are lazy but want to keep your system fonts clean.


string  srt_font = "Sans"
Font to use for SRT subtitles. Defaults to whatever Fontconfig chooses for “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).


Examples

AviSource("Blah.avi")
AssRender("subtitles.ass")


Changelog

TODO

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

Personal tools