Make An Animated Gif In Photoshop Using Cell Phone Videos

September 11, 2019 0 By Peter Engel

Hey, guys. Welcome to another very exciting
tutorial here at the My name is Jesus Ramirez and you can find
me on Twitter @JRfromPTC. In this tutorial, we’re going to take a look
at Photoshop’s video editing and animation capabilities. We’re going to do so by creating
an animated gif out of a video I recorded from my cell phone. You can download this
video to follow along if you like. Download it from my website
It’s going to be a very simple animation, but this tutorial will teach you all the basics
of working with the Photoshop timeline. If you’ve never used the Timeline panel before,
or you’re not very familiar with it, then this tutorial is perfect for you. Many of the people who watch this channel
are people who are used to working with still images, so I decided it would be a good idea
to create a video teaching the differences in photo and video workflows, and to teach
you how to take advantage of Photoshop’s Adjustment Layers and other tools to enhance your videos
and animations. I’m also planning on creating more advanced motion graphic training videos,
but I wanted to create a video where I showed you all the basics first. That way, we can
use it as a reference and we don’t have to worry about teaching the basics in more complex
tutorials. For this tutorial, we’re going to, first, edit the video, and then we’ll
apply a movie look effect using Adjustment Layers. Then, we’ll add text and animate the
text using key frames. We’ll then use a Layer Mask to make the text fit within the video.
And, lastly, I’ll show you how to export it as an animated gif so you can use it on your
website. Okay. Let’s get started. The first thing that
I’m going to do is arrange the workspace so I have the proper panels to work with animation
and video. So I’m going to go into Window, Workspace, Motion, and that’s going to open
up my Timeline. If you want to keep your current workspace, you can just make sure that the
Timeline is turned on in the Windows menu, just so you can have the Timeline that we’re
going to be working with. Okay. So, now, we’re going to open up our video. So I’m going to
go to File, Open, and I’m going to select this video, here, called street.mp4. Photoshop
can open up different types of video files; MP4 is just one of them. The other video types
that Photoshop can open are listed, here, and there’s actually more than you see on
the list there. And pretty much any video that you create with your cell phone or digital
camera, you should be able to open it with Photoshop. So, click on your video, press Open, and the
first thing I want to show you, before we even get started with the video, is how Photoshop
handles videos as opposed to images. When you open up an image in Photoshop, and you
save it as a PSD, the image is embedded onto your Photoshop document. With videos, this
is not the case. So I’m going to close this file that has the video we opened up. I saved
it, and I’m just going to close that. Then, I’m going to take the video that we used,
and this is a file that we just saved. I’m going to take this video and I’m just going
to rename it, and I’m just going to add a 2 to that, and I’m going to open up my Photoshop
file. Photoshop is telling us that it can no longer find this file. That’s because Photoshop
does not embed videos onto the PSD’s like it does with images. Photoshop simply references
the video files that you use, so you have to be a little bit more organized when you’re
working with videos. So make sure that all your videos are saved in a folder that’s not
going to get deleted or renamed or misplaced. So, if you ever see this window pop up, click
on Choose, and then, find the video that Photoshop is asking you for. In this case, it’s easy.
It’s this video here. We just renamed it and just click on Open. But, sometimes, you might
accidentally delete the file, rename it, or move it to a different location, and Photoshop
does not going to be able to find it. So, once you see the check mark here, you can
just press OK and we can continue working with the video. So I just wanted to bring that up right away
because a lot of people are used to working with images and they don’t realize that videos
work just a little bit differently. One other thing I want to tell you before I get started
is that I was having some issues with Photoshop and videos. I discovered that Adobe Generate
creates problems when working with videos, so I had to disable Adobe Generate. So, if
you’re having issues, you might need to disable that as well. To do that, you can go to Edit,
Preferences, Plug-ins, and make sure that Enable Generator is unchecked. So I just wanted
to give you those two warnings before we got started. Okay, so now that we’ve gone through
that list, let’s start talking about actually working with video in Photoshop, and I’m going
to make the Timeline just a little bit bigger, and I’m going to Click and Drag on the edge,
here, until I see a double arrow, and drag up, just so we can have a little more room. And, briefly, we’re going to go over the different
sections of the Timeline panel. These buttons, here, are called the Transport Controls and
they control the video. For example, this one, if you press this button here, the Play
button, it’s going to play the video, as you can see there. Now, one thing about playing
the video, you notice that it’s a little slow. That’s because Photoshop needs to render the
video, so it’s playing it. That’s what this little green line here is. It’s actually rendering
the video. So if I were to Click and Drag the Play head back, and press on the Spacebar,
which is the keyboard shortcut for the Play button, you’ll see that the video now is playing
at Normal speed, or, roughly, Normal speed. And once it gets to the end of the green line
there, it’s going to slow down and this is going to start rendering again. When it gets
to the end it’s going to stop. I can hit the Spacebar, again, to play the video. The other
part of the timeline you need to be aware of is the Time Indicator, which is this, here.
And here you’ll see the number of frames, and this is the time. So, this is one second
here. So, 15 frames, 1 second; 15 frames, 2 seconds; 15 frames, 3 seconds. If you want to Zoom In, so we can get a closer
view of the frames and seconds, you can Click and Drag this handle, here, to Zoom In. So,
now, you’ll see each individual frame, and you can, also, click on these buttons to Zoom
In and to Zoom Out, but I like clicking on the little handles here better. This composition
here is 9 seconds long and we can clip this video to make it shorter by clicking and dragging
on the edges. So we have this video here of this car driving through, and I simply want
to create an animated gif that starts right before the car shows up. So start somewhere
around here and it plays through to just as soon as the car leaves the frame, and we’ll
just keep looping that over and over again. And that will be our animated gif. So, I wanted
to start right about here, right before the car shows up on the screen. So to clip this
video layer, I can hover over the edge, here, till I get that black double arrow bracket
cursor. I can click and drag to the right, and you’ll see the preview there, showing
me where the new start point is. And it will snap right on the Play head, and then I can
let go and I can come back to the beginning now. And you’ll see that the video will start
right before the car shows up on screen. Now, I want the video to end as soon as it
leaves the frame, so, right about there. So I can click and drag this over to the end
to clip the video, or I can click and drag this bar, here, which tells me how long the
video would be. So I can have a longer video, but Photoshop would only render and worry
about this part, here. But I’m, actually, going to make the gif smaller. I don’t need
to have a longer video, but I just wanted to show you that. Anyway, if I press Play
now, you’ll see the video starts there and it ends when the car leaves. If you want to
have the car looping back and forth so we can get a better understanding on how this
is going to look on an animated gif, you can click on the Fly out Menu, here, and click
on Loop Playback. Press Play, and the car is just going to keep looping back and forth,
and you’ll get a very good idea of what the animated gif is going to look like. I’m just
going to press Stop on that. Also, currently, there’s no audio enable for
this timeline, but if we click on this button, here, it will enable the audio. So I’m just
going to press Play just so you can hear it. You can, also, click on this icon here to
add more audio or another track if you want to, but we’re not going to be working with
audio in this project, so I’m just going to disable this. I just wanted to point that
out. We can, also, click on this arrow here, and it’s going to show us the different key
frames that we can add to this video. For example, I’m going to grab a guide, click
here on the side, on the ruler. So if you don’t have any ruler, you can just press Ctrl
R to enable them or disable them. I’m going to click and drag, and just put a ruler right
here; right at the bottom, here, where the tree starts out, and I’m going to click on
the Position key frame to add a key frame, and that’s that yellow thing you see here.
I’m going to do a Timeline Zoom, Click and Drag, just so we can Zoom In on the timeline
and we can see more of the footage, and we can see the key frame here. Now, the way key
frames work if you’re not familiar with them is, every time I make an adjustment to the
position, this is what this is controlling. I’m going to create a new key frame. So I’m
going to show you how that works. I’m just going to go to the end of the video;
right here, this is the end. And I can Click and Drag this layer and move it away using
the Move Tool. Notice that Photoshop created another key frame. So if I click on this arrow,
it will bring me back to the previous key frame. I click on this arrow, here; it will
take me to the next key frame. I’m going to go to the first key frame, which is where
the vehicle starts, and I’m going to press Play. And you can sort of see how that works.
Photoshop takes the information from the first key frame, the information from the second
key frame, and fills in everything in between, in this case, is the Position. There’s, also,
Opacity, so I’m going to go back to the first key frame and I’m going to turn on the Opacity
key frame. I’m going to click on the next key frame arrow, which is the one up here.
So it takes me directly above the other one, and I’m just going to bring the Opacity down.
If I go back to the beginning, I can press on this button, here, to go back to the beginning
of the animation and click Play. You see that the Layer moves, and it brings the Opacity
down, and that’s what that animation does. And Style controls the Layer Style, so I can
double click on the Layer Style and, maybe, I can add a Color Overlay, start with red,
move it to the end, and add another Color Overlay; but this time, we’ll make it green.
So, now, if I Click and Drag, you’ll see that layer starts out as red, and it turns green
as we move along. We can also move key frames to change the
speed of the animation, or to change where the animation starts or ends. We can delete
them by clicking on them. When they’re yellow you can just press the Delete key. You can,
also, Copy and Paste key frames. So, I’m just going to click on the stopwatch, here, to
delete all those key frames, because we’re not going to be using these particular key
frames now. I’m just going to go File and Revert, but, you know what? If I do a Revert,
it’s going to lose the connection to the video, so I’m just going to close it, instead, and
I’m just going to open it, again. So File, Open, Open the street.psd, and this is going
to tell me that it needs to find the missing video. So, I’m just going to double click
on Choose, Find the video and press Open, and then OK. All right. Now, we can start working with
the video again. So I need to find my start point, once again, and that was right about
here; right before the car shows up. Click and Drag, and then, find my end point, which
is after the car leaves the screen, which is right about there. Click and Drag all the
way to the red line there, which is the Play head. And I can press Play just to see how
that looks. All right, that looks pretty good. I’m going to go to the beginning of my Timeline
and you can just press this button, here. I’m going to Click and Drag a guide over to
the edge where this tree is, and that didn’t work. There we go. So, I’m going to click
on this down pointing arrow, add a Position, Move to the end of the animation, and I’m
going to add another motion key frame. Now, I wasn’t using a tripod, so the camera
was very shaky. If I were using programs like Adobe After Effects, or some other applications
to make video effects, they come with software that allows you to stabilize a shaky image.
Since we don’t have that in Photoshop, we’re going to have to fake it a little bit. So,
I’m going to add another key frame here by clicking on the Move Tool, and then using
the arrow keys on the keyboard to move the layer over to the right, right along the edge
of the tree. So, now, if I click Play, the image is not as shaky. It’s still a bit shaky,
but that’s okay. It’s not as shaky as it was before. You can sort of see in the left, here,
how much the image was moving due to my shaky camera work. But anyway, I’m going to press
the Spacebar to stop the video, and I’m going to grab the Crop Tool, and I’m going to make
the crop, and I’m going to hold Shift to make a crop there, so we don’t see those transparent
pixels on the side. I’m, also, going to move the crop up, so I
can see more of the houses there, and more of the street, and not so much of this side
walk here. And, actually, that’s way too high. Maybe that’s the highest we can go there.
I’m going to press Enter and I’m going to press Play, just to see how things start looking.
And things are looking pretty good. So, we’re going to keep things as they are. Since I
don’t need this guide anymore, I’m going to press the V key on the keyboard, Click and
Drag it out of the way to delete it. One of the biggest advantages of using Photoshop
for video is that you can apply pretty much any Layer Style, Adjustment Layer, Filter,
even 3D Objects on to your videos and render those out. So, for this image, we’re going
to give it a little bit of a movie effect. So, I’m going to click on the Adjustment Layer,
and click on Color Lookup, and I’m just going to select Teal Orange Plus Contrast, which
is way at the bottom. You probably couldn’t see it on the video, but it’s way at the bottom,
and it’s going to give my image a sort of a movie look, like so. I’m also going to add
one more Adjustment Layer, and that’s going to be a Curves Adjustment Layer. And I’m just
going to create an S Curve, like that. But my highlights are way too strong and I
don’t want them to show up as much. So what I’m going to do is I’m going to double click
on the layer here, and use the Blend If options, here, to move the slider. So if I move the
Slider to the left, it’s going to get rid of the white pixels created by the Adjustment
layer. But I don’t want the transitions to be so harsh, so I’m going to hold Alt and
split those, so the transitions are much, much smoother. Then, I’m going to press OK.
So this is a before and after. It just, sort of, makes the highlights or the shadows a
bit stronger. They might be too strong, actually, so I’m just going to bring the Opacity down,
and this is just personal preference here. You can do whatever settings you like on that.
But anyway, this is a movie look effect that we created just by adding two Adjustment Layers. Another thing we can do to this video is add
text. So I’m going to click on the Text Tool. I’m going to choose white as my foreground
color. I’m going to click there, and I’m just going to type the word “SPEED.” Press Ctrl
Enter when I’m done. Now, notice that Photoshop created this Speed layer on the same video
group, as the one we were currently working on; and that’s not what we want. We want to
create a new video group so we can click and drag this layer, and put it on top of the
video group we’re working on. And, now, the word “SPEED” is on top of the video we were
working on, and I’m going to make this the same length as the previous video group. I’m
going to press Ctrl T to transform, to make this word “SPEED” bigger. And, by the way,
I’m using Arial Italics for the font. So I can put that there. What I’m going to do now
is I’m going to convert this into a Smart Object. I’m going to click on it so it opens
up, and that way, we can add more elements to this, and it will all be animated on this
same video layer. And I’ll show you how that works. I’m going to click on this. I’m going
to add a New Layer, and I’m just going to fill it with 50% gray, and the only reason
I’m doing this is just so I can see what’s going on. So I filled it with 50% gray, I
hit Alt and Backspace, Option Backspace on the Mac, to fill. I’m also going to click
on the Crop Tool, and I’m just going to drag this down, maybe, this over to the right;
this over to the left, and move this up, just a little bit, and press Enter. And, again,
this background layer, I’m going to fill it again; Alt Backspace, Option Backspace, so
I can fill that. What I’m going to do now is I’m going to Ctrl
Click, Command Click on the thumbnail, here, this icon of the T, so it makes the selection
around the word “SPEED.” I’m going to create a New Layer, and I’m going to fill that layer
with white. Ctrl D, Command D, to Deselect. Then, I’m going to go to Filter, Blur, Motion
Blur, Angle is 0 (zero), Distance, maybe, just a little bit more than that; 42 pixels
seems to be okay. And I’m going to click on the Move Tool and drag it over to the left.
And, actually, I’ll press Ctrl T, maybe, bring that in, and bring that back, like so. I’m
going to add a mask. Press B on the keyboard for my Brush Tool with black. I’m just going
to make a big brush and sort of hide that. I need a Soft Brush, so yeah, something like
that. So, maybe, like that. Don’t make those lines as strong. And, maybe, bring the Opacity
down a little bit. And, actually, you know what? On the mask, I’ll even add the Motion
Blur on that, as well. And I’ll add it, again, on the layer. And that looks like it will
work. It doesn’t need to be perfect. And, also, I can create a New Layer. Select black
as my foreground color, and then, just create a shadow. So, maybe, something like that.
And I’ll add a mask, increase the size, and then, sort of fill the bottom part with black,
and I’ll fade it out, so it’s not completely gone. It’s just semi-transparent. Bring the
Opacity down, something like that. So I’m just going to disable layer 1, so it’s
transparent. Press Ctrl S to Save. Close this, and if we come back, we see the changes that
we made to the layer. And if we want to, we can press Ctrl T to make it bigger, and, I
think, we need to make the shadow a little bit more transparent and the blurring after
the word SPEED a little more opaque. So I’m going to double click on the Smart Object.
Press OK. I’m going to enable this just so we can see it. And I’m just going to increase
the Opacity to like 100%. Or, actually, this is the shadow. I’m going to bring the Opacity
on that a lot lower. So, maybe, 15%, and this is the blur. And we’ll put that up all the
way at 100%. I’m going to disable this layer, again, Ctrl S to Save, Command S on the Mac,
I’ll come back, and that’s looking a little bit better, and we’re just going to leave
it at this. This is really not that important. But anyway, so I’m going to come back to the
beginning of the video, and right after the car passes the tree, I want this word to appear.
So I’m going to Click and Drag this right here. Actually, maybe, the car needs to be
about there. This is the video group number 2 that we’re
working on. This is where the speed composition is. I’m going to click on Transform. I’m going
to move the play head, wait until the car leaves the video. Then, I’m going to Click
and Drag while holding Shift, and move that all the way. You know what? I’m noticing already
this too low. So, what I need to do is, actually, get that a little bit higher, maybe, right
about there. So, it sort of looks like the word is following the car there. While I’m
over the first key frame, I’m going to move up just a little bit, and then you’ll see
it follow the car. And, actually, you know what? I don’t want it to be as fast as the
car, so, maybe, I should move this key frame here, at the very end. I might need to make
the original video just a little bit longer, so that’s what I’ll do. I’ll make the original
video just a few frames longer, just so I could have time to get the word out, like
so. I’m going to click on the speed group layer once again, and I’m just going to make
the speed text layer longer, so it fills up the entire animation, because we made the
animation longer. So I’m just going to close it and save it, and now you can see it there.
If you’ll notice, just a second ago, it was gone because the Timeline of the Smart Object
was not long enough on that text layer. So, now, let’s play our animation and see what
that looks like. Okay. So, now, what we can do is we can add
a mask to hide the word when it’s behind the tree. If I add a Layer Mask, notice that we
get a Layer Mask Position and Layer Mask Enable key frames, and I find them a little hard
to work with, and I’ll show you why. If I add a Mask Position here, and then paint with
black on the tree, and I’m just going to do this fast, just so you can see the problem,
at least, that I see. You’ll see that I painted it with black and it hides the text and it
sort of looks like the text comes out from behind the tree, which is what we want. But,
then, if we move to the end of the timeline, and, maybe, we want to paint on this post,
here. Once we paint, the Layer Mask changes, and it doesn’t create a key frame because
the only key frame this has is for a Layer Mask Position, and that’s not what we wanted,
and that’s not going to solve our problem. There are two ways of fixing this problem.
You can Unlink the Layer Mask from the Smart Object, and that will allow us to Mask Out
the word SPEED from behind the tree, and it will also allow us to add a mask behind this
post. So it looks like the word SPEED goes behind the post as well. So, notice that the
Layer Mask didn’t change there. So you have to Unlink it. I’m going to fill it with white
now. The other way of working around this problem
is by adding a Layer Mask to the video group, and that’s what I’ll do. I’m going to add
a Layer Mask to the video group. I’m going to come back to the beginning of the animation.
I’m going to grab the Quick Selection Tool. Click on Layer 1, which is the video, and
simply make the selection around the tree. And it’s okay if you go up into the sky. That,
really, doesn’t matter. Click on the video group 2 layer mask, Fill with black, Click
on Layer 1, Select this post, and hold At, Option on the Mac, to subtract from the selection,
still using the Quick Selection Tool. Then I can click on the video group 2 layer mask
and fill it with black, again, and you’ll see what happens. Now, you can actually see
it here on the icon, and if I hold Alt and Click, Option and Click, you’ll actually see
the Layer Mask. That’s what I did. I’m going to press Ctrl D to Deselect, and I’m going
to press Spacebar on the keyboard to see what that looks like. So, now, it looks like the
word SPEED is coming from behind the tree, and it goes behind this post, here. Okay.
So that’s going to be our animated gif. I’m going to press Ctrl S to Save. It’s always
a good idea to save when you’re working with video, because if you have an older computer,
Photoshop is more likely to crash. So now that we have our animation, it’s time
to export the gif. And to do that, let’s go to File, Save for the Web, and we can export
this as an animated gif. First of all, the Width is just too big. Usually, animated gifs
are much, much smaller than that, especially, because they’re shared on the internet, so
we can’t have huge files and huge file sizes. So I’m just going to bring this down to 25%,
and, also, notice this is only one frame of the image. That’s because we have the file
type as jpeg. And, by the way, just as a side note, if you wanted to save a particular frame
as an image, just go to the frame that you want to save, then do a Save for the Web.
Save it as a jpeg and it will save out that particular frame, but we want the whole animation.
To do that, we’re going to change the file type to gif, and this is going to take a minute.
This is going to render out every single frame of the animation. And then, we can play around
with the different settings of the gif. One of the most important ones is the Looping
Options. If I press Play, you’ll notice that the animation only loops once. That’s because
the Looping Options are set to Once. You can change them to Forever or Other. If you press
Other, you can just put in any value you want here. For example, five, if you wanted it
to loop five times. But, you know, we don’t want it to loop five times. We want it to
loop forever, so I’m just going to select Forever from the dropdown menu. I’ll click
Play. You’ll see a preview of what our animated gif looks like. I’m going to press Stop. There’s also a different Preview you can do.
You can click on the Preview button, here, which will open up this animated gif in a
browser, and this gif is going to open up in my default browser, which is Google Chrome.
I’m going to click on the Preview button, and it’s going to open up the animated gif
in a browser. So this is, more or less, the way the animated gif would look online, and
this gives you some information about the File, Format, Dimension, File Size, and a
bunch of other information. But, anyway, you can just press on the Save button when you’re
ready, and then save it on to your computer. But I’m not going to do that. I’m just going
to click on Done. If you wanted to save out this animation as a video, you can come to
the dropdown menu, click on Render Video, and choose where you want to save your file.
Give it a name if you like. You, also, have to select the format that you want to save
out your video as H.264 is great, if we’re going to be sharing it on YouTube or sharing
it anywhere online. If you want a higher quality, I would recommend Quick Time. You can use
a preset of high quality or Uncompressed, but this is going to give you some really
big file sizes, but they’ll be the highest quality possible. Also, if you are using any 3D objects or animations
in your video, you want to consider the Render Options, and, most importantly, the 3D quality.
There are three different levels of quality in what you can render out your 3D animations.
Interactive is the lowest quality, Ray Traced Final is the highest quality. Depending on
your 3D animation and how complicated it is, choosing Ray Traced Final could add hours,
if not days to your rendering. So you got to think carefully if the extra quality is
worth the extra hours of rendering. You might also consider leaving a video rendering overnight,
if need be. But anyway, those are the different ways that you can export your video. Okay, guys, and that’s it for this tutorial.
I hope you enjoyed it and that you learned something new. Feel free to leave any question
or comment down below. I would love to know what you thought about this video. If you
found this tutorial useful, don’t forget to click the Like button and share it with your
friends. Make sure you subscribe and don’t forget to check out my website for more tutorials, My name is Jesus Ramirez. Thank you for watching and we’ll
talk again very soon.