🎬 AI Video Caption Generator
Automatically add AI-generated captions to your videos with custom styling!
✨ Features
- 🎤 AI Speech-to-Text - OpenAI Whisper for accurate transcription
- 🎨 Two Caption Modes:
- Full Sentence (Classic) - Traditional subtitle style
- Word-by-Word (TikTok Style) 🔥 - Shows 2-3 words at a time
- 🎯 Customizable Styling:
- Font size (24-96px)
- Text color
- Background color
- Words per screen (1-5)
- 📹 Multiple Formats - MP4, AVI, MOV, MKV, WebM
- ⚡ Fast Processing - Optimized for speed
- 💫 Beautiful Interface - Easy to use Gradio UI
🔥 Caption Modes
Full Sentence (Classic)
Traditional subtitles that show complete sentences. Perfect for:
- Movies and documentaries
- Educational content
- Long-form videos
Word-by-Word (TikTok Style)
Dynamic captions that show 2-3 words at a time. Perfect for:
- TikTok videos
- YouTube Shorts
- Instagram Reels
- Viral social media content
🎯 How to Use
- Upload your video file
- Choose caption mode:
- Full Sentence for traditional look
- Word-by-Word for viral social media style
- Customize appearance:
- Adjust font size
- Pick text color
- Choose background color
- Set words per screen (for word-by-word mode)
- Click "Generate Captions"
- Download your captioned video!
🛠️ Technology Stack
- Whisper AI - Accurate speech recognition with word-level timestamps
- MoviePy - Professional video processing
- Gradio - Beautiful, intuitive user interface
- PIL/Pillow - High-quality text rendering
📊 Supported Formats
Input: MP4, AVI, MOV, MKV, WebM
Output: MP4 with H.264 video and AAC audio
🌍 Multi-Language Support
Whisper AI supports 99+ languages including:
- English, Spanish, French, German
- Chinese, Japanese, Korean
- Arabic, Hindi, Urdu
- And many more!
💡 Tips for Best Results
- Use clear audio for better transcription
- Try different caption modes for different content types
- Adjust font size based on video resolution
- Use high contrast colors for better readability
- For social media: Use Word-by-Word mode with 2-3 words
🎬 Perfect For
- Content creators
- Social media marketers
- Video editors
- Educators
- Businesses
- Anyone creating video content!
📝 Credits
Built with ❤️ by Muhammad Hasnain
Using:
- OpenAI Whisper
- MoviePy
- Gradio
- Python
Start creating engaging captioned videos now! 🚀