Create a color clip with overlaid text
Project description
vidtoolz-colored-textclip
Create a color clip with overlaid text
Installation
First install vidtoolz.
pip install vidtoolz
Then install this plugin in the same environment as your vidtoolz application.
vidtoolz install vidtoolz-colored-textclip
Usage
type vid textclip --help to get help
usage: vid textclip [-h] [-f FONT] [-fs FONTSIZE] [-d DURATION]
[-fd FADE_DURATION] [-tc TEXT_COLOR] [-bg BG_COLOR]
[-gc GRADIENT_COLORS] [-s SIZE] [-o OUTPUT] [--fps FPS]
[-p PADDING]
text
Create a color clip with overlaid text
positional arguments:
text Text to display.
optional arguments:
-h, --help show this help message and exit
-f FONT, --font FONT Font name to use. Ex Noteworthy, Melno, Papyrus,
Zapfino (default: Arial)
-fs FONTSIZE, --fontsize FONTSIZE
Font size. (default: 80)
-d DURATION, --duration DURATION
Duration of video in seconds. (default: 5.0)
-fd FADE_DURATION, --fade-duration FADE_DURATION
Fade-in/out duration. (default: 1.0)
-tc TEXT_COLOR, --text-color TEXT_COLOR
Text color. (default: white)
-bg BG_COLOR, --bg-color BG_COLOR
Background color as R,G,B. (default: (0, 0, 0))
-gc GRADIENT_COLORS, --gradient-colors GRADIENT_COLORS
Semicolon-separated list of R,G,B colors for the
gradient background. e.g. 255,0,0;0,0,255
-s SIZE, --size SIZE Video size as width,height. (default: 1920,1080)
-o OUTPUT, --output OUTPUT
Output video file name. (default: None)
--fps FPS Frames per second. (default: 60)
-p PADDING, --padding PADDING
Padding on text (default: 30)
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd vidtoolz-colored-textclip
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest
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 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 vidtoolz_colored_textclip-0.0.2.tar.gz.
File metadata
- Download URL: vidtoolz_colored_textclip-0.0.2.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52b88533468d1ccacd32c926511afe3b87e2bc339253f099fdef984e1ad49049
|
|
| MD5 |
ef04b02a955a6e77e28b3e7bbfeb6f53
|
|
| BLAKE2b-256 |
a74c6ec3f462e40732f1aa9bcdb3aa01b248c4d3f901848a17c4dc949fae8ad5
|
Provenance
The following attestation bundles were made for vidtoolz_colored_textclip-0.0.2.tar.gz:
Publisher:
publish.yml on sukhbinder/vidtoolz-colored-textclip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vidtoolz_colored_textclip-0.0.2.tar.gz -
Subject digest:
52b88533468d1ccacd32c926511afe3b87e2bc339253f099fdef984e1ad49049 - Sigstore transparency entry: 822716298
- Sigstore integration time:
-
Permalink:
sukhbinder/vidtoolz-colored-textclip@145aecac5e6876e65b553dc6fc7187a32bad8d12 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@145aecac5e6876e65b553dc6fc7187a32bad8d12 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vidtoolz_colored_textclip-0.0.2-py3-none-any.whl.
File metadata
- Download URL: vidtoolz_colored_textclip-0.0.2-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9e5549e630d54c089431a79716f66fff4916f0aeb362132e1790c11ab8502bd
|
|
| MD5 |
a74cbb6dae98b2651aace4b60d802bea
|
|
| BLAKE2b-256 |
074949cbf7aebf698cb7f9785081b2a61198c0396fb8021708af129e7d1a4aec
|
Provenance
The following attestation bundles were made for vidtoolz_colored_textclip-0.0.2-py3-none-any.whl:
Publisher:
publish.yml on sukhbinder/vidtoolz-colored-textclip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vidtoolz_colored_textclip-0.0.2-py3-none-any.whl -
Subject digest:
d9e5549e630d54c089431a79716f66fff4916f0aeb362132e1790c11ab8502bd - Sigstore transparency entry: 822716379
- Sigstore integration time:
-
Permalink:
sukhbinder/vidtoolz-colored-textclip@145aecac5e6876e65b553dc6fc7187a32bad8d12 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@145aecac5e6876e65b553dc6fc7187a32bad8d12 -
Trigger Event:
release
-
Statement type: