How to convert video into Telegram Animated Sticker with FFmpeg (WEBM)
ffmpeg -y -i input.mov -r 30 -t 2.99 -an -c:v libvpx-vp9 -pix_fmt yuva420p -vf 'scale=512:512:force_original_aspect_ratio=decrease' output.webm
Here is a breakdown of the options:
-y
- Overwrite the output file if it already exists.