A CLI to create videos overlaid with text.
Project description
ViralOverlay™
Add styled, timed text to videos 'n GIFs! Kinda like this:
Usage
$ vo <path_to_video> <path_to_json_transcript OR json_transcript_string> [--gif if you want a gif instead of an mp4]
(lots of ffmpeg output...)
Okay, I overlaid your text on <path_to_video_overlaid>.
The json_transcript
string or file should look like this:
[
{
"start": 1.03,
"stop": 1.21,
"text": "I"
},
{
"start": 1.21,
"stop": 1.44,
"text": "am"
},
{
"start": 1.45,
"stop": 1.84,
"text": "saying"
},
{
"start": 1.85,
"stop": 2.25,
"text": "some"
},
{
"start": 2.25,
"stop": 2.97,
"text": "words"
}
]
See sibling projects Transcribe all the Things and tpro for easy, automatic generation of such transcripts.
Installation
pip install viraloverlay
brew install ffmpeg # (if you don't have ffmpeg already)
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
viraloverlay-0.1.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for viraloverlay-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cab064c8cc8f68c8289f055952a353c77a2a9345fe8a8a838f8a30214caf522 |
|
MD5 | 590ef642e795747470a1c04159c6492f |
|
BLAKE2b-256 | 2a2107e5f68d96cc5d78e21f040ddb02c15815bb0af81c6ff2dea94e304bc48a |