Convert TGS to WEBM

Turn TGS images into WEBM. VP9 video on white at 50 frames per second unless video.fps says otherwise, every frame keeping its timing; the video does not loop by itself.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop TGS files on the dialor turn it to pick what to do

A Telegram sticker as a WebM video.VP9 video on a white background, at 50 frames per second unless you change it.

  1. What you get

    A WebM video of the animated sticker, drawn by the Lottie web player at the animation's own size, or at most 1280 pixels on its longer side. Every frame keeps its timing.

    The video is VP9 on a white background. The conversion gives you one file.

  2. What changes or is dropped

    The video does not loop by itself. If you need a loop, set it up in the player or page that plays the file.

    Expressions are not run, so values they compute keep their keyframes instead. Fonts the sticker links from the web are not loaded, and its text uses an installed font. Sound is dropped.

    An animation over 60 seconds or 1,200 frames fails with resource_limit.

  3. Options

    Set Frame rate (fps) to a value from 1 to 120. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    Set Speed to play the animation faster or slower, from 0.25 to 4. A value of 2 is twice as fast and 0.5 is half as fast.

    To work with the result afterward, you can trim WEBM or compress WEBM.

TGS and WEBM.What each format is, and the options this conversion takes.

  1. 01 · speed

    Speed

    Plays faster or slower. 2 is twice as fast and 0.5 half as fast. Voices keep their pitch.

    0.25 to 4
  2. 02 · video.fps

    Frame rate (fps)

    Frames per second. Fewer frames make a smaller file and choppier motion. 24 to 30 looks natural, and 10 to 15 is common for animated pictures.

    1 to 120 default 50

The formats

From · TGS

Telegram Animated Sticker

A Telegram animated sticker: a gzipped Lottie animation, 512 pixels square at up to 60 frames per second.

Extensions
.tgs
MIME type
application/x-tgsticker
Kind
Images
To · WEBM

WebM Video

The open web video container, VP9 or AV1 video with Opus audio.

Extensions
.webm .weba
MIME type
video/webm
Kind
Video

In your code.The same TGS to WEBM conversion through the API, for your app or your agent.

terminal
$ cv convert photo.tgs photo.webm
$ cv convert photo.tgs photo.webm

Questions.What people ask about TGS to WEBM.

01OF 04

No. The video does not loop by itself. Looping depends on the player or page that shows it.

White. The video is drawn on a white background.

The animation is longer than 60 seconds or has more than 1,200 frames. The conversion stops with resource_limit in either case.

Yes. Set Frame rate (fps) to a value from 1 to 120. The default is 50.

More conversions.Other ways in and out of TGS and WEBM.