/webm2mp4

Convert .webm video to .mp4 (via ffmpeg) to send over Telegram

Primary LanguagePythonMIT LicenseMIT

webm2mp4 Telegram bot

This bot converts .webm and .webp links/files to .mp4 videos and .jpg images respectively via ffmpeg.

Installation

  1. Install ffmpeg, python3-pip to your system
  2. Run pip3 install --user -r requirements.txt
  3. Run ./bot.py once to create a config file
  4. Edit config.json
  5. Run install-systemd-unit.sh script (optionally). Notice: sudo must be installed and configured.

License

MIT