Skip to main content

Wobbly Vapoursynth Functions.

Project description

vs-wobbly

PyPI - Python Version PyPI GitHub commits since tagged version PyPI - License Discord

A collection of VapourSynth functions for parsing and filtering wobbly files. Full information on how every function works, as well as a list of dependencies and links, can be found in the docstrings of each function and class. For further support, drop by #dev in the JET Discord server.

How to install

Install vswobbly with the following command:

pip install vswobbly

How to use

Simplest way to use it is to pass a wobbly file (.wob) to WobblyProcessor.from_file(), followed by calling apply().

from vswobbly import WobblyProcessor,

wob = WobblyProcessor.from_file('C:/path/to/wobbly.wob')
clip = wob.apply()

If you only need the parsed wobbly data, you can use WobblyParser.from_file():

from vswobbly import WobblyParser

wob = WobblyParser.from_file('C:/path/to/wobbly.wob')

This will return a WobblyParser data class, containing all the relevant data for video processing. Note that metadata, information about wobbly's UI, and wibbly parameters are currently excluded.

Strategies

Different "strategies" can be passed to WobblyProcessor to change how certain problems are handled internally. This package comes with a handful included.

For example, automatically handling combed frames with vinverse:

from vswobbly import WobblyProcessor, DecombVinverseStrategy

wob = WobblyProcessor.from_file(
    'C:/path/to/wobbly.wob',
    strategies=[DecombVinverseStrategy()]
)

clip = wob.apply()

Which would then run the DecombVinverseStrategy strategy on all combed frames.

This is written to be really flexible, and allow users to handle these problems however they see fit. To implement your own strategy, create a class and inherit from AbstractProcessingStrategy. Refer to the existing strategies and the docstrings of the abstract class for examples.

Note: For orphan field handling to be handled correctly, the strategy must have 'Orphan' in its name.

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

vswobbly-0.1.2.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

vswobbly-0.1.2-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

Details for the file vswobbly-0.1.2.tar.gz.

File metadata

  • Download URL: vswobbly-0.1.2.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for vswobbly-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f7e2e8fe146edf690f6e4dd0c3db7eaa14e7415c92a0ffedb4d0710e8532a961
MD5 be2c3a3a5250cc72541dfd59658a0dab
BLAKE2b-256 4a64c9ed08bb4a8b543735f09a574f7883043f2713ed92a97a8ab5f25a3cb0a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for vswobbly-0.1.2.tar.gz:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vs-wobbly

Attestations:

File details

Details for the file vswobbly-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vswobbly-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for vswobbly-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f545655bbdde150c995b3410136741ea37b079fa3baf1e979438ccca866d570d
MD5 c0f5464f677107ae5c25bf59bc3541cf
BLAKE2b-256 e8124e7981881ab8ce05785a298c850574f9da5a62bd539c7c798a7fe4f03058

See more details on using hashes here.

Provenance

The following attestation bundles were made for vswobbly-0.1.2-py3-none-any.whl:

Publisher: pypipublish.yml on Jaded-Encoding-Thaumaturgy/vs-wobbly

Attestations:

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