ass-restyler
v0.4.0
Published
Transform SSA/ASS subtitle styles on the command line
Downloads
33
Maintainers
Readme
ass-restyler
Transform SSA/ASS subtitle styles on the command line.
Example
Bring Default
style to middle of the screen and adjust font size:
$ ass-restyler Default:MarginV=335 Default:Fontsize+=10 input.ass >output.ass
CLI
ass-restyler [clause]... [file]
ass-restyler -i [clause]... [file]...
Reads SSA/ASS subtitles from files or stdin and outputs transformed
SSA/ASS. With -i
, writes transformed subtitles back to the original
files, otherwise writes to stdout.
Clauses:
Style:Attribute=Value
Style:Attribute+=Value
(if it makes sense for the attribute)Style:Attribute-=Value
(if it makes sense for the attribute)Style:Attribute*=Value
(if it makes sense for the attribute)
References
Install
npm install ass-restyler -g
License
MIT