tgradish
Simple video converting cli utility specializing in Telegram videostickers with the ability to bypass the 3 second limit.
Installation
python -m pip install tgradish
Dependencies
For the tgradish convert
command ffmpeg
should be installed in PATH,
but tgradish spoof
works just fine even without it.
Usage examples
Converting .mp4 video to videosticker:
tgradish convert -i ~/pig.mp4
Spoofing duration of already correctly encoded videosticker:
tgradish spoof ~/pig.webm ~/spoofed_pig.webm