Skip to main content

𝓪𝓾𝓽𝓸𝓶𝓪𝓰𝓲𝓬𝓪𝓵𝓵𝔂

Project description

AutoClip

Automagically clip out objects obstructing your sign.

Install

Lua

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

  1. 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.
  2. 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.
  3. Seek the video to a frame where, ideally, the sign is unobscured from the foreground object.
  4. Select „Automation > AutoClip > AutoClip“ and a new AutoClip window shall open.
  5. 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)

Uploaded Source

Built Distribution

ass_autoclip-2.0.0-py3-none-any.whl (209.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page