Skip to content

johnblack3/VideoBot

Repository files navigation

VideoBot

A Python-based tool that automates the process of creating captioned videos with voiceovers by combining background videos with text input. This program streamlines the video content creation process by handling text-to-speech conversion, caption generation, and video composition in one seamless workflow. This tool can also scrape Reddit for content, making it perfect for creating Reddit-story videos.

Note on VideoBot2: Version 2 of this project, which includes improved caption generation, enhanced voice capabilities, and an intuitive web-based user interface, is not publicly available at this time. The current repository contains version 1, which provides core functionality for video processing with captions and voiceovers. Please contact me if you wish to gain access to VideoBot2.

Features

  • Text-to-speech conversion for voiceover generation
  • Caption overlay on videos
  • Synchronized audio and visual elements
  • Support for multiple text/caption inputs
  • Background video integration
  • Easy-to-use batch processing capability for multiple videos
  • Automated Reddit content scraping with authenticated API access
  • Customizable Reddit post selection criteria

Setup

Create userinfo.txt according to the following setup:

userinfo.txt

CLIENT_ID
SECRET_KEY
AppName/Version
username
password

CLIENT_ID and SECRET_KEY are used for authenticating the Reddit API call. You must create an authorized application using a Reddit username and password at https://www.reddit.com/prefs/apps to create a CLIENT_ID and SECRET_KEY. The AppName/Version line contains the name of the application and the version (Ex. MyApp/0.0.1). The username and password lines are simply the Reddit username and password used to create the authorized application.

Installation of Libraries

Install the required packages: pip install -r requirements.txt

Usage

Call get_posts in reddit_scraper.py to generate a pandas DataFrame (df.csv) containing reddit posts.

Call main in main.py to generate an mp4 video file.

Use get_batch in main.py to generate multiple mp4 video files.

More features coming soon!

About

Generates customizable videos with auto-generated captions and voiceover

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages