Convert LOTTIE to MP4
Turn LOTTIE images into MP4. H.264 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 an MP4 video.H.264 video on white, at 50 frames per second unless you change it.
What you get
One MP4 file with H.264 video. The animation is drawn by the Lottie web player at its own size, or at most 1280 pixels on its longer side. It sits on a white background, and every frame keeps its timing.
The video does not loop by itself. It plays once from start to end.
What changes or is left behind
Expressions are not run. A value that an expression computes keeps its keyframes instead.
Fonts that the file links from the web are not loaded, so its text uses an installed font. Sound is dropped, and the MP4 has no audio.
Options and limits
Set Frame rate (fps) to a value from 1 to 120. Fewer frames give 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 video faster or slower, from 0.25 to 4. A value of 2 is twice as fast and 0.5 is half as fast.
An animation over 60 seconds or 1,200 frames fails with
resource_limit.
LOTTIE and MP4.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
MP4 Video
The most compatible video container, usually H.264 video with AAC audio.
- Extensions
- .mp4 .m4v .f4v
- MIME type
- video
/mp4 - Kind
- Video
In your code.The same LOTTIE to MP4 conversion through the API, for your app or your agent.
$ cv convert photo.lottie.json photo.mp4$ cv convert photo.lottie.json photo.mp4Questions.What people ask about LOTTIE to MP4.
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, so it plays once.
No. Sound is dropped.
The animation is over 60 seconds or over 1,200 frames. The conversion stops with resource_limit in that case.