aegisub-scripts/README.md

106 lines
2.9 KiB
Markdown
Raw Normal View History

2021-04-05 15:03:24 +00:00
# garret's shitty aegisub scripts
Aegisub automation scripts I've written.
2021-08-09 12:25:44 +00:00
Mostly only useful to me.
2021-04-05 15:03:24 +00:00
2021-08-09 12:25:44 +00:00
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).
2021-07-10 16:11:31 +00:00
2021-08-09 12:25:44 +00:00
Tested on official-ish aegi for linux,
but _should_ work fine on any build that has automation v4 (read: all of them).
2021-06-13 14:44:57 +00:00
2021-04-05 15:03:24 +00:00
----
## Script List
### A-B
2021-08-09 12:25:44 +00:00
Makes checking pre-timing possible
by putting some text in the lines
(the actor name, and `a` or `b`,
hence the name)
2021-04-05 15:03:24 +00:00
2021-08-09 12:25:44 +00:00
ignores lines with text in them,
prepends to lines with just tags in them
2021-04-05 15:03:24 +00:00
### Append Comment
pops up a dialogue to put the comment in, and appends it to the selected lines.
2021-08-09 12:25:44 +00:00
if you're not using it for multiple lines you may as well just type the curly brackets & stuff yourself, it's probably quicker.
2021-04-05 15:03:24 +00:00
### 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.
2021-08-09 12:25:44 +00:00
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)
2021-04-05 15:03:24 +00:00
2021-04-25 01:30:01 +00:00
### Chapter Generator
2021-08-09 12:25:44 +00:00
Makes XML chapters for matroska.
2021-04-25 01:30:01 +00:00
2021-08-15 23:00:33 +00:00
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.
2021-04-25 01:30:01 +00:00
Language is currently hardcoded to english.
2021-08-09 12:25:44 +00:00
**Done better by**: `Significance` by UA.
2021-07-10 16:11:31 +00:00
2021-04-05 15:03:24 +00:00
### Dupe and Comment
Duplicates a line and comments out the original.
2021-08-09 12:25:44 +00:00
I like seeing the original line while editing,
and being able to go back to it
easily if my edit was crap.
2021-04-05 15:03:24 +00:00
### Em-dash
Appends an Em-dash (`—`) to the selected line(s).
Replaces `--` with `—`.
I do not have an em-dash key on my keyboard.
2021-06-13 14:44:57 +00:00
2021-08-09 12:25:44 +00:00
**Done better by**: Ctrl-H (partially)
2021-07-10 15:24:32 +00:00
### K-Timing -> Alpha Timing
2021-08-09 12:25:44 +00:00
makes doing alpha timing significantly easier
by getting rid of the part where you do alpha timing.
2021-07-10 15:24:32 +00:00
2021-08-09 12:25:44 +00:00
originally created to convert stuff that should've been alpha timed in the first place
but used a weird hack with `\ko` instead.
2021-07-10 15:24:32 +00:00
2021-08-21 12:48:00 +00:00
### 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!**
2021-07-06 19:45:18 +00:00
### Scenebleed Detector
Finds scenebleeds in the selected lines, and marks them with an effect (`bleed`).
2021-08-09 12:25:44 +00:00
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
2021-08-09 12:25:44 +00:00
have a guess