/sub-muxer

Primary LanguagePythonMIT LicenseMIT

Sub-Muxer

Telegram bot to mux subtitle with video.

Deploy the bot on heroku

Deploy

Features

  • Softmux subtitle with video
  • Hardmux subtitle with video
  • Supported subtitle formats - (ass, srt)
  • Supported video formats - (mkv, mp4)

Notes

  • The subtitle file you add will be default subtitle file and will be placed as first stream of mkv file and the original streams will be placed below it in the same order.
  • Use /softremove command remove all other streams from video except first video and all audio streams.
  • When hardmuxing only the first Video amd the first Audio file will be present in the output file.

Commands

  • /help - To get some help about how to use the bot.
  • /softremove - Softmux the video and subtitle file removing all extra streams from the video.(Only keeps first video stream)
  • /softmux - softmux the sent video and subtitle file.
  • /hardmux - hardmux the sent video and subtitle file.

To-Do :

  • Download file using URL.
  • Hardmux support.
  • softmux command to remove all extra streams.

Thanks to :

  • Dan - Telegram Framework for bots and users.

License

This project is licensed under the MIT License - see the LICENSE file for details