Lottie to OGraf
dailyRushes Free Tool for DaVinci Resolve
Lottie to OGraf turns a Lottie animation into an OGraf title for DaVinci Resolve. Resolve can play Lottie files, but they can struggle outside the Fusion page. An OGraf title made here works out each frame directly, with no Lottie player, so it plays straight away on the timeline, even on a modest computer and in the free version of Resolve.
Make an OGraf title
- Go to Lottie to OGraf.
- Drop your Lottie
.jsonfile on the page, or click to choose one. - Check the Preview and read the Report.
- Set the options. See The Page.
- Click Download .ograf.
- Drag the .ograf file into Resolve and put it on a track above your video. See In Resolve.
Good to know
- The background is transparent. On an empty timeline it shows black, because that is what is behind it.
- The title keeps the Lottie’s frame rate. On a timeline with a different frame rate, it blends smoothly between the Lottie’s frames.
- Changes to the Lottie don’t carry over. If you change the animation, make a new .ograf file.
After you choose a file, the page shows its details, a preview, a report and the options.
Details
The size, frame rate, length and number of layers, with the size of the Lottie file and of the OGraf script made from it.
Preview
This runs the converted title itself, so it shows what Resolve will get. The checkerboard shows where the background is transparent.
- Play and Pause: the preview loops until you pause it.
- The slider: moves to any frame.
Report
Says Everything converted, or lists what could not be converted. Anything on the list may look different from the original. See What Converts.
Options
Title name
The name shown in Resolve. It also names the file, without accents or punctuation, so “Café Sign!” becomes Cafe-Sign.ograf. Two titles with the same name count as the same title in Resolve, so give each one its own name.
Text
A box for each text layer. What you type is where its words start in Resolve, where they can be changed for each clip, and the preview shows it. Press Enter for a new line.
Fonts
The fonts the text layers use, and whether each one is installed on this computer. A font that isn’t installed on the computer running Resolve shows as another font. To avoid that, click Add font file and choose its .ttf, .otf, .woff or .woff2 file: it is packed into the title, so the text looks right on any computer. Remove takes it out again.
A packed font makes the .ograf file bigger. Only pack fonts whose licence lets you share them, especially if you give the title to someone else.
Timing
These are also settings in Resolve’s Inspector, so each clip can have its own. What you choose on the page is where they start in Resolve, and the preview plays it, as a clip of the length Resolve will give it. See In Resolve for what each one does.
Colours to change in the Inspector
Every colour that stays the same through the animation is listed, named after the first layer that uses it. Parts that share a colour change together. Untick any you don’t want to appear in Resolve.
Resolve shows up to 20 settings. The timing settings use up to 9, text layers come next, and colours get the room that is left. Colours that animate, and gradients, can’t be changed in Resolve.
Download .ograf
Saves the title as an .ograf file. Your browser may add a number to a repeat download, such as Cafe-Sign (1).ograf. It still works.
An .ograf file works like any other title in Resolve.
Add the title
- Drag the .ograf file into Resolve.
- Put it on a track above your video.
- Select the clip to see its settings in the Inspector.
The clip starts at the length of the animation, taking Play, Speed and Start after into account. Trim it or make it longer as you like.
Text in the Inspector
Each text layer has a box, named after the layer, such as Headline text. Type new words and the title changes straight away. Press Enter for a new line.
- Point text grows from where it is aligned: left-aligned text grows to the right, centred text both ways, right-aligned text to the left. Extra lines go downwards.
- Paragraph text wraps inside its box. Very long text can still run below the box.
Text keeps its font, size, alignment, letter spacing, line spacing, colour and outline, and moves and fades with its layer. Its colour is a setting too, if there is room.
Timing in the Inspector
Change how the animation plays here, for each clip. You don’t need the Scheduled Actions section: it lists a Play at the start of the clip and a Stop on its last frame, which Resolve adds and moves with the clip by itself.
Play
Whole animation, or one part of it. A Lottie made with Animate lists each of its clips by name. Only shown when the Lottie has named parts.
Start after (seconds)
Waits before playing. Until then it shows the first frame.
Speed (%)
50% plays at half speed, 200% at double speed.
Reverse
Plays backwards, from the last frame to the first.
After the end
What happens when the clip is longer than the animation:
- Hold the last frame: stays on the last frame until the clip ends.
- Loop: plays again from the start.
- Hide: disappears until the clip ends.
Fade in and Fade out (seconds)
Fade in starts when the animation starts. Fade out ends on the last frame of the clip, and follows it when you trim or make the clip longer.
Manual timing and Time (%)
For full control, turn on Manual timing, then keyframe Time with Resolve’s own keyframe buttons: 0% is the start of the animation (or of the part chosen in Play), 100% is the end. Hold it still, play part of it, rewind, or ease it with Resolve’s keyframe curves. Speed, Reverse and After the end don’t apply while it is on.
Keep it in your titles
To have a title always available, copy the .ograf file to this folder, creating any folders that aren’t there yet:
%APPDATA%\Blackmagic Design\DaVinci Resolve\Support\Fusion\Templates\Edit\Titles\OGraf\
Restart Resolve and it appears under Titles.
If it doesn’t work
| What you see | What to do |
|---|---|
| A black background | Put your video on a track below the title. The background is transparent, and an empty timeline shows black. |
| Part of the animation is missing | Check the Report. Images, masks and some effects are left out. See What Converts. |
| The title stops or disappears early | Check After the end and Fade out in the Inspector. A Stop added in Scheduled Actions also ends it there: delete the row to remove it. |
| A colour can’t be changed in the Inspector | It may animate, be a gradient, or be unticked on the page. |
| Text shows in the wrong font | The font isn’t installed on the computer running Resolve. Make the title again with its font file added under Fonts. |
| “This is a .lottie package” | The page needs a Lottie .json file. Export one from the app that made it. |
| “This is not a Lottie file” | The file is a .json file, but not a Lottie animation. |
Everything Animate puts in a Lottie file converts. Files from other apps convert as far as they can, and the Report lists the rest.
What converts
- Shapes: paths, rectangles, ellipses, stars and polygons, in groups.
- Fills and strokes: solid colours and gradients, with dashes.
- Movement: position, including curved motion paths, with rotation, scale and opacity.
- Changes over time: colours, outlines, easing and hold keyframes.
- Text: point and paragraph text, as live text you can change in Resolve, with its font, size, alignment, spacing, colour and outline.
- Layers: shape layers, text layers, solid layers, null layers, parenting, nested compositions and blend modes.
What is left out
| In the Lottie | What happens |
|---|---|
| Text animators | Left out, so the words show without their effect, such as letters flying in one by one. |
| Images | Left out. |
| Masks | Left out, so the layer shows in full. |
| Track mattes | Left out. The matte layer is hidden, and what it covers shows in full. |
| Trim Paths | Left out, so lines show in full. |
| Repeaters | Left out, so only the original shows. |
| Round Corners and Merge Paths | Left out. |
| Layer effects | Left out. |
| Expressions | Ignored, so the values play as they were keyed. |
What may change
- 3D layers are flattened to 2D.
- Rounded stars and polygons get sharp points.
- Radial gradient highlights are centred.
- A value that changes its number of points stays at its first shape.
- Text that changes during the animation, such as a countdown, keeps its first words and look.
- Text on a path is set in a straight line, and justified text is aligned to the left.
- Paragraph text may wrap at slightly different words than in the original, as fonts are measured a little differently.