File size: 1,974 Bytes
0a906ce c76d023 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce ebaa914 0a906ce | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | ---
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 |