Add text to a video file
Project description
vidtoolz-add-text
Add text to a video file
Installation
First install vidtoolz.
pip install vidtoolz
Then install this plugin in the same environment as your vidtoolz application.
vidtoolz install vidtoolz-add-text
Usage
type vid addtext --help to get help
usage: vid addtext [-h] [-o OUTPUT]
[-p {top-left,top-right,bottom-left,bottom-right,center,bottom}]
[-st START_TIME] [-et END_TIME] [-f FONTSIZE]
main_video text
Add text to a video file
positional arguments:
main_video Path to the main video file.
text Text to write
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
Output video file name (default: output.mp4)
-p {top-left,top-right,bottom-left,bottom-right,center,bottom}, --position {top-left,top-right,bottom-left,bottom-right,center,bottom}
Position of the text (default: bottom)
-st START_TIME, --start-time START_TIME
Start time when text should appear
-et END_TIME, --end-time END_TIME
End time when text should disappear
-f FONTSIZE, --fontsize FONTSIZE
Fontsize default:50
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd vidtoolz-add-text
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
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_add_text-0.0.3.tar.gz.
File metadata
- Download URL: vidtoolz_add_text-0.0.3.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5815cb0463c1d2c68363cf05037be3897d6286701dcfaad304ca16d0f88df1e1
|
|
| MD5 |
780d9e5d4b371f42c3b8af109439850f
|
|
| BLAKE2b-256 |
9318d253a240b90d08729df3c877e157b0eff1e63f95e401798a8b76b696d155
|
Provenance
The following attestation bundles were made for vidtoolz_add_text-0.0.3.tar.gz:
Publisher:
publish.yml on sukhbinder/vidtoolz-add-text
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vidtoolz_add_text-0.0.3.tar.gz -
Subject digest:
5815cb0463c1d2c68363cf05037be3897d6286701dcfaad304ca16d0f88df1e1 - Sigstore transparency entry: 194960339
- Sigstore integration time:
-
Permalink:
sukhbinder/vidtoolz-add-text@2a3a5a7b3b6028d70867d7f5b35f39140a09d056 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2a3a5a7b3b6028d70867d7f5b35f39140a09d056 -
Trigger Event:
release
-
Statement type:
File details
Details for the file vidtoolz_add_text-0.0.3-py3-none-any.whl.
File metadata
- Download URL: vidtoolz_add_text-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
607e5e7d144a018e0772f46615773ac763d6db1038c3628a60506f5ccab56b70
|
|
| MD5 |
110be56c90c5e72706c7fe4eca18aed2
|
|
| BLAKE2b-256 |
de8a518fc5c9d8fdb38527753f479709c1caa4ca23b71b6c0bf38dc06b911d40
|
Provenance
The following attestation bundles were made for vidtoolz_add_text-0.0.3-py3-none-any.whl:
Publisher:
publish.yml on sukhbinder/vidtoolz-add-text
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vidtoolz_add_text-0.0.3-py3-none-any.whl -
Subject digest:
607e5e7d144a018e0772f46615773ac763d6db1038c3628a60506f5ccab56b70 - Sigstore transparency entry: 194960341
- Sigstore integration time:
-
Permalink:
sukhbinder/vidtoolz-add-text@2a3a5a7b3b6028d70867d7f5b35f39140a09d056 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/sukhbinder
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2a3a5a7b3b6028d70867d7f5b35f39140a09d056 -
Trigger Event:
release
-
Statement type: