• About
  • Write For Us
  • Contact

IndustryDev

Web Design & Photography Blog

  • Design
    • Lightroom
    • Photoshop
    • Bridge
    • Camera Raw
  • Development
    • HTML
    • CSS
    • JavaScript
    • PHP
    • Dev Tools
    • WordPress
  • Photography
  • Blogging
    • SEO
  • Technology
    • Hosting
  • Inspiration
    • Interviews
    • Learning
You are here: Home / Design / Creating a Video Transition Using Masks in Adobe Photoshop

Creating a Video Transition Using Masks in Adobe Photoshop

September 27, 2017

This is going to be a good post. If you produce video and have ever taken advantage of transitions between scenes, you’re in for a treat. I’m going to show you have to make one specific type of transition from scratch. Step by step. I’ll be taking advantage of masks, so if you aren’t up to snuff on them, you can easily learn all you need to know in this post:

What are Layer Masks in Adobe Photoshop?

Of course, I have many more posts that talk about using masks in Photoshop, so if you’re interested in that topic, simply type “Photoshop Mask” in the search bar at the top of this website. You’ll find everything you need.

In today’s post, I’m going to walk you through the steps of applying a mask to a video layer and then animating that mask by using keyframes in the Timeline panel of Adobe Photoshop. In effect, the mask will act as a shield that will hide one layer and slowly reveal that layer as the playhead moves down the timeline. After you read this post and see all the parts in motion, I think you’ll agree that the concept of creating an animated transition effect is rather simple. Even the steps are simple, so please read on down below to get started.

Setting Up the Video Clips

I already have both demo video clips set up in Photoshop. I had to resize one and drag it over into the other video tab, so by altering the size of the one I moved, Photoshop made me change the layer into a Smart Object. This is normal and it isn’t an issue. Just in case you’re wondering why one clip on the timeline is purple and the other is blue, this is the reason. Here’s a screenshot of part of the Timeline panel.


Two Video Clips in Timeline Panel in Photoshop

As far as the layers over in the Layers panel go, there are only two of them and they aren’t grouped. Here is a screenshot of them.

Layers Panel

I think I’m ready to go. I already moved the top clip in the Timeline panel so it overlaps the bottom clip a bit. This is necessary because as the transition slides across the screen, both clips will be in view for a bit. Remember, everything I do below is completely adjustable. It’s the process you want to keep your eye on, not the specifics.

Adding a Layer Mask

I have two video clips. The first one plays through and towards the end, it begins to fade into nighttime darkness. It also gets sort of blurry towards the end. The second clip begins anew in daytime. I overlapped the daytime clip for just a few seconds, while the other clip fades. Basically, I want to add a layer mask that will hide part of the daytime clip and that will wipe across the screen so the transition between clips is much smoother. So, the second step of this process, after setting the clips up like I did above, is to create a layer mask that’s attached to the second, daytime, clip. You’ll get what I’m saying below.


To create the mask, I’ll first make sure the proper layer in the Layers panel is selected. I’ll click on that to be sure. Then, I’ll use the Rectangular Marquee Tool to select that entire layer. I can either draw the selection out or I can simply use the keyboard shortcut of Ctrl+A to select all. Either way, the entire layer will be selected and the marching ants will be visible. Take a look. You can see the marching ants along the outer edge of the image.

Marching Ants

Next, since I want this particular layer to be hidden, I’d like a layer mask that’s black. With this in mind, I’ll head up to the Layer > Layer Mask > Hide All and click.

Layer - Layer Mask - Hide All Menu Selection

Once I do that, I’ll see the image of the daytime video disappear to be replaced by the one below it. The one that’s currently ending.


Hidden Layer Under Mask

I’ll also notice that the black layer mask icon appeared on the selected layer in the Layers panel.

Black Layer Mask in Layers Panel

Really, all I’ve done so far is basic layer masking 101.

What are Layer Masks in Adobe Photoshop?


How to Quickly & Easily Invert a Layer Mask in Adobe Photoshop

Using Layer Masks For Video in Adobe Photoshop

How to Adjust Layer Masks by Color Range in Adobe Photoshop

Unlinking & Moving the Mask

Since this mask will be animated, I will need to unlink it from the layer it’s currently attached to. Doing this is really easy. To unlink a mask from a layer, all I need to do is to click on the small chain icon that sits to the left of the mask thumbnail in the Layers panel.

Chain Link in Layers Panel


RECEIVE MY POSTS BY EMAIL!

Interested in receiving my posts by email? This is your chance! Simply place your email address in the field below and I'll deliver each and every post I write directly to your inbox.



I circled the chain link in red in the above screenshot.

Once I unlink the mask from the layer, the chain link will disappear. Also, I’ll be able to move the mask independently from the layer itself. I’ll go ahead and slide the mask around a bit so you can see what I’m talking about.

NOTE: If you find that you can’t move the layer mask, even after unlinking the mask from the layer, you may need to create the mask using a different method. Again, make your selection the same way I did above. This time though, instead of using the menu up top to create the mask, hold down the Alt key on your keyboard and click on the Create Layer Mask icon at the bottom of the Layers panel. This will create a black mask. Not pressing the Alt key create a white one. In the next screenshot, I circled the mask icon at the bottom of the Layers panel as well as moved the mask as an example.

Moved Mask

Feathering Edges & Transforming Mask

The next thing I’d like to do is to feather the edges of the mask, so when it slides across the screen, it’s nice and soft. To do this, I’ll double-click on the mask thumbnail in the Layers panel. Once I do that, the mask Properties panel will open up. Inside the panel is a Feather slider. I’ll push this slider to the right until I hit the 50px mark. You may have to choose a different value depending on your video dimensions. In the screenshot below, you can see the Properties panel and the feathered edge.


Feathering Edges of Layer Mask in Adobe Photoshop

This is great, but there’s one problem. When I feathered the edges, Photoshop decided to reveal more of the right edge than I wanted it to. Basically, once the playhead hits the mark on the video where the mask becomes present, part of the second video will show immediately. I don’t want that. So, to hide all of the video and keep the mask feathered, I’ll need to transform the mask so it’s a bit wider. To do this, I’ll use the Free Transform keyboard shortcut of Ctrl+T and click and drag the right side of the transformation box until I can’t see any feathering anymore.

Free Transform Box

When I’m finished, I’ll press Enter on my keyboard to accept the transformation.

Animating the Mask

Okay, all the pieces are in place to begin the animation. All that’s left is to do some work down in the Timeline panel.


First, I’ll make sure the playhead down in the Timeline panel is set so it’s right at the beginning of the second clip. Then, I’ll position the layer mask so it’s hiding all of that clip. I shouldn’t be able to see any of it at all. After that, I’ll click the small arrow that sits to the left of the layer name before the timeline itself. Doing this will reveal the animations options.

Video Layer Animation Options

Since everything else is set up, I’ll go ahead and click the Layer Mask Position option to create a keyframe.

Layer Mask Position Keyframes

The first keyframe is set. That tells Photoshop that an animation is about to occur. Since I’d like a four second transition, I’ll push the playhead to the right by four seconds.

Moving Video Timeline Playhead

Finally, I’ll make sure the mask thumbnail in the Layers panel is still selected, hold down the Shift key on my keyboard to restrict the movement of the mask laterally and use the Move Tool to drag the mask all the way over to the left until it’s not visible anymore. When I do all this and then let go of the mouse pointer, a new keyframe will appear on the timeline automatically. This tells Photoshop to stop the animation.

Both Keyframes on Timeline Panel in Photoshop

Now, if I click on the Play button in the timeline, I’ll see the animation in action. The second video will appear from right to left and it’ll show via a soft transition. As I mentioned above, all of this is adjustable after the fact. If I want to somehow change the movement of the mask, I can do that. If I want to shorten the transition itself, I can click and drag the keyframes. All the necessary elements are now in the file and I can do what I please with them. It’s that easy.

——

While this type of project takes some getting used to, once you do it a few times, it really becomes second nature. In this case, the toughest part was getting used to using a mask in an animation. Photoshop has no issue with this type of thing at all, so you just need to know the steps. Anyway, I hope I clearly explained how to create a video transition effect using Adobe Photoshop. If you have any questions or concerns regarding this post, please leave them in the comment section below. Thanks for reading!

Check Out These Related Posts

  • Using Smart Objects For Video in Adobe PhotoshopUsing Smart Objects For Video in Adobe Photoshop
  • Using the Reduce Noise Filter in Adobe PhotoshopUsing the Reduce Noise Filter in Adobe Photoshop
  • How to Animate a Vector Mask’s Position in Adobe PhotoshopHow to Animate a Vector Mask’s Position in Adobe Photoshop
  • What are Clipping Masks in Adobe Photoshop?What are Clipping Masks in Adobe Photoshop?
  • Working With the Content-Aware Move Tool in Adobe PhotoshopWorking With the Content-Aware Move Tool in Adobe Photoshop
  • How to Make Video Playback More Smooth in Adobe PhotoshopHow to Make Video Playback More Smooth in Adobe Photoshop
  • Placing, Replacing & Modifying Smart Object Files in Adobe PhotoshopPlacing, Replacing & Modifying Smart Object Files in Adobe Photoshop
  • Selectively Sharpening Parts of a Face in Adobe PhotoshopSelectively Sharpening Parts of a Face in Adobe Photoshop
  • How to Export Video From Adobe PhotoshopHow to Export Video From Adobe Photoshop
  • Turning a Gaussian Blur into a Soft Glow in Adobe PhotoshopTurning a Gaussian Blur into a Soft Glow in Adobe Photoshop
  • Adding a Textured Background to a Portrait in Adobe PhotoshopAdding a Textured Background to a Portrait in Adobe Photoshop
  • Selecting, Masking & Moving Image Objects in Adobe PhotoshopSelecting, Masking & Moving Image Objects in Adobe Photoshop

Filed Under: Design Tagged With: Photoshop

What’s Next? Email Updates!

If you enjoyed reading this post, why not consider signing up to receive others like it by email? It's so easy and you can unsubscribe at any time.

About Jay Gaulard

Hi. My name is Jay Gaulard and I've been designing websites and taking photographs since 2002. My passions lie with learning the latest coding techniques and development tools as well as staying on top of the digital imaging world. When I'm not studying or writing, I'm practicing Brazilian Jiu-Jitsu in Maine, USA.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Connect With Me

  • Facebook
  • Google+
  • Instagram
  • Pinterest
  • RSS
  • Twitter

RECEIVE MY POSTS BY EMAIL!

Interested in receiving my posts by email? This is your chance! Simply place your email address in the box below and I'll deliver each and every post I write directly to your inbox.

Recent Posts

  • What Does the “Info” Button Do on My Canon Rebel DSLR Camera? April 19, 2018
  • Color Range Masking the Graduated & Radial Filters in Adobe Lightroom April 17, 2018
  • Using the Liquify Filter to Change Body Shape in Adobe Photoshop April 14, 2018
  • How To Soften Skin in Adobe Photoshop April 12, 2018
  • How to Change the Background & Accent Colors of Your Windows 10 Interface April 10, 2018

Most Popular Posts

  • How to Set the Photo Quality in your Canon Rebel DSLR Camera How to Set the Photo Quality in your Canon Rebel DSLR Camera
  • Using the Liquify Filter to Change Body Shape in Adobe Photoshop Using the Liquify Filter to Change Body Shape in Adobe Photoshop
  • How to Export Video From Adobe Photoshop How to Export Video From Adobe Photoshop
  • How To Stop the Flash From Popping Up On Your Canon Rebel DSLR Camera How To Stop the Flash From Popping Up On Your Canon Rebel DSLR Camera
  • How to Adjust the Mouse Click & Scroll Settings in Windows 10 How to Adjust the Mouse Click & Scroll Settings in Windows 10

About IndustryDev

IndustryDev is an online publication that focuses primarily on lovers of the digital world. We write articles that cast a wide net, including those that discuss website development, design and WordPress. We also post, daily, about the image related aspects of the web, including photography and illustration, along with other topics like blogging and SEO.

Read More

Copyright © 2018 · IndustryDev.com Web Design & Photography Blog · About · Write For Us · Contact · Privacy / Terms · XML Sitemap · Sitemap