Why convert TGS to MP4?
MP4 works everywhere - video editors, messaging apps, social platforms, and phones - while .tgs plays only inside Telegram. Converting to .mp4 lets you reuse a sticker animation in video projects or share it outside Telegram.
How to convert TGS to MP4
LottieViewConvert OPEN-SOURCE
Open the app, drag the .tgs file onto it, choose MP4 as the export format, set the output folder, and click Export.
ffmpeg OPEN-SOURCE
Render the .tgs to a PNG frame sequence with lottie-converter, then encode with ffmpeg -framerate 30 -i frames/frame%04d.png -c:v libx264 output.mp4.
About these formats
A TGS file is a Telegram animated sticker - gzip-compressed Lottie vector animation, typically 20-30 KB. No desktop app opens it by double-click; it plays natively in Telegram. On a PC,…
Open .TGS details →An MP4 file is a video container (MPEG-4 Part 14, standardized 2003) that holds video, audio, subtitles, and chapters in one file. It plays on every phone, computer, browser, and smart TV…
Open .MP4 details →Quality & what to watch
- MP4 (H.264) does not support alpha channels - the sticker's transparent background becomes solid (usually white or black depending on the tool).
- Telegram stickers are capped at roughly 3 seconds, so the output MP4 will be equally short.
- The conversion rasterizes the vector animation at a fixed resolution; Telegram's native canvas is 512x512 pixels.
Frequently asked questions
How do I keep the sticker's transparent background in a video format?
What frame rate should I use when encoding with ffmpeg?
.tgs and check the Lottie JSON field fr for the original frame rate, then pass that value to ffmpeg's -framerate flag.