Realistic basics Trim path and motion tracking
Hello this is Jiwon Choi
In this lecture we will learn about trim path
and motion tracking
Today's learning content
First, through practice using the trim path
Let's try to understand the concept and usage
of trim path in After Effects
Secondly, through hands-on practice using motion tracking,
Let's learn about the concept and use of motion tracking
Concept of Trim path and Motion Tracking
First, let's learn about the concept of trim path
Trim path is a frequently used tool when
creating shape animations
And by adjusting the start and end points
You can implement various animation effects
Drawing a line with the pen tool
or when moving a shape or something like that
It can display appropriate animation effects
Through practice,
You will be able to understand it more precisely
Next is motion tracking
Motion tracking is very fun
The motion, literally
the term tracking is a combined
Tracking a specific part of the video on the screen
This feature makes text or marks follow it
It could also be a person or an object
you want to highlight in a video
This is a function that allows you to track around the target
It's so amazing
For example, if there is an idol I like
On stage, with the camera
I can track my favorite idol
The second is when conveying information
When taking a video of an object or subject
Things like comments or tags
that can explain about that object
can be added as text
So, it is a function that can be used in many useful ways
So I hope you can follow along closely today
Utilizing Trim path and Motion Tracking
Then let's start practicing trim path and motion tracking
Please open Adobe After Effects
As usual, the basic screen appears like this
First, we'll create a new composition
Please press Ctrl + N
I'll name it into a trim path exercise
And please make it 1920x1080
Make everything the same
Please make the duration 5 seconds
Press OK
The screen was created with a 5-second timeline
If you've made it this far, we'll now create a solid
Right click on the timeline and select New
And from new, solid color
I'll do a white background here
Please make it the same size as 1920x1080 with a white background
The color is FFFFFF Please make it white
I got a white background On top of this white background
I'll just draw what I want with the pen tool
The pen tool is in the tool bar
You can also find it with the shortcut key P
Now that you've found the pen tool, let's draw a line
I drew it freely
There is a fill here, so I will remove the fill
In Fill, remove the fill and click OK
I removed the fill so the lines are not visible
I'll make the stroke color red to make it stand out
I'll make it blue Please press OK
You can also adjust the thickness
You can adjust it with a numeric value
You can also adjust the value by dragging like this
I want to make it pretty visible
So I'll make it a little thicker, about 44
Open the shape layer
It says shape layer
I'll change the name to make it easier to recognize
I'll name it Drawing
If you open this drawing shape layer,
Content, Transform will come out like this
If you look all the way to the side of the content, you will see Add
Add appears, and there is an arrow next to Add
Please click on this shape once
If you click on it, there are various functions
It says trim path
Select trim path
The moment you select, under the shape
It says Trim path 1
If you open this trim path 1, the function will appear
Let's take a look at what features are available
First there is Start, and then there is End
Below that is Offset
Here, Start and End are
used to adjust the start and end points of the drawn shape
Let's try dragging Start here
Drag all the way, then drag the end point, and drag the offset as well
Please try it and see how it turns out
If you've tried everything, let's give it an animation effect
I'm going to give it a keyframe
First, put the rhombus at the origin
Please mark the starting point and the ending point
I'm going to try to make a change
Let's try to set Start to 100 at about 1 second
100 only at start
I won't give it an end value
Just set Start to 100 and press the space bar like this
Then what happens?
Now, I started from the starting point 0 and increased the Start to 100
The line is gradually erased
Then let's change the End value as well Press Ctrl + Z
Now the End value is from 0 to 100
Move the indicator to 1 second
What would happen if you set it to 0 like this?
It's supposed to go back again
Then, shall we go and come back?
What should I do if I want it to go and come back?
Please keep the first point the same
Please start with 100
If you leave the end value the same, then you're done
And at 2, the End value is set to 0
Then it goes and comes back again
I'll try again This time, the Start value should be the same
Let's go for 3 seconds
What should I do at 3 seconds?
Set the start value back to 0
The end value as is, so do this
What should I do in 4 seconds?
I think you might be starting to get a little confused now
Move the End value and make the Start value the same
Lastly, 5 seconds What should we do with 5 seconds?
Increase the Start value to 100
Set the end value to 0
Let me play it
Come and go and come and go
Just by drawing one line, you can create so many different movements
I somehow think it would be more fun to draw moving lines
So we're going to try to make one
I tried to give movement to the line like this with a trim path
Then, I will try to apply it using the trim path
Trim path World Tour
Please create a composition by pressing Ctrl + N
Trim path World Tour
Please make it like this
I'll make it short Please make it about 5 seconds
Please make it 1920x1080
I already made one so I'll delete one
Make this world tour
Ctrl + I to see the airplane and world map
Please bring these two
Just click Import
I already have it so I drag it here
Let's put it in the timeline panel
Please put in two of these, an airplane and a world map
The file I brought is a bit large
It's so big, I'll start by adjusting the size
First, click on the map to adjust the scale
It's currently set to 100, but if you drag it to the left, it will get smaller
If you change it to fit the edges to some extent, it will be fine
The same goes for airplanes, which reduce the scale value in their transformations
This looks like a screen we've seen a lot
If you take a plane, 'you will arrive soon '
There's an animation showing you how far you've come
Then we will draw a line with the trim path
I'll also change the airplane's position value to the upper left
Please pull it all the way and I will send the Y value all the way to the end
I made it 182 and 204
I'll send it a little further up to the land
I'm going to move from this end to this end
The current flight position is 182 and 156
Please set the X and Y axes like so
You can set it up like this first
And now, just like we practiced earlier,
I'm going to draw a line with the pen tool
I'll draw it simply
Select the pen tool and click once at this end
Click once in the middle and drag it without releasing it
Depending on the direction you drag, a curve is created
So please make this curve well
I'll take it off and take another point and send it to the end
If you just click once like this, a curved line will be created
A curved line will appear
If there is any fill
Because the line can't come out like this
Click Fill and make sure to click Don't Fill
Where did you change the color? Go into Stroke
For those who don't have a stroke
Please make sure this is checked
Also, check the second one in solid color and click OK
Then you can adjust it here with the color you want
If you wish the line thickness to be more visible
You can give it thickness in Stroke Width
I made it a little thinner I'll make it a size 7
If you've made it this far, click like this
Now you know where to go
The plane will go from top left to bottom right
How are we going to go? The shape layer
I'll change its name, to direction
If you change it to direction and open it, what did you do before?
If you look to the side through the content, there was Add
If you click on Add, there was a trim path
Please press Trim path
Are you following me so far?
The moment you press Trim Path
A trim path like this appears on the timeline
Here we will open the trim path and change the end point
First of all, there is an end point, End
Place the indicator at 0 seconds and press it
Press it and then
I'll do it for 2 seconds, no for 3 seconds
Place the indicator at 3 seconds
The end value will go from 0 to 100, so set it to 0
And in 3 seconds I'll raise it to 100
So at 0 seconds it's 0 and at 3 seconds it's 100
So, try pressing the space bar once
Then the line is drawn like this from the start point to the end
You've followed me this far, right?
You can draw a curve and make it continue to the end
If this happens, close the trim path for a moment
On top of that, it says Shape 1
You will press this
Among these, there is Path 1 Please open it
This watch on Path
Press once while the indicator is at position 0
So please give it a starting point
Please click somewhere else to remove what you clicked
After removing it, just click on this Path
We'll click and then press Ctrl + X
Ctrl + X means that you want to separate only this Path
If the Path is separated like this
Close this line for a moment and we'll go to the plane
Did you open the airplane?
Once you have it open, click on the plane's position
Please press Ctrl + V
If you press Ctrl + V, a path will be created
Let's press the space bar once
The path is drawn, but the plane is going a bit too fast
And the plane is behind the line
So first, I'll organize the layers
I'm going to put it up like this so that the plane is on top
Then, for now, the relationship between the front and back layers has been resolved
To prevent the plane from going too fast first,
I guess I'll have to take a look at the timeline Let me open it up
The position of the airplane is from 1 second to 2 seconds
The path is at 3 seconds
Then let's align the end point of the plane with the trim path
I'll give it a try
The end point of the trim path route and the end point of the airplane
I made it so that they would finish at the same time
Then they arrive at the final finish by drawing a line together
Let me give you a little more reality here
Let's make this assumption
The closer we get to our destination,
So, from a plane far away
Let's try to show it getting closer
To do that, you just need to change the scale value a bit
So let's try the scale value and rotation too
Also changing the rotation value
I'll try to make it a little more natural
Open the plane
When the plane is at position 0, press the scale
I'll scale it down a bit since it's going to be far away
Since you can't see it, I'll reduce it from 8 to 4 now
If you can't see it, we can make it appear more and more visible
Once it's at 4 here
I'll make it 8 when it finally gets there
I just changed one of the X-axis and Y-axis scales
I changed only one, but the X-axis and Y-axis changed together
The reason is because it is tied like this
If you break this binding, it will be applied separately
But there's no need for that now
I'll tie it together and make an animation efficiently
Let's press the space bar once
As it got closer, the plane got bigger
It could be a little bigger, I'll change it to 10
As it got closer, the plane got bigger
If you've grown it in size
Let's give it a little rotation too
Please make the indicator 0 again
What happens when the plane takes off? It looks up
So please give it one rotation
I'll change the angle slightly to -10
If you change it to -10, there will be a little movement
When it comes from here, there is a curve about halfway through here
Here we will change the rotation to plus
To match the slope of this curve, I changed it to +25
Then, we will now land at exactly this angle
What happens before landing?
The angle will change to flat just before
So I'm going to get ready to land around 20 seconds
I'm going to prepare for landing, and how do I do that?
At this point, I'll click on the rhombus
I'm going to rotate it slightly from here by about 15 degrees
When you make the final landing, you will make the angle 0
At first I set it to -10
In the middle, I set it to 25 to adjust the angle
Next, I made it 15
Then I set the last one back to 0 Let's take a look
We've made it to the landing
It turned out to be a very smooth flight
This was the trim path practice
Then let's try motion tracking
I'll make a new composition
This time, let's call it a vlog
Please make it 1920x1080
Duration will be around 20 seconds
And make sure it's 1920x1080, 29.97
I will make sure to do that and OK
And you'll need to bring the video
You guys, please import the vlog by pressing Ctrl + I
I already brought it like this
Play the video once
Because I'm going to be tracking the people in this vlog
I'll just cut out the part we want to track
How do we do that?
Drag the desired section like this
I'll take this point as a starting point
I'll try to do it for about 10 seconds
The camera keeps following this person
I'll try to do it for 7 seconds
I'll try to do it for 9 seconds
Wait a minute, I have to see the end point here
I'll move the endpoint
It's very long
Play until the end
It's at 8 seconds
If it has come to this point, I would like to try Pre-Compose
Pre-Compose is Ctrl + Shift + C
You can just right click and do this
And then press Vlog.mov Comp 1
I'll click on the second one
Then click on Adjust composition and OK
If you look at it, it will determine how far the rendering will go
Now here I am at this point
Let's try tracking
When tracking, you need to find a point to follow
It's so clear
I will be tracking this person's head
First, go into Windows
Please find the panel called Tracker here
It's at the bottom
When an image is selected, the tracker becomes active
Here, please click the Track Motion button
Click the Track Motion button
Two layers of rectangles appear
If you enlarge the end point like this, you can adjust it
So I'll go with this
Let's do this part of the face
I think tracking will be fine at this level
And I need to create a Null Object
Let's create a New - Null Object in the timeline
And I'll change this Null name
I'll rename it and change it to number 1
Please change it to 1 and go to the tracking panel
Click the Edit Target button once
If you click on it, a window will pop up asking where to save the value
Null Object here
1.1 I have already done it
Please select this and press OK
Please press OK and then press play
It's a little choppy
But when extracted, it doesn't turn out like that
It may take some time depending on your computer specifications
I missed the mark in the end and the reason why is
It's because the face disappeared
So here, the track point
I guess I'll have to change it What should I change it to so that I can follow along better?
What should I change the track point to so I can follow along better?
I think it would follow along well if I change the track point to the bag
So I'll re-designate it as the bag
Please do this and try again
Please create a null object
Click Edit Target, select the created Null Object, and then click OK
Let's call it target 1
I'll give it a try, it's a bit slow though
I'll see
It's following along well, even though it's slow
So, targeting an object that can be followed well like this
is very important at first
So please make it so that it can follow along well
Just click the Apply button
Please cover the vlog and on transform in target 1
I'll press the position once
Then there are a lot of position values
Even though I didn't specify all the positions
it's following along well, right?
So, you can check that out
This is how we do motion tracking
So that the camera can follow the motion of the subject
We tried tracking like this
In this session, we learned about the concept of trim path and used it
After looking at the concept of motion tracking, we tried it out in practice
Now that we are at the intermediate level
You can think of it as the first lecture
Dealing with effects that create effective motion
Then, let's wrap up by summarizing what we learned in this lecture
Thank you
Concept of Trim path and Motion Tracking
TrimPath A feature that gives animation effects after drawing a line with the Pen Tool
Motion Tracking Feature to track movements
Utilizing TrimPath and Motion Tracking
Practice using TrimPath 1 Create a new composition by pressing Ctrl + N
Create a single color solid layer Draw a line with the Pen Tool
Specify the start and end points of the green shape Activate the start and end points at the timeline origin
Express various movements by setting start and end points
Practice using TrimPath 2 Create a new composition by pressing Ctrl + N
Draw a curve with the Pen Tool Set Fill and Stroke options
Click Trim Paths on the Path Layer
Adjust scale values ​​according to aircraft path
Adjust rotation values ​​according to aircraft path
Motion Tracking Utilization Practice
Create a new composition with a duration of 20 seconds
Cut out the tracking section and decide the rendering section
Move the track point to the desired location to determine the tracking point
Select the created Null Object and click OK
The track point must be targeted so that it can follow well