reinventing the wheel one script at a time
Go to file
garret 37de70000e use -ss and -to "properly"
this way just seeks to the bit you need and _then_
extracts it, instead of decoding everything and
chucking away the bits we didn't ask for.
massive performance increase, should've rtfm'd
earlier
2021-12-15 19:49:59 +00:00
macros use -ss and -to "properly" 2021-12-15 19:49:59 +00:00
modules/garret finally add config stuff 2021-10-09 15:19:59 +01:00
.gitignore stuff 2021-09-07 19:17:20 +01:00
LICENSE add LICENSE 2021-04-05 16:32:17 +01:00
README.md remove bad from readme 2021-09-08 15:32:38 +01:00

README.md

garret's shitty aegisub scripts

Aegisub automation scripts I've written. Mostly only useful to me.

Some scripts do the same things as other peoples', likely because I didn't know their script existed, or because it had loads of bloat i'll never use other stuff with it (cough cough unanimated).

Tested on official-ish aegi for linux, but should work fine on any build that has automation v4 (read: all of them).


Script List

A-B

Makes checking pre-timing possible by putting some text in the lines (the actor name, and a or b, hence the name)

ignores lines with text in them, prepends to lines with just tags in them

Append Comment

pops up a dialogue to put the comment in, and appends it to the selected lines.

if you're not using it for multiple lines you may as well just type the curly brackets & stuff yourself, it's probably quicker.

Audio Clipper

Extracts audio from the selected line(s), like the create audio clip button. Unlike the create audio clip button, it can copy the audio stream.

Also, if you select multiple lines, it'll make separate clips for each, not one long one.

By default, outputs to ?video/audioclipper_output/i.xyz, where x is the index of the line in your selection, and xyz is the extension.

Needs ffmpeg in path. Can be slow.

Done better by: Petzku's Encode Clip (kinda), Aegisub (kinda)

Chapter Generator

Makes XML chapters for matroska.

Makes lines with the effect [Cc]hapter, [Cc]hptr or [Cc]hap (the same as UA's Significance), into chapters. Start time of the line is used for the timestamp, text of the line is used for chapter name. Language is currently hardcoded to english.

Done better by: Significance by UA.

Dupe and Comment

Duplicates a line and comments out the original.

I like seeing the original line while editing, and being able to go back to it easily if my edit was crap.

Em-dash

Appends an Em-dash () to the selected line(s). Replaces -- with .

I do not have an em-dash key on my keyboard.

Done better by: Ctrl-H (partially)

K-Timing -> Alpha Timing

makes doing alpha timing significantly easier by getting rid of the part where you do alpha timing.

originally created to convert stuff that should've been alpha timed in the first place but used a weird hack with \ko instead.

Restyler

become-fansubber.lua

Changes style of selected lines to Default (for now, will be configurable in future), and copies italic+alignment values from the script's styles to inline tags.

Can't help if the source script isn't properly styled. cannot handle inline tags!

Scenebleed Detector

Finds scenebleeds in the selected lines, and marks them with an effect (bleed).

Currently has a hardcoded threshold of 500ms as my brain is too small to figure out how to do a config file.

Done better by: probably some UA script

Select Comments

have a guess