Skip to content

Zahuczky/Zahuczkys-Aegisub-Scripts

Repository files navigation

Zahuczky's Aegisub Scripts

This repository contains a collection of scripts for the subtitle editor Aegisub. The scripts are written in either Python, Lua or MoonScript and are intended to automate various tasks in the subtitling process, mainly for typesetting.

Scripts

"Main" scripts, they are available in Dependency Control.

Automagically clip out objects obstructing your sign.

Autoclip gif

Tracking the color of a pixel or moving object in a video.

Color Tracking gif

Aegisub Perspective Motion

Deprecated in favor of arch1t3cht's Perspective Motion.

Miscellaneous scripts

You can find them here. These are not available in Dependency Control, most of the are one-offs or experiments.

If you have a \move tag and rectangular \clip tag in the same line, running this will make the same movement on the clip.

Adds or subtracts 0.1 from the blur value of the selected line

Intended use is with a keyboard dial that you set to execute this script in aegisub.

Deprecated in favor of JavaScript version. Prints syntax highlighted HTML code to the debug console

Intended to be used with the KFX template line, but works with any line

Calculates motion blur for tracked lines.

It expects a base amount of blur to be already set in all lines.

Intensity is used for the amount of blur ADDED to what's already in the line.

Blur will equal the base amount plus the distance traveled by the line from the previous frame divided by 100, times the intensity.

(generally try something in the 5-10 range)

Adds a shaking motion to xshad and yshad tags

Randomizes points of a shape

Buncha hardcoded stuff, sharing for the lulz <-this line was suggested by github copilot, therefore it stays

Generates a box around the given clip in the style how they look in the TenKen anime.

No other usefulness other than typesetting TenKen.

Quickly turn a text into a shape

Bunch of hardcoded stuff, sharing for the lulz

Adds some randomness to the start time of the line

Bunch of hardcoded stuff, sharing for the lulz