This project is a Telegram bot designed to convert regular videos into round video messages (video notes). Perfect for creating engaging circular video messages that stand out in Telegram chats. Simply send a video, and the bot will handle the conversion automatically.
- 🎥 Convert any video to round video message
- ⚡ Fast processing with optimized settings
- 📐 Automatic resizing and cropping
- 🔄 Easy-to-use interface
- 📊 Admin statistics dashboard
- 🔍 Error tracking system
-
Clone the repository:
git clone https://github.com/bohd4nx/Telegram-Video-Bot.git cd Telegram-Video-Bot
-
Install FFmpeg:
# Windows (using chocolatey) choco install ffmpeg # Ubuntu/Debian sudo apt-get install ffmpeg # macOS brew install ffmpeg
-
Install the required dependencies:
pip install -r requirements.txt
-
Set Up Configuration:
- Edit
data/cfg.py
- Add your bot token from @BotFather
- Set admin ID (optional)
- Edit
-
Run the Bot:
python main.py
- Start bot with
/start
- Send any video file
- Wait for processing
- Receive round video message
- Forward to any chat
- Format: MP4 (recommended)
- Duration: Up to 60 seconds
- Size: Max 20MB
- Quality: 480p recommended
- Aspect: Square videos work best
We welcome all forks, suggestions, and improvements to this project. Your contributions help make this project better for everyone. Whether it's fixing a bug, adding a feature, or improving documentation, we appreciate your help in making this project the best it can be.
This project is MIT licensed. See LICENSE for more information.
If you find this project useful:
- Give it a star ⭐
- Share with others 🔄
- Consider contributing 🛠️