MP4 to WEBM: how to convert a video into a Telegram video sticker

A Telegram video sticker is a WEBM file — but not just any WEBM. The official @Stickers bot rejects a file that is a few pixels too big, a fraction of a second too long or a few kilobytes over the limit, and that is exactly what a regular MP4-to-WEBM converter produces. Here is what Telegram checks, how to convert a video in one step, and an ffmpeg command we tested on 13 different clips.

What Telegram checks in a video sticker

ParameterRequirement
FormatWEBM with the VP9 codec — not VP8
Frame sizeone side exactly 512 px, the other 512 px or less
Durationup to 3 seconds
Frame rateup to 30 frames per second
File sizeup to 256 KB
Soundnone — the file must have no audio track at all

A video emoji follows the same rules, but its frame is exactly 100×100 px. Telegram also recommends looping the clip, so that the sticker repeats without a jump.

Why a regular MP4 to WEBM converter isn't enough

An ordinary converter changes the format and keeps everything else from the original video. The result fails one of the checks above:

Convert an MP4 to a sticker in one step

vidsticker does all of this for you: it takes the 3 seconds you choose, scales them to 512 px, drops the sound and picks the quality and frame rate so the file fits under 256 KB while staying as sharp as the limit allows. Then it checks the finished file against Telegram's requirements. It works with MP4, MOV, GIF, WEBM and other videos.

  1. Open vidsticker.com and drop your MP4 into the window — or send the video to @vidsticker_bot in Telegram.
  2. On the website, drag the window on the frame strip to choose up to 3 seconds. In the bot, add a caption such as “from 0:05”.
  3. Press Make sticker. Download the finished .webm, or log in and add the sticker to your pack with a button. The bot adds it to your pack right away.
MP4 to sticker on the website

You can also remove the background, change the shape, add text or a boomerang effect before making the sticker — more in how to make video stickers.

Convert MP4 to WEBM with ffmpeg

If you prefer to do it yourself, the free ffmpeg (version 4.3 or newer) makes a valid sticker. Run two commands in the folder with your video: the first pass studies the clip, the second writes the file.

ffmpeg -y -ss 0 -t 3 -i input.mp4 -an -vf "scale=512:512:force_original_aspect_ratio=decrease:force_divisible_by=2,fps=30" -c:v libvpx-vp9 -b:v 500k -pass 1 -f null /dev/null
ffmpeg -y -ss 0 -t 3 -i input.mp4 -an -vf "scale=512:512:force_original_aspect_ratio=decrease:force_divisible_by=2,fps=30" -c:v libvpx-vp9 -b:v 500k -pass 2 sticker.webm

On Windows, write NUL instead of /dev/null. What each part does:

Why two passes. We ran this command on 13 clips — vertical phone videos, 4K, old cartoons and GIFs. With two passes every file came out between 43 and 187 KB. A single pass at the same bitrate went up to 248 KB on a 4K video of a dog, a hair under the limit. If your file still ends up over 256 KB, lower -b:v to 400k.

A transparent source — a GIF or a WEBM with an alpha channel — keeps its transparency if you add -pix_fmt yuva420p before the output in both commands. For a WEBM source, also put -c:v libvpx-vp9 before -i: ffmpeg's built-in decoder ignores the alpha channel.

Then add the sticker to Telegram

  1. Open @Stickers — Telegram's official bot — and send /newvideo for a new pack of video stickers, or /addsticker to add to a pack you already have.
  2. Name the pack, send sticker.webm as a file and choose an emoji for it.
  3. Send /publish and choose a short name: it becomes the pack link, t.me/addstickers/name.

With vidsticker you can skip this step: the bot and the website put stickers into your own pack and give you its link — see how to create a sticker pack.

Can a video become a TGS animated sticker?

No — and you don't need it to. TGS stickers are vector animations (Lottie) drawn in a vector editor or After Effects: they are made of shapes, not pixels, so there is no honest way to turn a video into one. Telegram's format for stickers made from video is WEBM, and in a chat a video sticker plays just like an animated one.

Already have a WEBM?

Check it against the table above. A WEBM from a screen recorder, a browser or another app often has sound, VP8, the wrong size or more than 256 KB. The easiest fix is to upload it to vidsticker: it is re-encoded to fit, and you can pick the moment, trim it and add effects at the same time.

Questions and answers

Why does @Stickers say my file is invalid?

The file fails one of Telegram's checks: most often the size isn't exactly 512 px on one side, there is a sound track, or the file is over 256 KB. Re-encode it with the ffmpeg command above or upload it to vidsticker.

How do I make a WEBM smaller than 256 KB?

Lower the bitrate (-b:v) and encode in two passes; a shorter clip or a lower frame rate helps too. vidsticker does this automatically: it picks the quality and frame rate so the sticker stays as sharp as the limit allows.

Can a video sticker be longer than 3 seconds?

No, that's Telegram's limit. To fit more, speed the video up ×2 or ×3 — sticker longer than 3 seconds.

Can a video sticker have sound?

No, video stickers are always silent. For a clip with sound, make a round video message — up to a minute.

Does it work with videos from an iPhone?

Yes: MOV and HEVC from an iPhone are accepted, and HDR video is converted to normal colors so the sticker doesn't look washed out.

Is it free?

Yes. The website and the bot convert videos to stickers for free, with no ads and no forced subscriptions.

More guides

How to make Telegram video stickers from any videoTurn your video, GIF or a YouTube or TikTok clip into an animated Telegram sticker: the WEBM requirements, two ways with no software, and your own packs. How to make a Telegram sticker from a GIF — with a bot or onlineA free GIF to sticker bot for Telegram: send any GIF to @vidsticker_bot and get an animated sticker in your pack — or convert the GIF online. Step by step. How to make a Telegram sticker from a TikTok or YouTube videoTurn a TikTok, YouTube, Instagram or X video into a Telegram sticker without downloading anything: paste the link on the website or send it to @vidsticker_bot, pick the moment — done. Free, step by step. How to make a Telegram sticker from an iPhone Live PhotoAn iPhone Live Photo is almost a ready video sticker — three seconds of motion. How to send it to @vidsticker_bot so the sticker moves, add Boomerang or Loop, remove the background, and what to do if the sticker comes out still. Step by step, with screenshots. How to make Telegram stickers of yourselfTelegram stickers with your own face from a selfie or a short video: a neural network removes the background, you add text and an effect — and build your own sticker pack. Free, with @vidsticker_bot or online. How to film it and pack ideas. How to turn a round video into a sticker and make round stickersTurn a Telegram round video message into a sticker: forward it to @vidsticker_bot and get a round sticker with transparent corners. Or make a round sticker from any video or photo with the Circle shape. Step by step, with an animation, free.