Convert LOTTIE to WEBM
Turn LOTTIE 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 LOTTIE files on the dialor turn it to pick what to do
A Lottie animation as a WebM video.VP9 video on a white background, at 50 frames per second unless you change it.
What you get
A single WebM file with VP9 video. The animation is drawn by the Lottie web player at its own size, or at most 1280 pixels on its longer side. Every frame keeps its timing.
The background is white. The video does not loop by itself.
What changes or is left behind
Expressions are not run, so values that an expression computes keep their keyframes instead. Fonts that the file links from the web are not loaded, and its text uses an installed font.
Sound is dropped, so the WebM has no audio.
Speed and frame rate
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.
Limits
An animation over 60 seconds or 1,200 frames fails with
resource_limit.
LOTTIE and WEBM.What each format is, and the options this conversion takes.
- 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 - 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
Lottie Animation
A vector animation exported from After Effects with Bodymovin or made in LottieFiles, saved as JSON with its layers, shapes and keyframes.
- Extensions
- .lottie.json
- MIME type
- video
/lottie +json - Kind
- Images
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 LOTTIE to WEBM conversion through the API, for your app or your agent.
$ cv convert photo.lottie.json photo.webm$ cv convert photo.lottie.json photo.webmQuestions.What people ask about LOTTIE to WEBM.
50 frames per second, unless you set Frame rate (fps) to another value from 1 to 120.
No. The video does not loop by itself.
No. The video is drawn on white.
The animation is longer than 60 seconds or has more than 1,200 frames. The conversion stops with resource_limit in either case.