--- title: Subtitle Burner & Uploader emoji: 🎬 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 6.5.1 python_version: '3.10' app_file: app.py pinned: false license: apache-2.0 --- # 🎬 Video Subtitle Burner & Uploader A Gradio application that burns subtitles into videos and uploads them to abyss.to ## Features - ✅ Download videos from Google Drive or direct URLs - ✅ Burn SRT subtitles into video using FFmpeg - ✅ Upload processed video to abyss.to (hydrax.net) - ✅ Simple web interface with progress tracking - ✅ Support for Sinhala and other Unicode subtitles ## How to Use 1. **Video URL**: Paste your Google Drive link or direct video URL - Google Drive: `https://drive.google.com/file/d/FILE_ID/view` - Direct: Any `.mp4` URL 2. **Subtitle Content**: Paste your SRT subtitle file content ``` 1 00:00:01,000 --> 00:00:04,000 මේ උදාහරණ subtitle එකක් 2 00:00:04,500 --> 00:00:08,000 This is an example subtitle ``` 3. Click **Process & Upload** and wait for completion 4. Get the abyss.to upload response with your video link! ## Technical Details - **FFmpeg**: Used for burning subtitles with custom styling - **Gradio**: Web interface framework - **gdown**: Google Drive file downloads - **requests**: HTTP operations and file uploading ## Important Notes ⚠️ **Processing Time**: Video processing can take several minutes depending on video size and length ⚠️ **File Size Limits**: Large videos may take longer or fail on free tier ⚠️ **Subtitle Format**: Only SRT format is supported ## Troubleshooting ### Error: Download failed - Check if the Google Drive link is publicly accessible (Anyone with the link can view) - Verify the direct URL is correct and accessible ### Error: Upload to abyss.to failed - Check the upload URL is correct - Verify file size is within limits ## License Apache 2.0 --- Built with ❤️ using Gradio, FFmpeg, and Python