Skip to content

zYxDevs/VideoEncoder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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 100.0%