Animate a screenshot in Adobe After Effects

Make a dull screenshot come alive in a video

App screenshots are notoriously hard to present outside of the smartphone. Whatever you do, they become hard to read because of the portrait mode aspect ratio.

💡

This post is part of our series on video mockups.

One way to do it is to crop and animate, and here's how to do it in After Effects.

A full size mobile phone screenshot vs a cropped screenshot

What we'll make

How to do it

Let's go through step by step!

Create a composition

  1. Click New Composition
  2. Set a light gray background color so we can see the shadow later
  3. Choose a square-ish size

Add the screenshot image

  1. Drag the screenshot from a folder onto the canvas in After Effects
  2. Go to the Align palette and center the image horizontally and vertically

Add rounded corners

We're going to add a mask with rounded corners.

Add a rectangle shape for our mask

  1. Resize the image so you can see the full image.
  2. Add a rectangle using the Rectangle tool in the top toolbar or by pressing Q.
  3. Size the rectangle so it loosely fits above the screenshot image.

Adjust corner radius

  1. Select the rectangle, and go to Shape Properties in the right-hand sidebar and find Roundness, and decide how round you want your corners

Apply the mask

  1. At the bottom of the window below the timeline click Toggle Switches / Modes
  2. Click the Track Matte drop down for the screenshot image and choose the Shape layer as its alpha mask

Adjust the mask

  1. Open the Shape layer's properties > contents > Rectangle 1 > right click Rectangle Path and choose Convert to Bezier Path
  2. Select the Path that appears below
  3. Adjust the control points to fit exactly the screenshot. You can select multiple control points at the same time.

Pre-compose the mask and image

We want our image to act as an individual clip so we can animate it all together and add a shadow.

  1. Select both layers
  2. Right click > Pre-compose
  3. Give your pre-composition a name

The two layers now turn into one handy layer.

Add a drop shadow

  1. Go to Effects & Presets in the sidebar
  2. Search for Drop shadow
  3. Drag the Drop Shadow effect to your pre-comp in the timeline
  4. Adjust Distance and Softness to your liking

Scale up the screenshot

  1. Select the screenshot pre-comp in the timeline
  2. Open its properties, then Transform
  3. Adjust scale and position so that the screenshot takes up almost the full space of the square video

Rotate the screenshot in 3D

  1. Click the Toggle Switches / Modes button again to hide the track matte dropdowns and reveal the other options
  2. Find the 3D transforms icon - it looks like a little box. Enable it for your pre-comp layer
  3. 3D Rotation values now appear. Adjust the Y rotation to your liking

Add starting keyframes

  1. Enable animation for Position and Y Rotation by pressing the small stopwatch next to their values
  2. Drag the keyframes that appear in the timeline to the start of the movie if they aren't already there

Add ending keyframes

  1. Position the playhead a few seconds into the movie
  2. Adjust Position and Y Rotation so that the bottom of the screenshot is now visible and the Y rotation is the opposite of the starting Y rotation. Play with it to find something you like

Export your movie

Almmost done!

  1. Go to File > Export > Add to Render queue
  2. In the Render Queue that appears, click the Destination label and choose where you want to save your movie
  3. Click Start to render your movie

Full tutorial

Loading...

How to do it in Premiere

In many cases, you don't need After Effects to do simple animations. Here is a tutorial for Premiere that accomplishes the same result. It takes just about the same amount of time to complete.

How to do it in Rotato

You may be wondering if there's a faster way to animate a simple screenshot. Let's see what it would look like in a more specialized app like Rotato.

  1. Choose a phone model, like an iPhone or the Universal model which is just the screen like in the Premiere tutorial above
  2. Set the background color
  3. Move the camera up and rotate
  4. Add animation
  5. Move the camera down and rotate