https://github.com/snatev/quoter
Automated application for generating short professional-looking quote videos
https://github.com/snatev/quoter
quote-generator quotes-application video-processing
Last synced: over 1 year ago
JSON representation
Automated application for generating short professional-looking quote videos
- Host: GitHub
- URL: https://github.com/snatev/quoter
- Owner: snatev
- Created: 2024-12-29T14:27:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-02T04:12:37.000Z (over 1 year ago)
- Last Synced: 2025-01-02T04:29:17.605Z (over 1 year ago)
- Topics: quote-generator, quotes-application, video-processing
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Generate short videos with quotes and music effortlessly. Easily create content for platforms like Instagram, TikTok, and YouTube Shorts. This is a first basic version, mainly for personal use.
## π **Features**
- ποΈ **Text Overlay**: Adds styled quotes and branding to videos.
- π οΈ **Extensible Codebase**: Modular design for easy customizations.
- π¨ **Video Effects**: Includes fade-in/out transitions and opacity-adjusted overlays.
- π΅ **Dynamic Music Integration**: Randomly selects music, trims, and syncs with videos.
- π **Quote Management**: Automatically cycles through quotes and removes duplicates.
- βοΈ **Video Trimming & Resizing**: Ensures perfect aspect ratios for social media platforms.
---
## π **How It Works**
| Component | Functionality |
|---------------------|------------------------------------------------------------------------------|
| `config.py` | Sets up directories and default files if they donβt exist. |
| `main.py` | Ties everything together for seamless video generation. |
| `music_manager.py` | Randomly selects and synchronizes background music with videos. |
| `video_processor.py`| Handles trimming, resizing, adding overlays, and applying fades to videos. |
| `quote_manager.py` | Manages quotes, ensures no duplicates, and cycles through them sequentially. |
---
## π **Folder Structure**
```plaintext
βββ quote_manager.py # Manages Quotes
βββ video_processor.py # Processes Videos
βββ config.py # Base Configuration
βββ main.py # Main Application Logic
βββ music_manager.py # Handles Music Integration
βββ folders/
β βββ videos/ # Input Video Files
β βββ musics/ # Input Music Files
β βββ saved_videos/ # Final Output Directory
β βββ final_video/ # Temporary Processing Directory
βββ static/
βββ Roboto-Regular.ttf # Overlay Font
βββ Roboto-Black.ttf # Branding Font
βββ quotes.txt # Contains Quotes
βββ last.txt # Tracks Last Quote
```