ass-restyler

0.4.0 • Public • Published

npm

ass-restyler

Build Status Dependency Status

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

Package Sidebar

Install

npm i ass-restyler

Weekly Downloads

3

Version

0.4.0

License

MIT

Unpacked Size

7.05 kB

Total Files

7

Last publish

Collaborators

  • eush77