Skip to main content

nnedi3vk

NNEDI3 is an intra-field only deinterlacer. It takes in a frame, throws away one field, and then interpolates the missing pixels using only information from the kept field. It has same rate and double rate modes. NNEDI3 is also very good for enlarging images by powers of 2.

Requirement

A Vulkan 1.4 capable GPU and driver.

Usage

nnedi3vk.NNEDI3(vnode clip, int field[, bint dh=False, int[] planes=[0, 1, 2], int nsize=6, int nns=1, int qual=1, int etype=0, int pscrn=2, bint coopvec=True, int device_index=0, bint list_device=False, int num_streams=2])
  • clip: Clip to process. Any format with either 8-16 bit integer or 16/32 bit float is supported.

  • field: Controls the mode of operation (double vs same rate) and which field is kept.

    • 0 = same rate, keep bottom field
    • 1 = same rate, keep top field
    • 2 = double rate (alternates each frame), starts with bottom
    • 3 = double rate (alternates each frame), starts with top
  • dh: Doubles the height of the input. Each line of the input is copied to every other line of the output and the missing lines are interpolated. If field=0, the input is copied to the odd lines of the output. If field=1, the input is copied to the even lines of the output. field must be set to either 0 or 1 when using dh=True.

  • planes: Specifies which planes will be processed. Any unprocessed planes will be simply copied in dh=False, but will contain uninitialized memory in dh=True.

  • nsize: Specifies the size of the local neighborhood around each pixel that is used by the predictor neural network. For image enlargement it is recommended to use 0 or 4. Larger y_diameter settings will result in sharper output. For deinterlacing larger x_diameter settings will allow connecting lines of smaller slope. However, what setting to use really depends on the amount of aliasing (lost information) in the source. If the source was heavily low-pass filtered before interlacing then aliasing will be low and a large x_diameter setting won't be needed, and vice versa.

    • 0 = 8x6
    • 1 = 16x6
    • 2 = 32x6
    • 3 = 48x6
    • 4 = 8x4
    • 5 = 16x4
    • 6 = 32x4
  • nns: Specifies the number of neurons in the predictor neural network. 0 is fastest. 4 is slowest, but should give the best quality. This is a quality vs speed option; however, differences are usually small. The difference in speed will become larger as 'qual' is increased.

    • 0 = 16
    • 1 = 32
    • 2 = 64
    • 3 = 128
    • 4 = 256
  • qual: Controls the number of different neural network predictions that are blended together to compute the final output value. Each neural network was trained on a different set of training data. Blending the results of these different networks improves generalization to unseen data. Possible values are 1 or 2. Essentially this is a quality vs speed option. Larger values will result in more processing time, but should give better results. However, the difference is usually pretty small. I would recommend using qual>1 for things like single image enlargement.

  • etype: Controls which set of weights to use in the predictor nn.

    • 0 = weights trained to minimize absolute error
    • 1 = weights trained to minimize squared error
  • pscrn: Controls whether or not the prescreener neural network is used to decide which pixels should be processed by the predictor neural network and which can be handled by simple cubic interpolation. The prescreener is trained to know whether cubic interpolation will be sufficient for a pixel or whether it should be predicted by the predictor nn. The computational complexity of the prescreener nn is much less than that of the predictor nn. Since most pixels can be handled by cubic interpolation, using the prescreener generally results in much faster processing. The prescreener is pretty accurate, so the difference between using it and not using it is almost always unnoticeable. Higher levels for the new prescreener result in cubic interpolation being used on fewer pixels (so are slower, but incur less error). However, the difference is pretty much unnoticable. Level 2 is closest to the original prescreener in terms of incurred error, but is much faster.

    • 0 = no prescreening
    • 1 = original prescreener
    • 2 = new prescreener level 0
    • 3 = new prescreener level 1
    • 4 = new prescreener level 2
  • coopvec: Runs the predictor neural network with FP16 tensor cores instead of FP32 subgroup GEMV. Requires VK_NV_cooperative_vector and hence NVIDIA only.

  • device_index: Index of the Vulkan device to use.

  • list_device: If True, raises an error listing the available Vulkan devices and their indices.

  • num_streams: Number of streams to run kernels in parallel on the Vulkan device.

Installation

pip install -U vapoursynth-nnedi3vk

Metadata

Release files for vapoursynth-nnedi3vk 1.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-nnedi3vk 1.0
File Size Uploaded
vapoursynth_nnedi3vk-1.0.tar.gz 12.8 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for vapoursynth-nnedi3vk 1.0
File
vapoursynth_nnedi3vk-1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
vapoursynth_nnedi3vk-1.0-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
vapoursynth_nnedi3vk-1.0-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
vapoursynth_nnedi3vk-1.0-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details
vapoursynth_nnedi3vk-1.0-py3-none-manylinux_2_34_aarch64.whl Python 3 none Linux glibc 2.34+ ARM64 Details
vapoursynth_nnedi3vk-1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
vapoursynth_nnedi3vk-1.0-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details

Total release size: 104.9 MB

Release files / vapoursynth_nnedi3vk-1.0.tar.gz

Download URL vapoursynth_nnedi3vk-1.0.tar.gz
Size 12.8 MB
Tags Source
SHA-256 checksum
How to use checksums
00a96a4cbccbb1a8ce76e4e2fea87d8f2addfc22cbc094d3cb5ecf3c9e3af754
BLAKE2b-256 checksum
How to use checksums
3be7a0064888cfac18a9ff1733c2087ca3078ba39e1f9a0fc5223ac2204dfa0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-win_amd64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-win_amd64.whl
Size 13.1 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
290c8845dead5b24a46db7f8d77ba1375359e578ca0ac177b94829895a063b30
BLAKE2b-256 checksum
How to use checksums
9f1e44c862fa8325aeaebe89e804ddc5c258840ccf163333c9b7b6a4b1eb6400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-musllinux_1_2_x86_64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-musllinux_1_2_x86_64.whl
Size 13.9 MB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a9a8ea6aefe0987a852217f8ed299a9e867fd44b62a9a0bedb2bd0f61609088c
BLAKE2b-256 checksum
How to use checksums
ec178ee20187652f657b30e721e239e33df1aa73f9ab36e49b95e2469cd8613e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-musllinux_1_2_aarch64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-musllinux_1_2_aarch64.whl
Size 13.8 MB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
76e611f2ea767a447ca8a0f97c2ae596c85825b963e9ffec261b79b741537b1b
BLAKE2b-256 checksum
How to use checksums
56f165732d52d571d690abb7ed674a951d661ed72246451059bf10ace552e952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-manylinux_2_34_x86_64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-manylinux_2_34_x86_64.whl
Size 12.8 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
634e7036cf45d91145312c42815ffdb11bda10f503cc702dfd718d4221ff52f9
BLAKE2b-256 checksum
How to use checksums
05a42134ad8f09e7a4865efd93c3bf5817c426d401902102c582755c80408f64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-manylinux_2_34_aarch64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-manylinux_2_34_aarch64.whl
Size 12.8 MB
Tags Linux glibc 2.34+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a5cf79d87055f3bc7b972efc809b09d2772da094b7a1a89d96777bbb548b066b
BLAKE2b-256 checksum
How to use checksums
e0e7f7e609a8879bb2c7add3b106651b6e808c0e4143bd976e4f2bd528140da9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-macosx_11_0_arm64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-macosx_11_0_arm64.whl
Size 12.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
deb9b45c539dfaee786d957247c9a6d503f1c03cf4f30b9cc1c84522ff3efbd3
BLAKE2b-256 checksum
How to use checksums
ed3e17752a01d096e8f950099441ebe2c22058c204ae9c40cb2b717fa656b060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release files / vapoursynth_nnedi3vk-1.0-py3-none-macosx_10_15_x86_64.whl

Download URL vapoursynth_nnedi3vk-1.0-py3-none-macosx_10_15_x86_64.whl
Size 12.8 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
e962df563f6307a30b46d945b75e3b053c0bf835f46a5425132292ade72a7149
BLAKE2b-256 checksum
How to use checksums
ca4bfec6455a865b13344d0e507967985d592858abf0d7268e9fadbef76878e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0 This release

8 release 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