𝓪𝓾𝓽𝓸𝓶𝓪𝓰𝓲𝓬𝓪𝓵𝓵𝔂
Project description
AutoClip
Automagically clip out objects obstructing your sign.
Install
Lua
- Add
https://raw.githubusercontent.com/Zahuczky/Zahuczkys-Aegisub-Scripts/main/DependencyControl.json
to DependencyControl. You may manually edit DependencyControl's config using the extraFeeds field, or use garret's DependencyControl Global Config script. - Install AutoClip from DependencyControl.
- If you prefer to manually install AutoClip, AutoClip's dependencies are
ILL.ILL
,aka.config
,aka.config2
,aka.outcome
,aka.unicode
, which is available at TypesettingTools/ILL-Aegisub-Scripts and Akatmks/Akatsumekusa-Aegisub-Scripts.
Python
- Install Python and VapourSynth.
- AutoClip requires additional VapourSynth plugins to be installed. Run
python3 vsrepo.py install lsmas fmtc dfttest
from VapourSynth's install path. - If you are using a portable version of Python and VapourSynth, in Aegisub, Select „Automation > AutoClip > Configure python path“ and paste in the path to your python executable.
Usage
- Time your sign to the whole cut.
You may already fbf or divide the lines into sections prior to clipping, in which case select all the lines that adds up to the cut. If you have layered the sign prior to clipping, you may only select one layer for AutoClip and copy the result to other layers afterwards. - Create a rect clip that covers your sign. This clip defines the area where AutoClip will be active. Anything outside this clip will not be clipped.
- Seek the video to a frame where, ideally, the sign is unobscured from the foreground object.
- Select „Automation > AutoClip > AutoClip“ and a new AutoClip window shall open.
- In the new window, adjust the slider until you get a satisfactory clip and click „Apply“.
License
- AutoClip is released by Zahuczkys and Akatsumekusa under BSD 3-Clause License.
- AutoClip uses Noto Sans Display Medium in the UI. Noto Sans Display is released by Google under SIL OFL 1.1 License.
TODO
- Handle moving signs/tracking data for those
- Signs with multiple layers? I forgot about that but Im already writing this readme so shrug.
- More sliders (probably bunch of other VS filters to fine-tune the clip area)
- Simplifying the clips to curves and such.
- Currently only the longest contour gets taken into account. Maybe combine them? Maybe a slider for this?
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ass_autoclip-2.0.0.tar.gz
(207.8 kB
view hashes)
Built Distribution
ass_autoclip-2.0.0-py3-none-any.whl
(209.2 kB
view hashes)
Close
Hashes for ass_autoclip-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e32bf43129d7eefebe68f415983a0595e3c446b92304e567a5d48a9460eefe |
|
MD5 | bb31347d8b97afe6d4bbd22a9a18c6fe |
|
BLAKE2b-256 | 4ac1d0a72e9f67d9c6626cae80195c22a954fe5a124f4d1df8ad846331a2ad70 |