Skip to content

a telegram bot for compressing/encoding videos in h264 format.

License

Notifications You must be signed in to change notification settings

fractal-fumbler/Video-Encoder-Bot

 
 

Repository files navigation

Video-Encoder-Bot

a telegram bot for compressing/encoding videos in h264 format.

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

About

a telegram bot for compressing/encoding videos in h264 format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%