A simple script to create video stickers for Telegram. Just for fun. Not for production.
- Python 3.10+
- Install Python 3.10+ from here
- Download ffmpeg and ffprobe from here
- Extract the downloaded zip file and copy the
ffmpeg.exe
andffprobe.exe
files to the same directory as the script.
- Put the video file in the same directory as the script.
- Rename the video file to
input_video.mp4
. - Run the script using
python main.py
. - It may take a while to process the video.
- The output webm parts will be in the
output
directory. - Finally, you can send the webm parts to t.me/stickers bot to create a video sticker.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.