Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abirhasan2005/watermark-bot
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005
https://github.com/abirhasan2005/watermark-bot
ffmpeg pyrogram telegram-bot video video-watermark watermark
Last synced: 13 days ago
JSON representation
A Telegram Video Watermark Adder Bot in Pyrogram by @AbirHasan2005
- Host: GitHub
- URL: https://github.com/abirhasan2005/watermark-bot
- Owner: AbirHasan2005
- License: mit
- Created: 2021-03-28T15:11:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T11:17:23.000Z (11 months ago)
- Last Synced: 2024-08-09T13:14:02.457Z (3 months ago)
- Topics: ffmpeg, pyrogram, telegram-bot, video, video-watermark, watermark
- Language: Python
- Homepage: https://t.me/VideoWatermark_Bot
- Size: 72.3 KB
- Stars: 127
- Watchers: 1
- Forks: 340
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Watermark-Bot
A Telegram Video Watermark Adder Bot by [@AbirHasan2005](https://github.com/AbirHasan2005)## Features:
- Save Custom Watermark Image.
- Auto Resize Watermark According to Video quality.
- Easy Apply saved watermark to video.
- Progress of all tasks.
- Can Choose [FFMPEG](https://www.ffmpeg.org/) Process Preset.
- Can Cancel Process. *(Beta)*
- Any Channel or Group Force Sub.
- Logs Process in any channel.
- Broadcast Feature.
- Can Save Watermark Position for users.
- Can Save Watermark Size for users.
- Can Upload to [Streamtape](https://streamtape.com/) if File Size is more than 2GB.## Configs:
- `API_ID` - Get this from [@TeleORG_Bot](https://t.me/TeleORG_Bot)
- `API_HASH` - Get this from [@TeleORG_Bot](https://t.me/TeleORG_Bot)
- `BOT_TOKEN` - Get this from [@BotFather](https://t.me/BotFather)
- `BOT_USERNAME` - You Bot Username. *(Without [@])*
- `LOG_CHANNEL` - Logs Channel ID
- `OWNER_ID` - Bot Owner UserID
- `DATABASE_URL` - MongoDB Database URI
- `UPDATES_CHANNEL` - Force Sub Channel ID *(Optional)*
- `PRESET` - Video Encoding Preset Type *(Optional)*
- Better put `ultrafast` or `superfast` or `veryfast`
- `STREAMTAPE_API_PASS` - Get this from [Here](https://streamtape.com/accpanel#collapseThree).
- For Uploading to Streamtape if File Size is more than 2GB.
- `STREAMTAPE_API_USERNAME` - Get this from [Here](https://streamtape.com/accpanel#collapseThree).
- For Uploading to Streamtape if File Size is more than 2GB.## BotFather Commands:
```
start - start the bot
status - Show number of users in DB & Bot Status
broadcast - Broadcast replied message to DB Users
cancel - Cancel Current Task
settings - User Settings Panel
reset - Reset all settings to default
```## Deploy:
#### Easiest Way [Deploy To Heroku] 😪
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/AbirHasan2005/Watermark-Bot)
#### Video Tutorial:
[![YouTube](https://img.shields.io/badge/YouTube-Video%20Tutorial-red?logo=youtube)](https://www.youtube.com/watch?v=A7wnaKMHpvU&t)#### The Hard Way 🤕
```sh
git clone https://github.com/AbirHasan2005/Watermark-Bot
cd Watermark-Bot
virtualenv -p python3 VENV
. ./VENV/bin/activate
pip3 install -r requirements.txt
--- EDIT configs.py values appropriately ---
python3 bot.py
```### Follow on: