Skip to content

A Telegram bot to encode videos files via ffmpeg.

License

Notifications You must be signed in to change notification settings

OGANURAG/anu_slow_compress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Encoder Bot

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

Deploy to Heroku:

Deploy to Heroku

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.
  • API_ID - your telegram api id.
  • API_HASH - your telegram api hash.

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

About

A Telegram bot to encode videos files via ffmpeg.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Procfile 0.3%