A command-line utility for applying artistic effects to videos
Project description
Siss
A command-line tool for applying duotone and halftone effects to video files. Duotone maps per-pixel luminance to a linear blend between two user-supplied RGB colors; halftone renders plus, asterisk, or slash symbols at luminance-proportional sizes. Accepts hex strings, CSS named colors, RGB triples, and named two-color palettes.
Features
- Duotone – maps per-pixel luminance to a linear gradient between two RGB colors;
color1is applied to dark areas,color2to light areas - Halftone – renders plus, asterisk, or slash symbols at sizes proportional to local luminance, with independent symbol and background colors
- Color input – accepts 3- and 6-digit hex strings (with or without
#), case-insensitive CSS named colors, RGB integer triples, and named two-color palettes via--palette - Codec selection – probes
cv2.VideoWriter_fourcccandidates per output format and OS; falls back through a priority list until a working codec is found
Installation
pip install siss
Quick Start
After installation, run siss from the command line:
siss input_video.mp4 output_video.mp4 --effect duotone
Specifying Colors
Colors accept hex strings, CSS names, RGB triples, or curated palettes:
siss input.mp4 output.mp4 --effect duotone --color1 "#3b1f4b" --color2 gold
siss input.mp4 output.mp4 --effect duotone --palette sunset
siss --list-palettes
Example Effects
Duotone Effect
siss input.mp4 output.mp4 --effect duotone --color1 56 12 45 --color2 217 237 3
Applies a duotone effect with deep purple mapped to dark areas and bright yellow-green to light areas.
Halftone Effect
siss input.mp4 output.mp4 --effect halftone --symbol_type slash --symbol_size 20 --color1 56 12 45 --color2 217 237 3
Applies a halftone effect with slash symbols at luminance-proportional sizes.
Documentation
See the GitHub repository for full documentation.
Requirements
- Python 3.7+
- OpenCV (
cv2) - NumPy
- tqdm
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
Built Distribution
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 siss-0.2.1.tar.gz.
File metadata
- Download URL: siss-0.2.1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8426c32cd39a72e8025db094cdab7c841914f9ba23cf54e85acf6f23caaf960
|
|
| MD5 |
24520a2f06092bd28e870ff5167ee0a2
|
|
| BLAKE2b-256 |
e9298a9f68043b8fe42d889052d889b8b8e2946979c89e85ee13e3e57631030c
|
Provenance
The following attestation bundles were made for siss-0.2.1.tar.gz:
Publisher:
publish.yml on MichailSemoglou/siss
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
siss-0.2.1.tar.gz -
Subject digest:
e8426c32cd39a72e8025db094cdab7c841914f9ba23cf54e85acf6f23caaf960 - Sigstore transparency entry: 2012128283
- Sigstore integration time:
-
Permalink:
MichailSemoglou/siss@0651bdb14729d963b3300f897b86ebd2346b06d7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/MichailSemoglou
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0651bdb14729d963b3300f897b86ebd2346b06d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file siss-0.2.1-py3-none-any.whl.
File metadata
- Download URL: siss-0.2.1-py3-none-any.whl
- Upload date:
- Size: 18.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c00c1db92c3567b4f8a1a3594a5542e8f693fd18c26411344816f886663477c
|
|
| MD5 |
19aca909c08373d483f948f3c1e73521
|
|
| BLAKE2b-256 |
b0eac719f3640aba1bc4156aa46c5b85d044e9a5ad6ca2592342814671bf17be
|
Provenance
The following attestation bundles were made for siss-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on MichailSemoglou/siss
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
siss-0.2.1-py3-none-any.whl -
Subject digest:
4c00c1db92c3567b4f8a1a3594a5542e8f693fd18c26411344816f886663477c - Sigstore transparency entry: 2012128656
- Sigstore integration time:
-
Permalink:
MichailSemoglou/siss@0651bdb14729d963b3300f897b86ebd2346b06d7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/MichailSemoglou
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0651bdb14729d963b3300f897b86ebd2346b06d7 -
Trigger Event:
release
-
Statement type: