Woman in a white bikini and straw hat sitting on the beach, seen from behind, facing the ocean
  • How to Create a Cinemagraph in Photoshop

  • Aaron Nace
    by Aaron Nace
    May 5, 2015
  • Add to
    favorites

description

A cinemagraph is a short video clip that loops infinitely, with its end frame matching its start frame so seamlessly that it reads as one continuous, endless movement. This tutorial covers choosing the right subject and camera settings to capture the footage, then building the seamless loop in Photoshop with duplicated video layers, opacity keyframes, and a masked still layer, before exporting the finished loop as an optimized GIF.

Cinemagraph

A cinemagraph is a short video clip that loops infinitely, with its end frame matching its start frame so seamlessly that it reads as one continuous, endless movement. This tutorial covers choosing the right subject and camera settings to capture cinemagraph footage, then building the seamless loop in Photoshop with duplicated video layers, opacity keyframes, and a masked still layer, before exporting the finished loop as a GIF.

Choosing a Subject With a Repeating, Loop-Friendly Motion

A cinemagraph only works with a subject whose motion returns to the exact same position it started from, which rules out anything moving unpredictably around the frame.

  1. Choose a Subject With Predictable, Repeating Motion

    Pick a subject that moves in a continuous, repeating pattern with a clear end point matching its start point, such as a record spinning on a record player.

  2. Avoid Unpredictable Motion

    Rule out subjects with unpredictable movement, such as a dog running freely around a room, since that kind of motion can’t loop back to an identical starting position.

Camera Settings and Tripod Setup for Cinemagraph Footage

A tripod and a bit of extra buffer footage before and after the intended loop are what make the actual editing process in Photoshop possible.

  1. Record Video on Any Camera That Supports It

    Use any device capable of recording video, whether a digital SLR or a smartphone.

  2. Mount the Camera on a Tripod

    Keep the camera completely still on a tripod, since any camera movement would prevent the start and end frames from matching.

  3. Use Settings Like 1080p at 30 Frames Per Second as a Starting Point

    Consider settings such as 1920 by 1080 resolution at 30 frames per second, a 1/60 shutter speed, an aperture of f/8, and ISO 800 as a reasonable starting point, adjusting as needed for the scene.

  4. Capture Extra Buffer Footage

    Record extra footage both before and after the key repeating motion to give more flexibility when trimming the loop later.

Opening Video Footage in Photoshop’s Timeline

Photoshop opens a video file the same way it opens a still image, then displays it in the Timeline panel for scrubbing and editing.

  1. Open the Video File

    Press Cmd/Ctrl+O and open the recorded video footage the same way a still image would be opened.

  2. Show the Timeline Panel

    Go to Window > Timeline if the timeline isn’t already visible, to scrub through and edit the video footage.

Trimming to the Cinemagraph’s Starting Frame

The cinemagraph’s actual first frame needs to sit a little into the raw footage, never right at its true beginning, so there’s room to build the loop afterward.

  1. Scrub to a Good Starting Point

    Scrub through the footage to find a moment partway into the clip that looks good as the cinemagraph’s starting frame.

  2. Trim the Beginning of the Clip

    Click and drag the footage’s start handle to that point to trim off the earlier frames.

  3. Trim the End for a Short Clip Length

    Drag the end handle inward to keep the clip as short as possible, since a shorter cinemagraph means a smaller file size and a faster load time online.

  4. Turn On Loop Playback to Preview

    Click the timeline’s gear icon and enable Loop Playback to preview how the clip currently jumps at the seam between its end and beginning.

Why the First Frame of the Raw Video Can’t Be the Cinemagraph’s First Frame

Starting the cinemagraph at the very first frame of the raw footage leaves no earlier material to work with once the loop needs extending later in the process. Trimming to a point partway into the clip instead preserves some of the original footage before that point, which becomes essential once the loop-building steps call for it.

Duplicating and Offsetting the Footage to Set Up the Loop

Duplicating the trimmed clip onto a second video layer and shifting that layer’s timing is what lines up an end frame with a matching start frame on a different layer.

  1. Duplicate the Video Group

    Click and drag the video group onto the New Layer icon to duplicate the entire clip onto a second layer.

  2. Shift the Bottom Layer’s Timing

    Click and drag the bottom video layer to the right until its start point snaps to where the top layer’s footage ends.

  3. Restore the Trimmed Beginning on the Bottom Layer

    Drag the bottom layer’s start handle back to the left to bring back the earlier footage trimmed off in the previous section.

  4. Trim the End of the Bottom Layer to Match

    Drag the bottom layer’s end handle in from the right so both video layers now end at the same point.

Why Extra Footage Before and After the Loop Matters

Without the buffer footage trimmed off earlier and now restored on the duplicated layer, there wouldn’t be any overlapping material available to offset the two video layers against each other. That earlier trim is what makes it possible to shift the duplicated layer’s timing so its beginning lines up with the original layer’s ending, setting up the overlap the whole loop depends on.

Fading the Top Layer With Opacity Keyframes

Animating the top video layer’s opacity down to zero by the time it reaches the end reveals the bottom layer underneath at exactly the moment the two clips need to hand off to each other.

  1. Set an Opacity Keyframe at 100%

    Move the playhead to where the bottom layer’s footage begins, then click the stopwatch icon next to Opacity to add a keyframe at 100% visibility.

  2. Move the Playhead to the End of the Clip

    Drag the playhead to the very end of the timeline.

  3. Add a Second Keyframe at 0% Opacity

    Reduce the Opacity value down to 0% at this point, automatically creating a second keyframe that fades the top layer out completely by the end of the clip.

  4. Preview the Seamless Loop

    Press play to confirm the top footage now fades into the bottom footage exactly where their frames match, creating a seamless infinite loop.

Restricting Movement With a Stamped Still Layer and Mask

A stamped-visible still copy placed on top of the looping video, combined with a layer mask, limits the visible motion to just one part of the frame, like a body of water, while everything else stays frozen.

  1. Create a Stamped Visible Copy

    Press Shift+Option/Alt+Cmd/Ctrl+E to create a flattened still copy of everything currently visible.

  2. Trim the Still Layer to Match the Video Length

    Drag the still layer’s end handle in the timeline to match the same end point as the looping video footage below it.

  3. Add a Layer Mask to the Still Layer

    Click the layer mask button on the still layer to add a mask.

  4. Paint Black to Reveal the Looping Area

    Paint black on the mask over the area that should show movement, such as ocean waves, revealing the looping video underneath while the rest of the still image stays visible and frozen.

  5. Check the Mask With the Slash Key

    Press the slash key to toggle a red overlay view of the mask, making it easier to see exactly which areas are painted black.

Why a Still Layer With a Mask Restricts the Movement

Without any restriction, the entire frame would show the looping motion, including a subject or background detail that was never meant to move. Placing a frozen still copy of the whole scene on top, then masking out just the area that should stay in motion, keeps everything else locked to a single unchanging frame while only the intended area continues looping.

Exporting the Finished Loop as an Optimized GIF

Save for Web’s GIF format, dithering, resizing, and looping options together determine how good the final cinemagraph looks and how large its file size ends up being.

  1. Open Save for Web

    Go to File > Save for Web to open the export dialog, since only a GIF supports the looping motion a cinemagraph needs, unlike a JPEG or PNG.

  2. Turn On Diffusion Dithering

    Change the dither setting from None to Diffusion for a noticeably better-looking result, even though it increases file size somewhat.

  3. Resize to Reduce File Size

    Reduce the image’s pixel dimensions, such as down to 1000 pixels wide, to bring the file size down further for faster loading online. For more on getting a good-looking result at a small file size, see this guide to creating a Photoshop GIF.

  4. Set Looping to Forever

    Change the looping option from Once to Forever so the cinemagraph repeats infinitely once uploaded.

  5. Preview in a Browser Before Saving

    Click the Preview button to check exactly how the optimized GIF will look and loop in an actual web browser before saving the final file.

More Free Photoshop Tutorials

To build on the video and layer masking techniques used here, check out these free tutorials:

Why This Approach Works

Trimming the raw footage so the cinemagraph’s first frame sits partway into the clip, rather than right at the start, is what preserves the buffer material the loop-building process depends on later. Duplicating the footage onto a second layer and offsetting its timing, instead of trying to edit a single clip into a loop directly, is what makes it possible to fade seamlessly from one matching frame into another. Masking a frozen still copy over most of the frame is the specific technique that keeps a cinemagraph feeling deliberate and restrained, limiting motion to just the one detail meant to loop.

Final Thoughts

Every step here, from choosing the right repeating subject to fading opacity between duplicated layers to masking out unwanted movement, builds toward one goal: a loop so seamless it’s genuinely hard to tell where it repeats. The same technique works with any subject that has a clean, repeating motion, so it’s worth experimenting with completely different footage once this workflow feels familiar.

Master Photoshop, Lightroom and Photography

Join PHLEARN PRO for $12.99 a month, or $99.99 a year (save 36%). Cancel anytime, with a 30-day money-back guarantee.

As featured in
  • 500px
  • Adobe
  • Fstoppers
  • HuffPost
  • Inc.
  • PetaPixel