Generate Reddit Text-to-Speech videos
Project description
Autovid
Python package to automate and simplify video creation.
What It Does
Autovid simplifies the text-to-speech video creation process by producing beautifully edited videos with minimal commands. :sparkles:
https://github.com/user-attachments/assets/ff08d7fc-5804-4ec7-930b-4a55bc38a834
:rocket: Getting Started
Prerequisites
-
Obtain a client key and secret from Reddit by creating an app here.
-
Install autovid via pip
pip install autovid
Usage
-
Import autovid and update the Reddit API id and secret to let autovid access Reddit.
import autovid as av av.api_keys.client_id = "my_client_id" av.api_keys.client_secret = "my_client_secret"
-
Autovid creates 'clips' that are combined to create the final video. Use the
redditpostcliporredditcommentclipmethods to create clips that can be passed to themakevideomethod to generate the video.q = [ av.redditpostclip("https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/"), av.redditcommentclip("https://www.reddit.com/r/reddit.com/comments/87/comment/c16lbx4"), ] av.makevideo(queue=q)
That's it! You can find your final video saved as temp/final.mp4!
Advanced
You can pass in parameters to the makevideo method to tweak the final video.
-
Adding background audio and video:
q = [ av.redditpostclip("https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/"), ] av.makevideo(queue=q, background_audio_path="lofi_music.mp3", background_video_path="minecraft.mp4")
Autovid will use these to add background music and videos to the final output. A 720p video works best!
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 autovid-0.0.2.tar.gz.
File metadata
- Download URL: autovid-0.0.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9d8cd80dbcedc1c27c3b737b51cf90c45a269cf1ef83b0f4b36f5a3cf388165
|
|
| MD5 |
7b1c7616f359a6b16e7cf668b2063999
|
|
| BLAKE2b-256 |
eb219e7e529b19a4e9799592d2bc3c708345ab76474d87a0f6ac8b2d1caab1d9
|
File details
Details for the file autovid-0.0.2-py3-none-any.whl.
File metadata
- Download URL: autovid-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09bde3508eb0c404f147589a66e5202e6f0a86a29e9d955dece165f8045aa25d
|
|
| MD5 |
a854cea484b28e7fe118cd63595d3ae3
|
|
| BLAKE2b-256 |
80ec6c2e1639dfd568f54050c7e88bd4e220ce3597e63e02a753544bdae816ec
|