a telegram bot for encoding videos in h264 format.
Add values in environment variables or add them in config.env.example and rename file to config.env
.
Basics
API_ID
- Get it by creating an app on https://my.telegram.orgAPI_HASH
- Get it by creating an app on https://my.telegram.orgBOT_TOKEN
- Get it by creating a bot on https://t.me/BotFather
Authorization
SUDO_USERS
- Chat identifier of the sudo user. For multiple users use space as seperator.
Encode Settings
RESOLUTION
- Keep 360,480,720,1080PRESET
- Keep f (fast),vf (Veryfast),sf (Superfast)TUNE
- Keep film or animationAUDIO
- Keep opus or aacCRF
- Keep anything from 25 to 30
Optional
DOC_THUMB
- (Optional) Thumbnail for documentUPLOAD_AS_DOC
- (Optional) Uploads Video as doc if1
else0
.DOWNLOAD_DIR
- VideoEncoder/utils/downloads/ENCODE_DIR
- VideoEncoder/utils/encodes/
pip3 install --no-cache-dir -r requirements.txt
bash run.sh
- ShannonScott for transcode_h265.py
- viperadnan-git for queue etc.
- Nikhil_Sequeira for [Making it to deploy through Okteto and Heroku]
- Copyright © 2021 — WeebTime
- Licensed under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE