Use any available method to create transparent areas in your composition. For example, draw a mask around an object or area of your composition that you want to replace, and set it to Subtract mode. To learn how to create masks, see Create masks.
Use this article to learn how the Content-Aware Fill panel can be used to remove unwanted objects from your video.
Removing an unwanted object or area from a video can be a time-consuming and complex process. With the Content-Aware Fill feature, you can remove any unwanted objects such as mics, poles, and people from your video with a few simple steps. Powered by Adobe Sensei, this feature is temporally aware, so it automatically removes a selected area and analyzes frames over time to synthesize new pixels from other frames. Simply by drawing mask around an area, After Effects can instantly replace it with new image detail from other frames.
The tool gives you the option to help get the fill to blend seamlessly with the rest of the image. The Content-Aware Fill panel contains various options to help you remove unwanted objects and fill transparent areas.
To open the content aware fill panel, select Windows > Content Aware Fill.
The Content-Aware Fill panel includes multiple features to enable precise removal of unwanted objects from your vidoe. But all these features may not be useful in every situation.
Here is a summary of the steps you need to follow to use the Content-Aware Fill feature:
Use any available method to create transparent areas in your composition. For example, draw a mask around an object or area of your composition that you want to replace, and set it to Subtract mode. To learn how to create masks, see Create masks.
Open the Content Aware Fill panel with Windows > Content Aware Fill.
In the Content-Aware Fill panel, select the Fill Method, and set the Range that you want After Effects to analyze. Then click Generate Fill Layer which Generate fill adds a Fill layer on top of the selected layer in the Timeline panel. The layer contains sequences of images that After Effects analyzes while it generates fill layer.
Handle lighting shifts in footage better with improved Content-Aware Fill. It helps you cleanly remove objects from footage where harsh lighting changes occur throughout your footage and get results that look more realistic without distracting artifacts. Without lighting correction enabled, Content-Aware Fill stays true to the reference frame and does not take into consideration any lighting changes.
Lighting Correction has three strengths:
The old Content Aware Fill (when Lighting Correction is disabled) stays true to the reference frame and does not take into consideration lighting changes. It is more useful in footages with consistent lighting. Content-Aware Fill currently copies only local information from each image and then finds some global adjustments to fit this information into the target frame. When you use lighting correction on footage that contains lighting shifts such as shadows, highlights, lens flares, and auto exposure changes that are not correctly read, the color of the pixels copied into the hole are not the correct color, and the result do not look clean.
With this feature, you have the option to correct fill lighting inside of Content-Aware Fill like the actual fill layer that’s generated. This eliminates the need to generate several fill layers to correct it and is helpful for lighting and color changes. When lighting correciton is enabled, Content-Aware Fill gives back a fill layer which is seamlessly integrated with the rest of the footage. This Fill layer is lighter, but with the same quality.
This does not impact the speed of the performance than without lighting correction. The overall workflow is faster when working with footage with variable lighting because you don't need to take additional steps to clean up the results.
Situations where the Strong might not work well are footages with flickering lighting condition such as on grass or sandy shots that reflect a lot of light. The Strong can can color correct too harsh which can introduce more flickering. In those cases, try using Subtle or Moderate strength.
You can use the following examples to see how the different settings work in different situations:
Use the Pen tool and draw a mask around the boat. For best results, draw the mask close to the object but leave some space around it for After Effects to analyze the frames better. You can use the following steps to draw a simple mask:
1. In the Timeline panel, select the layer and select the Pen tool.
2. Click key points along the shape that you want to mask. To close the mask, click again on the start point.
3. Adjust the mask point by using the Selection tool. Click and drag points to adjust them.
4. If you want the mask to have refined curves, click around each mask point to adjust the curve.
5. Once the masking is done, select Subtract.
6. Since it is a moving footage, track the mask so it moves with the boat. Right-click the mask layer, and select Track Mask. To learn more, see Mask Tracking.
In the Timeline panel, right-click the layer and setting the mask mode to Subtract. After Effects creates a transparent area in place of the boat.
To open the content aware fill panel, select Windows > Content Aware Fill.
The panel displays multiple options. For a detailed list of the panel options, see The Content Aware Fill panel. Use the following settings:
Click Generate Fill Layer. After Effects analyzes each frame and fills the transparent area, and adds a Fill layer to the timeline panel. The layer contains the resulting sequence of images that After Effects has analysed. The name of the layer displays the number of images in that sequence.
This fill method is best used on footage with moving camera as it replaces the object entirely with what is behind it. It fills the transparent area by taking pixels from the current and surrounding frames, and outputs a seamless looking frame.
Use the first three steps in the Example 1 section to mask the areas to be replaced.
Select Window > Content-Aware Fill.
Set Fill Method to Surface, and Range to Work area.
Fill Target displays the transparent area to be filled. Click Generate Fill Layer and let After Effects render the frames.
There can be footage where Content-Aware Fill alone may be unable to achieve the desired results. For example, a footage with water or areas where there is varied light and texture. In such situations, you can take advantage of the Adobe Photoshop tools such as Clone Stamp to finetune your footage.
Make sure you have Photoshop installed on your machine.
In the above example, we remove the girl from the footage where the background has varied light and texture.
Follow the steps in the above example to mask the girl in the footage. Set the Fill method to Object.
After you mask, use the Create Reference Frame option in the Content-Aware Fill panel.
To make a Reference Frame, after you create a mask, select a frame where the object is largest in your shot. In this example, use the first frame. Click the Create Reference Frame button to send that frame (with its mask) to Photoshop. A reference frame is a user-painted single-still clean plate to teach the Content-Aware Fill algorithm what pixels to fill in your masked area.
Paint in the fill in any way that works for you. For this example, use the Clone Stamp tool to get finer results. After you make the edits, save the footage. Avoid saving the footage using Save As, always Save the changes with the same name and location, else Photoshop creates a new file which isn’t referenced directly by After Effects.
Reopen After Effects, and the Content Aware Fill panel places your reference frame on a layer below your original shot. This layer updates with your saved paint job from Photoshop, and fills the object mask for that frame only with your Photoshop Reference Frame.
Another tool you can use is the Photoshop Content Aware Fill.
To learn about the different Photoshop tools, see Remove objects from your photos with Content-Aware Fill, and Retouch and repair photos.
Click the Generate Fill Layer button to render Content Aware Fill that references your fixed frame.
To open the Content-Aware Fill Settings dialog, click the menu icon (three bars) in the title bar of the Content-Aware Fill panel, and choose Content-Aware Fill Settings.
To manually delete fill layer footage that is not being used by a composition, click on the menu icon (three bars) in the title bar of the Content-Aware Fill panel, and choose Delete Unused Fill Footage.
Log ind på din konto