The_Encoder_Bot

Readme

Configuration

Add values in environment variables or add them in config.env.example and rename file to config.env.

Basics

Authorization

  • SUDO_USERS – Chat identifier of the sudo user. For multiple users use space as seperator.

Encode Settings

Optional

  • DOC_THUMB – (Optional) Thumbnail for document
  • UPLOAD_AS_DOC – (Optional) Uploads Video as doc if 1 else 0.
  • DOWNLOAD_DIR – (Optional) Temporary download directory to keep downloaded files.
  • ENCODE_DIR – (Optional) Temporary encode directory to keep encoded files.

Configuring Encoding Format

To change the ffmpeg profile edit them in ffmpeg.py

Deployment

With python3.7 or later.

pip3 install --no-cache-dir -r requirements.txt
bash run.sh

Credits

Copyright & License

Deploy on Heroku


herokudeploy-01

GitHub

View Github