Back to Projects

Random Facts Video Generator

2024 Automation
Random Facts Video Generator

About the Project

A fully automated video generator that shares interesting facts daily on social media platforms.

Description

I created a Python script that automatically makes short videos with random facts. The script selects a fact from a list and converts it to speech using TTS. With OpenAI's Whisper, I automatically generate subtitles with accurate timestamps, which are then added as visual subtitles to the video using FFmpeg.

Afterwards, the script selects a random piece of gameplay from a folder and a fragment of a music track, and combines everything into a complete video. Additionally, I automatically upload the videos to YouTube and TikTok according to a schedule, including dynamic descriptions based on a part number.

This script uploaded 3 videos per day completely automatically on two different platforms.

Results

YouTube

Watch the videos on YouTube

Visit Channel

TikTok

Watch the videos on TikTok

Visit Profile

Technologies

Python Python
FFmpeg
OpenAI Whisper
TTS
YouTube API
TikTok API