Single field deinterlacer for VapourSynth
Project description
SangNom - VapourSynth Single Field Deinterlacer
- SangNom is a single field deinterlacer using edge-directed interpolation but nowadays it's mainly used in anti-aliasing scripts.
- This is a rewrite version of AviSynth SangNom2, and support more formats.
Build
- compiler with c++11 support
- -DVS_TARGET_CPU_X86 can enable the SSE2 code path which has a large benefit on performance
./autogen.sh
./configure
make
make install
Or
meson build && cd build
ninja
- build on linux
g++ src/sangnom.cpp -o libsangnom.dll -std=c++1y -O3 -shared -static -I/path/to/vapoursynth/headers -DVS_TARGET_CPU_X86
- build on windows
Usage
sangnom.SangNom(src, order=1, aa=48, planes=[0, 1, 2])
- the default setting, interpolates bottom field for all planes.
sangnom.SangNom(src, order=1, aa=[48, 0, 0], planes=[0, 1, 2])
- this simulates the default setting of AviSynth SangNom2
Parameter
sangnom.SangNom(clip clip[, int order=1, bint dh=False, int[] aa=[48, 48, 48], int[] planes=[0, 1, 2]])
- clip: the src clip
- 8..16 bit integer, 32 bit float support
- all color family support
- order: order of deinterlacing
- default: 1 (int)
- 0: double frame rate, must call std.SeparateFields().std.DoubleWeave() before processing
- 1: single frame rate, keep top field
- 2: single frame rate, keep bottom field
- default: 1 (int)
- 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.
- default: False (bool)
- note: if dh=True, it will force all planes to be processed.
- default: False (bool)
- aa: the strength of anti-aliasing, this value is considered in 8 bit clip
- default: [48, 48, 48] (int[])
- range: 0 ... 128
- note: the value of previous plane will be used if you don't specify it.
- note: in AviSynth SangNom2, the default is aa=[48, 0, 0]
- planes: planes which are processed
- default: [0, 1, 2]
- note: if dh=True, it will force all planes to be processed.
- default: [0, 1, 2]
License
SangNom - VapourSynth Single Field Deinterlacer
Copyright (c) 2016 james1201
Copyright (c) 2013 Victor Efimov
This project is licensed under the MIT license. Binaries are GPL v2.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vapoursynth_sangnom-43.0.tar.gz.
File metadata
- Download URL: vapoursynth_sangnom-43.0.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f692a21bf17e027f8bf213109cf34dc7b6b4c80ab1d71c7131c2817968fa6b1
|
|
| MD5 |
6de6e991d64d9049f5e0d651e110f844
|
|
| BLAKE2b-256 |
87ac4924468fc3ea4595ec9f400b3f13229534affa8c48f3f018221f1605381d
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0.tar.gz:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0.tar.gz -
Subject digest:
6f692a21bf17e027f8bf213109cf34dc7b6b4c80ab1d71c7131c2817968fa6b1 - Sigstore transparency entry: 1264440925
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-win_amd64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-win_amd64.whl
- Upload date:
- Size: 236.1 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b4dd5a329b8901df1ab8011bad57cdbba4869dcdfc4fa6a536cbca88b1dd7ca
|
|
| MD5 |
86119a47cdb70b70a0667987fd380b3a
|
|
| BLAKE2b-256 |
249f8b5d368b9a9cdc6ee8abfe955c61f5fde2682d19e5083ae24affb6362c5a
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-win_amd64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-win_amd64.whl -
Subject digest:
2b4dd5a329b8901df1ab8011bad57cdbba4869dcdfc4fa6a536cbca88b1dd7ca - Sigstore transparency entry: 1264441503
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d22fcedac4d267deb6abf6a1d2fc2041721144c2e5e7a2a8708df2b9027cf7e
|
|
| MD5 |
f251377884d0f98bf2878dc773bb8444
|
|
| BLAKE2b-256 |
2682c5d3906c32823f96858fd627220165ed603052e9e02c2c64e360d47fd2e0
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
3d22fcedac4d267deb6abf6a1d2fc2041721144c2e5e7a2a8708df2b9027cf7e - Sigstore transparency entry: 1264441025
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 998.5 kB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba7e9e1ad6df9699da479e573c920479131bf20ea7813c20df53d936ccfd1089
|
|
| MD5 |
216615debd2da93c84f7e957cee4423b
|
|
| BLAKE2b-256 |
186f68fb958478164af8913d643ea27e79e584d234f1c1a1db8ed9a999f788fc
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_aarch64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
ba7e9e1ad6df9699da479e573c920479131bf20ea7813c20df53d936ccfd1089 - Sigstore transparency entry: 1264441292
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 184.7 kB
- Tags: Python 3, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33501503d5132180c5dd7f94f23919a39b4606b90d9a79a56b0554418f2818c7
|
|
| MD5 |
dcb3f2924eae23356500926a8e44a2a0
|
|
| BLAKE2b-256 |
6b3d15dd3c9819a29e5dd844c8fb41987ab5cb7f5058f9a921449b16505df115
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
33501503d5132180c5dd7f94f23919a39b4606b90d9a79a56b0554418f2818c7 - Sigstore transparency entry: 1264441184
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 168.4 kB
- Tags: Python 3, manylinux: glibc 2.24+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b5acee51b67c86a08a56151852fb22e83dcce90b970e902072867678bbda07dd
|
|
| MD5 |
190dba1324bbd7793aeb6cab5951ad32
|
|
| BLAKE2b-256 |
db5136b42c12419adc253f355b3f1a6a5a510d787c5688312776859972d61581
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl -
Subject digest:
b5acee51b67c86a08a56151852fb22e83dcce90b970e902072867678bbda07dd - Sigstore transparency entry: 1264441617
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af3636125a82719b7af641892d94d28c26ebec88b119b1965594ed18cb5665a1
|
|
| MD5 |
98eedc0c1ccd4132704ee8d6109b633d
|
|
| BLAKE2b-256 |
f34c63d25c21c1ca4b106bde74d19adc3205086f0164216c0f5713936de044ce
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
af3636125a82719b7af641892d94d28c26ebec88b119b1965594ed18cb5665a1 - Sigstore transparency entry: 1264441378
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type:
File details
Details for the file vapoursynth_sangnom-43.0-py3-none-macosx_10_15_x86_64.whl.
File metadata
- Download URL: vapoursynth_sangnom-43.0-py3-none-macosx_10_15_x86_64.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc78ab275112fc700339d560a025a8030f6f5a229cb7ffe72de48b4bbf52535
|
|
| MD5 |
a6477fbaa24512e7bb576875e35433a5
|
|
| BLAKE2b-256 |
f53431d2cfc4634c18a4ccb5b630dad65d9f7eebb704a5b5436144e14424bd0d
|
Provenance
The following attestation bundles were made for vapoursynth_sangnom-43.0-py3-none-macosx_10_15_x86_64.whl:
Publisher:
build.yml on dubhatervapoursynth/vapoursynth-sangnom
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vapoursynth_sangnom-43.0-py3-none-macosx_10_15_x86_64.whl -
Subject digest:
0cc78ab275112fc700339d560a025a8030f6f5a229cb7ffe72de48b4bbf52535 - Sigstore transparency entry: 1264441109
- Sigstore integration time:
-
Permalink:
dubhatervapoursynth/vapoursynth-sangnom@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Branch / Tag:
refs/tags/r43 - Owner: https://github.com/dubhatervapoursynth
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@41516020e4e2f7bcddbe7f161bba5c08265fae7e -
Trigger Event:
push
-
Statement type: