Skip to main content

Description

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

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).

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vapoursynth_fillborders-4.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

vapoursynth_fillborders-4.0-py3-none-win_amd64.whl (156.5 kB view details)

Uploaded Python 3Windows x86-64

vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_x86_64.whl (1.1 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_aarch64.whl (1.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (21.8 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl (28.2 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ ARM64manylinux: glibc 2.28+ ARM64

vapoursynth_fillborders-4.0-py3-none-macosx_11_0_arm64.whl (15.0 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

vapoursynth_fillborders-4.0-py3-none-macosx_10_15_x86_64.whl (17.9 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file vapoursynth_fillborders-4.0.tar.gz.

File metadata

  • Download URL: vapoursynth_fillborders-4.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for vapoursynth_fillborders-4.0.tar.gz
Algorithm Hash digest
SHA256 e637c85a8ca89449519b6a82ded10c17071e5127e8ac8e26405854ea0ecc60a6
MD5 34b5c88e95010ea1377dde7aac26ea79
BLAKE2b-256 27a9799c45f9f90a5840806a8d8dde5b669538677b1a587f1162e4d3e2ceeba0

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0.tar.gz:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e6a9479d9c04adb1b664e6799029f7c1cb1069e8b3507aed70e91a12ee77e8eb
MD5 52516504659aeb743a8c50bcfc562bb8
BLAKE2b-256 69fe79f3108c3c50abfa3e5daf10607fe5544be6499f4b0391f50645b23ee0f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-win_amd64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dd658f7fda58f6ac20eee60bc08c9aaf18b839db6d1361f1aa521a30db3bb3aa
MD5 61d89fe5cd45aa66381a9e093a40db4c
BLAKE2b-256 bfef836f47dbd78cb8d77d8fa9b53c4f3950dc9d1d03a6b938ef25760ff9b800

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_x86_64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 5ca5ccce9ed06f1275e4ad3008d5d4bbeb26ddb626e2d222d63baa43a3cbd4e4
MD5 e589ac484c3fb79b6fbf60bfc367d933
BLAKE2b-256 d89e2cdc790730caa9d048863a2dfd130996e09dd48322000d4f144d883c47d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-musllinux_1_2_aarch64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2d1dbaa181a31554a2528311165ccb4fc23d5cfbe086858d4a7ad781a69028ae
MD5 d6b4fd158e18dde8adabefa1719e7f8b
BLAKE2b-256 07531952884dd119c2a55d0a067e69dd92b5b5d73e191c2c2ea5c4ba7380e2e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5484d194cbc7283daed70f5e78b464b29c1446186552ac7f8a290178516817a4
MD5 189bfa2e0e4d119e9099eff7b2cfe5c5
BLAKE2b-256 6a3a3b2ce7c89562d165be9febdb1d1044b9c32ad999a04922bedc0fb20315de

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 56e54914187b384b3048c906c46146603a4d4fcfd45941792d91538047dd35cd
MD5 69b4b260ab3ceaf97cd84b670a994725
BLAKE2b-256 f7d0d6f6e9e0996c9e24bb18050de662629e72236af1fce2115501ea956ca6b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-macosx_11_0_arm64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vapoursynth_fillborders-4.0-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for vapoursynth_fillborders-4.0-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6c31732ff1cf01e61aaf4c3f8bb6cb91e16b7b57937a59d92949390daebafc7b
MD5 57b630191dbd0f2f0ee38ce24f45a0e5
BLAKE2b-256 bacb9ab6d71bc3d02093152fef441342189d584a11e4120bb9a7c98203c86a09

See more details on using hashes here.

Provenance

The following attestation bundles were made for vapoursynth_fillborders-4.0-py3-none-macosx_10_15_x86_64.whl:

Publisher: build.yml on dubhatervapoursynth/vapoursynth-fillborders

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

4.0 This release

8 files

3.0

8 files

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