Skip to main content

Create a color clip with overlaid text

Project description

vidtoolz-colored-textclip

PyPI Changelog Tests License

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


Download files

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

Source Distribution

vidtoolz_colored_textclip-0.0.2.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

vidtoolz_colored_textclip-0.0.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file vidtoolz_colored_textclip-0.0.2.tar.gz.

File metadata

File hashes

Hashes for vidtoolz_colored_textclip-0.0.2.tar.gz
Algorithm Hash digest
SHA256 52b88533468d1ccacd32c926511afe3b87e2bc339253f099fdef984e1ad49049
MD5 ef04b02a955a6e77e28b3e7bbfeb6f53
BLAKE2b-256 a74c6ec3f462e40732f1aa9bcdb3aa01b248c4d3f901848a17c4dc949fae8ad5

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidtoolz_colored_textclip-0.0.2.tar.gz:

Publisher: publish.yml on sukhbinder/vidtoolz-colored-textclip

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

File details

Details for the file vidtoolz_colored_textclip-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for vidtoolz_colored_textclip-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d9e5549e630d54c089431a79716f66fff4916f0aeb362132e1790c11ab8502bd
MD5 a74cbb6dae98b2651aace4b60d802bea
BLAKE2b-256 074949cbf7aebf698cb7f9785081b2a61198c0396fb8021708af129e7d1a4aec

See more details on using hashes here.

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

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page