An Telegram Bot By Mahesh To Merge multiple Videos in Telegram into single video.
Bugs should be reported at: Telegram Group
- TODO's:
+ Add ability to edit metadata of exported video
- FEATURES:
+ (new) Option to add multiple audio tracks to telegram video
+ (new) Option to add multiple subtitles to telegram video
+ Upload Files to Drive (Send your rclone config to bot)
# 1. Send your rclone config to bot.
# 2. Then send videos to merge, after you tap "Merge Now", upload to drive option will available.
+ Merged video preserves all streams of the first video you send (i.e. all audiotracks/subtitles)
+ Merge Upto 10 videos in one
+ Upload as document/video
+ Custom thumbnail support
+ Users can login to bot using password
+ Owner can broadcast message to all users
+ Log Channel to store all merged videos
Goto settings > actions > secret > New Repository Secret
Add HEROKU_EMAIL
Add HEROKU_API_KEY
Add HEROKU_APP_NAME
Add CONFIG_FILE_URL
Goto Actions > Manual Deploy To Heroku > Run Workflow
TELEGRAM_API
: User Account Telegram API_ID, get it from my.telegram.orgAPI_HASH
: User Account Telegram API_HASH, get it from my.telegram.orgBOT_TOKEN
: Your Telegram Bot Token, get it from @Botfather XDOWNER
: Enter bot owner's IDOWNER_USERNAME
: User name of bot ownerDATABASE_URL
: Enter your mongodb URIPASSWORD
: Enter password to login botLOGCHANNEL
: Log channel will store all users merged videos ("-100" + "channel Id")USER_SESSION_STRING
: Premium account session string to upload upto 4GB (requiresLOGCHANNEL
)
start - Start The Bot
extract - Extract audios/subtitles from telegram media
showthumbnail - Shows your thumbnail
deletethumbnail - Delete your thumbnail
settings - User Settings to manage different modes
help - How to use Bot
about - About the bot
login - Access bot
ban - (admin only) Ban any user
unban - (admin only) Unban any user
log - (admin only) Get log file from server
broadcast - (admin only) Broadcast message to bot users
stats - (admin only) check bots stats
git clone https://github.com/MAHESH-KADALI/MERGE-BOT.git
cd MERGE-BOT
sudo apt-get install python3 python3-pip ffmpeg
pip3 install -U pip
pip3 install -U -r requirements.txt
<fill config.env correctly by looking at sample_config.env>
bash start.sh
Merge Bot, Telegram Video Merge Bot
Copyright (c) 2021 Yash Oswal <https://github.com/yashoswalyo>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>
- Me for solving some errors ๐
- Yash Oswal for Nothing ๐ฌ
- Dan for Pyrogram โค๏ธ
- Abir Hasan for his wonderful code โค๏ธ
- Jigarvarma2005 and SpechIDE for helping me to fix bugs ๐ค