coloredcaps
Convert a video into colored YouTube XML captions (.ytt) made from block
characters.
Installation
Install coloredcaps from PyPI:
pip install coloredcaps
To install a local copy while developing:
pip install -e .
coloredcaps requires Python 3.10 or newer.
Usage
coloredcaps input.mp4
This creates output.ytt in the current folder.
Choose another output folder:
coloredcaps input.mp4 --output captions
Control the caption resolution and frame rate:
coloredcaps input.mp4 --cols 30 --fps 8
You can specify --cols, --rows, or let coloredcaps calculate both. The
maximum frame rate is 10 FPS.
To also create a black video containing the original audio:
coloredcaps input.mp4 --create-video
The --create-video option requires FFmpeg to be
installed and available on your PATH.
Uploading to YouTube
- Upload a video to YouTube, preferably the black video created with
--create-video. - On the Details tab, scroll down and select a video language.
- Open the Video elements tab at the top.
- Under subtitles, select Add and then Upload file.
- Select the generated
output.yttfile.
Run the following command to see every option:
coloredcaps --help
License
MIT
Metadata
Release files for coloredcaps 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| coloredcaps-0.1.0.tar.gz | 7.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| coloredcaps-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.2 kB
Release files / coloredcaps-0.1.0.tar.gz
| Download URL | coloredcaps-0.1.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5def770bf5c1dc60b426ab500e5327954456896d0bf291a2cdffb374310cf7c4
|
|
BLAKE2b-256 checksum How to use checksums |
10839e7b5b25495848e4eae70138923aa3575ab8f889e2ab360f4c154b212b9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|
Release files / coloredcaps-0.1.0-py3-none-any.whl
| Download URL | coloredcaps-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bd7778dd467cc78f1d458260ef1abf63517dc0312eb75ce0bf556da05ddb47c
|
|
BLAKE2b-256 checksum How to use checksums |
e8374e3fea83d29a2448be3db40419855c0ea8ef5d7f0baa49276d3674e1d662
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.2
|