https://github.com/bohd4nx/telegram-video-bot
Telegram bot designed to convert videos into round video messages.
https://github.com/bohd4nx/telegram-video-bot
message send-video telegram telegram-bot telegram-bots video-bot video-message video-tools
Last synced: 8 months ago
JSON representation
Telegram bot designed to convert videos into round video messages.
- Host: GitHub
- URL: https://github.com/bohd4nx/telegram-video-bot
- Owner: bohd4nx
- License: mit
- Created: 2024-01-26T16:24:10.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-23T07:41:47.000Z (9 months ago)
- Last Synced: 2025-01-23T08:27:51.199Z (9 months ago)
- Topics: message, send-video, telegram, telegram-bot, telegram-bots, video-bot, video-message, video-tools
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 14
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
๐ฑ Telegram Video Message Bot
### โญAbout the Project
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.
---
[](https://www.python.org)
[](https://github.com/bohd4nx/Telegram-Video-Bot/blob/main/LICENSE)
[](https://github.com/bohd4nx/Telegram-Video-Bot/)
[](https://github.com/bohd4nx/Telegram-Video-Bot/)
### ๐ Features
- ๐ฅ 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
### ๐จโ๐ปInstallation:
1. **Clone the repository:**
```bash
git clone https://github.com/bohd4nx/Telegram-Video-Bot.git
cd Telegram-Video-Bot
```
2. **Install FFmpeg:**
```bash
# Windows (using chocolatey)
choco install ffmpeg
# Ubuntu/Debian
sudo apt-get install ffmpeg
# macOS
brew install ffmpeg
```
3. **Install the required dependencies:**
```bash
pip install -r requirements.txt
```
4. **Set Up Configuration:**
- Edit `data/cfg.py`
- Add your bot token from [@BotFather](https://t.me/BotFather)
- Set admin ID (optional)
5. **Run the Bot:**
```bash
python main.py
```
### ๐ฑ How to Use
1. Start bot with `/start`
2. Send any video file
3. Wait for processing
4. Receive round video message
5. Forward to any chat
### ๐ Video Requirements
- Format: MP4 (recommended)
- Duration: Up to 60 seconds
- Size: Max 20MB
- Quality: 480p recommended
- Aspect: Square videos work best
### โContributions Welcome!
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.
### ๐ License
This project is MIT licensed. See LICENSE for more information.
### ๐ Support
If you find this project useful:
- Give it a star โญ
- Share with others ๐
- Consider contributing ๐ ๏ธ
---