Skip to main content

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. ✨

https://github.com/user-attachments/assets/ff08d7fc-5804-4ec7-930b-4a55bc38a834

🚀 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 redditpostclip or redditcommentclip methods to create clips that can be passed to the makevideo method 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!

Metadata

Release files for autovid 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for autovid 0.0.2
File Size Uploaded
autovid-0.0.2.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for autovid 0.0.2
File Interpreter ABI Platform
autovid-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 kB

Release files / autovid-0.0.2.tar.gz

Download URL autovid-0.0.2.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b9d8cd80dbcedc1c27c3b737b51cf90c45a269cf1ef83b0f4b36f5a3cf388165
BLAKE2b-256 checksum
How to use checksums
eb219e7e529b19a4e9799592d2bc3c708345ab76474d87a0f6ac8b2d1caab1d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / autovid-0.0.2-py3-none-any.whl

Download URL autovid-0.0.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09bde3508eb0c404f147589a66e5202e6f0a86a29e9d955dece165f8045aa25d
BLAKE2b-256 checksum
How to use checksums
80ec6c2e1639dfd568f54050c7e88bd4e220ce3597e63e02a753544bdae816ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page