DaVinci Resolve Magic Mask: Remove Backgrounds Fast
- Ryan Camp

- Aug 4
- 7 min read
Cutting a person out of a shot frame by frame can swallow hours of editing time. DaVinci Resolve Magic Mask gives you a faster way to isolate a subject, track it through a clip, and place it over a different background.
The tool still needs a little direction, especially around hair, motion blur, and busy backgrounds. However, once you understand the selection, tracking, and alpha output steps, you can build a clean composite without a green screen.
Start by setting up the timeline so you can see the result as soon as the mask is active.
Set Up Your Subject and Background Clips
Place the footage you want to cut out on Video Track 2. This is your subject clip, whether it features a person, an object, or another element you want to isolate.
Then put the new background on Video Track 1, directly beneath the subject clip. Once Resolve makes the area outside your selection transparent, the lower clip will show through behind it.
This simple layer order matters. If the replacement background sits above the subject clip, it will cover the masked footage instead of appearing behind it.
Before moving to the Color page, click the subject clip in the timeline. Magic Mask applies to the selected clip, so it is easy to work on the wrong shot if you don't confirm your selection first.
Magic Mask identifies the subject, but the Alpha Output is what makes the original background transparent.
Open AI Magic Mask in the Color Page
With the subject clip selected, open DaVinci Resolve's Color page. In the palette area, click AI Magic Mask to open the Magic Mask 2 window.
Magic Mask is built for separating a person or object from its surroundings. Rather than drawing a detailed rotoscope shape on every frame, you give Resolve a few reference points and let the tool track the selected area across the shot.
Choose a Frame That Challenges the Mask
Don't start on the easiest frame in the clip. Scrub through the footage and find a moment where the subject is hardest to separate from the background.
A useful starting frame might include loose hair, arms with motion blur, or movement that pushes the edge of the subject into the background. Giving Magic Mask information at a difficult point can produce a more reliable track across the rest of the shot.
For example, a person standing against a solid wall is usually easier to mask than a person with windblown hair moving in front of detailed trees. The tool can still handle difficult footage, but complex edges often need extra cleanup.
The final composite also depends on more than the mask itself. The lighting, color, and perspective of the replacement background affect whether the subject feels like they belong in the new shot.
Select Your Subject With the Plus Eyedropper
In the Magic Mask window, choose the plus eyedropper tool. Click a few areas on the person or object you want Resolve to track.
Use points that give the tool clear information about the subject. In a person shot, that could mean clicking the face, torso, and visible parts of the clothing. The example uses about five selections, although a simpler shot may need fewer.
After you make the selections, Resolve highlights the area it believes belongs to the subject. Turn on the mask overlay to inspect that selection more closely. The red overlay makes it easier to spot areas where the mask has included part of the background or missed part of the subject.
If the view is confusing, use the invert option. Seeing the selected background rather than the selected person can reveal stray patches that would otherwise be easy to miss.
Refine the Selection Before You Track
Start by choosing the better option in the Quality control. Higher-quality analysis can take longer, but it gives Magic Mask a stronger starting point for a shot that has detailed edges or movement.
Next, make small adjustments to the cleanup controls:
Raise Smart Refine a little to improve edge detection.
Add modest amounts of Blur Radius, Smoothing, Post Filter, and Denoise if the selection looks rough.
Lower the In and Out Ratio slightly when the edge needs more refinement.
Small moves are usually more useful than extreme settings. Too much blur or smoothing can soften the edge so much that the subject loses detail.
Adjust these controls before you track whenever possible. Resolve may require you to re-track the shot after you change some Magic Mask settings.
Track the Mask Through the Entire Clip
Once the selection and controls look right, click Track Forward and Reverse. Resolve will follow the selected subject from the current frame to both ends of the clip.
The tracking time depends on the length of the shot and the speed of your computer. Let the process finish before judging the result, then play through the clip while the mask overlay is enabled.
Pay close attention when the subject turns, crosses in front of a similar-colored background, or moves quickly. Hair, hands, arms, and motion-blurred edges are common trouble spots because they change shape and can blend into the scene behind them.
A solid or simple background helps Magic Mask draw a cleaner edge. Still, the tool can produce a usable starting point even with flowing hair and a busy background. Those clips may need another pass with adjusted controls and a new track.
Add an Alpha Output to Remove the Background
At this stage, Magic Mask may look as though it has tracked the person correctly, yet the original background is still visible. That is expected until you connect the mask to an alpha output.
In the Color page node graph, right-click in an empty area and select Add Alpha Output. A blue alpha output point will appear beside the existing node.
Then drag from the node's blue output square to the blue alpha output. This tells Resolve to turn everything outside the Magic Mask selection transparent.
Use these steps in order:
Right-click in the node graph and add an Alpha Output.
Find the small blue output square on the Magic Mask node.
Drag that blue connection to the blue Alpha Output.
Turn off the red mask overlay.
Review the subject over the clip on Video Track 1.
The background beneath your subject should now appear in the viewer. If you can still see the original background, check the blue alpha connection before changing any mask settings.
If the subject is tracked but the composite has not changed, the missing Alpha Output connection is often the problem.
Clean Up Missed Areas and Rough Edges
Magic Mask often gets close on the first pass, but it does not promise perfect edges in every shot. Review the result with the replacement background visible, because a mask that looks fine over a similar scene may show obvious gaps against a bright or contrasting background.
If Resolve has included part of the old background, choose the Subtract tool and mark the unwanted area. This is helpful when small pieces of the background remain around a shoulder, arm, or hairline.
When the mask misses part of the subject, use the Add tool to bring that area back into the selection. You can also return to the plus eyedropper and add more reference points if Resolve needs clearer guidance.
After making significant selection or control changes, run Track Forward and Reverse again. The new track is what carries those corrections through the rest of the clip.
Treat Hair and Motion Blur With Patience
Fine strands of hair are among the hardest details to separate. Fast motion makes the job harder because the camera captures a softened edge rather than a sharp outline.
Start with a difficult frame, use subtle refinement settings, and inspect the clip against the final background. If the first result leaves bits of background around the hair, try a second track after adjusting Smart Refine, smoothing, denoise, or post filter.
There is no single group of settings that works for every shot. The footage decides how much cleanup is needed. A subject with clear contrast against a plain background will usually require less work than a person moving through a detailed location.
Use Magic Mask for More Than Background Replacement
Background replacement is the obvious use case, but Magic Mask can also help you make selective adjustments inside a normal shot.
For example, you can isolate a person and adjust their color without changing the background. You can blur the space behind them to pull attention toward the subject. The mask can also limit a lighting effect to one part of the image, which gives you more control than applying the effect across the full frame.
These adjustments work best when they support the shot rather than call attention to themselves. A slight background blur or subtle exposure shift can guide the viewer's eye without looking artificial.
Magic Mask can be especially helpful for independent filmmakers working with limited time and crew support. It gives you a way to make targeted changes in post-production without manually drawing complex shapes on every frame.
Solve Common Magic Mask Problems
Most problems come down to selection, tracking, or the alpha connection. Before starting over, identify which part of the process is causing the issue.
If the subject disappears completely, inspect the node graph and confirm that the blue node output connects to the blue Alpha Output.
When the original background still appears around the subject, use Subtract to remove the stray areas, adjust the refinement controls, then track the shot again.
If part of the person or object is missing, use Add or place more plus eyedropper reference points on the missing section.
When hair looks uneven, make restrained changes to Smart Refine, blur, smoothing, post filter, and denoise before re-tracking.
If the composite feels fake even with a clean mask, compare the subject's lighting and color with the replacement background.
ask quality and compositing quality are related, but they are not the same thing. A clean edge helps, yet a subject lit by warm indoor light can still look out of place against a cool outdoor background.
Keep Building Your DaVinci Resolve Skills
Magic Mask is one useful part of a larger editing workflow. If you are still learning how to take a project from imported footage to a finished export, Ryan Camp's No-Budget Filmmaking 101 course covers the broader process.
Pre-production also saves time once you reach the edit. Frameset's shot-planning stills tool can help you collect visual references and brainstorm shot ideas before filming.
The more intentionally you shoot, the easier visual effects and compositing work becomes later. Clear separation between a subject and background, consistent lighting, and well-planned movement all give Magic Mask better footage to work with.
A Faster Path to a Clean Composite
DaVinci Resolve Magic Mask can replace hours of frame-by-frame cutout work with a short selection and tracking process. The key step is connecting the blue node output to an Alpha Output, which turns the unselected background transparent.
Start on a difficult frame, make a few useful reference selections, and refine the settings before tracking. When hair or fast movement creates rough edges, make targeted corrections and run the track again.
With practice, Magic Mask becomes a practical tool for background replacements, selective color work, background blur, and controlled lighting effects.

Comments