Skip to main content

Description

This is a simple filter that fills the borders of a clip, without changing the clip’s dimensions.

Installation

The plugin is published on PyPI as vapoursynth-fillborders:

python -m pip install vapoursynth-fillborders

Wheels are provided for Windows on x86-64, and for macOS and Linux on both x86-64 and arm64.

The wheel places the plugin in the vapoursynth/plugins directory of the target Python environment, which VapourSynth autoloads, so no further setup is needed.

Usage

fb.FillBorders(clip clip[, int left=0, int right=0, int top=0, int bottom=0, string mode="repeat", int interlaced=0])
left, right, top, bottom

Number of pixels to fill on each side. These can be any non-negative numbers, within reason. If they are all 0, the input clip is simply passed through.

mode
“repeat”

Fills the borders using the outermost line or column.

“mirror”

Fills the borders by mirroring.

“fillmargins”

Fills the borders exactly like the Avisynth filter FillMargins, version 1.0.2.0. This mode is similar to “repeat”, except that each pixel at the top and bottom borders is filled with a weighted average of its three neighbours from the previous line.

“fixborders”

A direction “aware” modification of FillMargins. It also works on all four sides.

interlaced

Fills the top and bottom borders only with pixels taken from the same field. Possible values are 1 (always on), 0 (always off), and -1 (uses the _FieldBased frame property to decide if interlaced processing should be used or not).

Supported formats are 8 to 16 bit integer, half precision float and single precision float.

“repeat” and “mirror” only copy samples, so their output is always bit exact. “fillmargins” and “fixborders” average neighbouring samples; for both float formats that averaging is done in single precision.

On subsampled formats the borders are converted to chroma resolution by rounding up, so that a chroma sample overlapping any filled luma sample is filled too.

Compilation

Requires VapourSynth to be installed and importable by the Python that Meson finds, because the include path is queried with vapoursynth.get_include().

meson setup build
ninja -C build

To build a wheel instead:

python -m build

License

The license is WTFPL; see the LICENSE file.

Metadata

Release files for vapoursynth-fillborders 5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vapoursynth-fillborders 5.0
File Size Uploaded Provenance Actions
vapoursynth_fillborders-5.0.tar.gz 11.1 kB With provenance Details for vapoursynth_fillborders-5.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-fillborders 5.0
File Actions
vapoursynth_fillborders-5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for vapoursynth_fillborders-5.0-py3-none-win_amd64.whl
vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details for vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_x86_64.whl
vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details for vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_aarch64.whl
vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details for vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
vapoursynth_fillborders-5.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for vapoursynth_fillborders-5.0-py3-none-macosx_11_0_arm64.whl
vapoursynth_fillborders-5.0-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details for vapoursynth_fillborders-5.0-py3-none-macosx_10_15_x86_64.whl

Total release size: 2.4 MB

Release files / vapoursynth_fillborders-5.0.tar.gz

Download URL vapoursynth_fillborders-5.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
1953aa87fdf8c540b7dbd2c4cf39ecb7de0454e950f9cd8b162ee3cdfa4b2fd1
BLAKE2b-256 checksum
How to use checksums
3051e1e8c07ebc02df429f409526b2002b1a8d28360743381e68aeca5eb28b67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-win_amd64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-win_amd64.whl
Size 128.6 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
9fa7d4a7123f00814e516b44878b0d3aab7ab52c9899f103617380e48757ee3c
BLAKE2b-256 checksum
How to use checksums
e6a2bce68b5fb83ff0839f89fbcab869773cdd8ea77a92e6de2e131fb184e09a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_x86_64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_x86_64.whl
Size 1.1 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8257f02831a09d6c4652cc2a1cc7b1652bbe5a28b1811c2f98874220cec8e007
BLAKE2b-256 checksum
How to use checksums
e8c564a87f604ca2d378e129b5d8ac52c2ab3e0fd03d99669a5b94e32602255f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_aarch64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-musllinux_1_2_aarch64.whl
Size 1.0 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
126c5c87d8ce42773110589f08e7c1f7875583b74e7080de43a704d9439254de
BLAKE2b-256 checksum
How to use checksums
28f7589e11c89dbdd25ee8fce024028ad412b891275b1a362ae362cf74b181e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.7 kB
Tags Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
72288b7c32d1dab7f9983e908b18d4ee92ad9ac5692c07ad58407912de944376
BLAKE2b-256 checksum
How to use checksums
a5aa617b5a8ffd2c768ea3d7e4b45bc0d66580a40f286af51c5311f755e8255e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 38.6 kB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
5cb87f79de77943801d0f51ef45614ebf2394c72f8ef9fba27d711d6ae451c60
BLAKE2b-256 checksum
How to use checksums
0763759d800aa78a75c26b2ccd9c2138967607520bbb984721964389ad324d86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-macosx_11_0_arm64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-macosx_11_0_arm64.whl
Size 26.7 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b30000926270fa4d6e957aabfb5ddfcfdcc3bb46b91e0b773a40a8c4f48aa236
BLAKE2b-256 checksum
How to use checksums
d78282e896767073429928f4c47e3e25f74e984c8baa1c59308eecb949ff1a3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / vapoursynth_fillborders-5.0-py3-none-macosx_10_15_x86_64.whl

Download URL vapoursynth_fillborders-5.0-py3-none-macosx_10_15_x86_64.whl
Size 29.8 kB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
66e715076fc4a1c172ff84e98b3a77eb8c7eb3b7c340ad2248a29889c26e447a
BLAKE2b-256 checksum
How to use checksums
498ad5c578693aeb5c23185c03849192ada5532f7ded4af2149277e6973f303c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for vapoursynth-fillborders 5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for vapoursynth_fillborders-5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page