/VideoEncoder

A Telegram bot to encode videos files via ffmpeg.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Video Encoder Bot

A Telegram bot to convert videos into x265/x264 format via ffmpeg.

Configuration

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

  • BOT_TOKEN - Get it by creating a bot on @BotFather.
  • MONGO_URL - Mongo Database URL.

Configuring Encoding Format

To change the ffmpeg profile edit them in ffmpeg_utils.py

Installing Requirements

Install the required Python Modules in your machine.

apt-get -qq install ffmpeg
pip3 install -r requirements.txt

Deployment

With python3.7 or later.

python3 -m VideoEncoder

Credits

Thanks to ShannonScott for transcode_h265.py.
Original work by viperadnan.

Copyright & License