{"course":{"slug":"video-editing","title":"Editing Video","url":"https://addaly.com/learn/video-editing","level":"beginner","track":"create"},"lesson":{"slug":"masks-and-rotoscoping","title":"Masks, and the honest cost of rotoscoping","url":"https://addaly.com/learn/video-editing/masks-and-rotoscoping","position":60,"of":77,"minutes":8,"answer":"A mask is a shape with feather, expand and invert, and animating one by hand costs roughly one to four hours per five seconds of footage, so keyframe sparsely, split the subject into simple parts.","keyIdea":"A mask is a shape with feather, expand and invert, and animating one by hand costs roughly one to four hours per five seconds of footage, so keyframe sparsely, split the subject into simple parts, and look for a solution that is not rotoscoping first."},"body":{"format":"markdown","text":"## A mask is a shape that says where\n\nDraw a shape; an effect applies inside it, or outside it. That is the whole idea, and it underlies windows in grading, blurring a face, replacing a sky, and every composite in this block.\n\nThree properties matter on every mask:\n\n- **Feather**: how soft the edge is. A hard edge always reads as cut out. Almost every mask wants some.\n- **Expand or contract**: moving the edge in or out by a few pixels, which is how you remove a fringe of background that came with your selection.\n- **Invert**: apply outside instead of inside.\n\n## Static, tracked, animated\n\nA **static** mask sits still. Fine for a locked-off shot: a vignette, darkening a blown window, blurring a fixed sign.\n\nA **tracked** mask follows something the tracker can lock onto. Fine for a rigid object moving through frame.\n\nAn **animated** mask has its shape keyframed over time, because the thing it covers changes shape as well as position. This is rotoscoping, and it is expensive.\n\n## Rotoscoping\n\nRotoscoping is drawing a mask around a moving subject, frame by frame, for the length of a shot.\n\nA realistic rate for a person walking, done by hand with a bezier shape and keyframes every few frames: **somewhere between five and thirty seconds of work per frame of footage**, depending on the complexity of the edge. A five-second shot at 25 fps is 125 frames. That is one to four hours for five seconds.\n\nThis number is worth knowing because it changes decisions. Rotoscoping is not a thing you casually do to fix a shot; it is a budgeted task, and in professional work it is frequently outsourced to specialists.\n\nWhat reduces the cost:\n\n- **Keyframe sparsely.** Set a shape every 5 to 10 frames and let interpolation fill between, then fix where it drifts. Do not draw every frame.\n- **Split the subject into parts.** A separate shape for the head, the torso, each arm. Each moves more than the whole, so each needs fewer keyframes.\n- **Track what you can.** Attach a shape to a planar track for any part of the subject that moves rigidly.\n- **Use the shot for less time.** Two seconds needs half the work of four.\n\nAnd the thing that reduces it most: **do not rotoscope if a different solution exists.** A cutaway, a different take, a reframe, or not doing the effect.\n\n## Hair, motion blur and transparency\n\nThe three things a drawn mask cannot represent.\n\n**Hair** is thousands of fine strands; a bezier shape approximates it as a smooth outline and the result reads as a helmet. The professional answer involves a separate hair matte and considerable effort.\n\n**Motion blur** means the subject's edge is semi-transparent across several pixels. A hard shape has no way to express that, so a rotoscoped moving limb looks cut out.\n\n**Transparency** (glass, smoke, water, a net curtain) is not a shape at all.\n\nWhen the shot contains any of these, either the effect changes or the shot does.\n\n## Machine-assisted rotoscoping\n\nResolve has a **Magic Mask** that segments a person, or a part of a person, using a machine-learning model: paint a stroke on the subject and it produces a matte and tracks it. Similar tools exist elsewhere, and Segment Anything-derived models power several free implementations.\n\nThis is useful and it changes the economics for a certain class of shot. Two honest caveats. It is good at people and body parts and poor at arbitrary objects. And the matte it produces is soft and imprecise at exactly the edges that matter (hair and motion blur) so it gets you 80% of the way and the last 20% is still hand work.\n\nOn Resolve, some Magic Mask features are Studio-only depending on version; check yours before planning around it.\n\n## The common jobs\n\n**Blurring a face or a licence plate.** A tracked shape with a mosaic or blur. Use a solid shape rather than a light blur if the intent is genuine anonymity, and check every frame: the track will slip.\n\n**Sky replacement.** A luminance key usually beats a drawn mask, because the sky is bright and uniform. Problems are at the horizon and in anything thin against the sky: branches, wires, hair.\n\n**Removing something at the edge of frame.** Often better solved by a reframe than by a mask.\n\n**A split screen.** Two rectangular masks and no difficulty.\n\n## Today\n\nDraw a mask around a moving object for one second of footage with keyframes every five frames. Time yourself. That number is the one to quote from."},"check":{"question":"An editor rotoscopes a person's arm as it swings quickly across frame. The mask follows accurately, and the result still reads as cut out. What is the mask unable to represent?","options":[{"text":"The arm's depth relative to the background, which requires a depth matte rather than a two-dimensional shape to composite convincingly.","correct":false,"tempting":"Depth information helps with defocus and occlusion, but a flat matte composites convincingly all the time when the edge is right."},{"text":"The feathering needed at the edge, which has to vary along the outline rather than being a single uniform value across the whole shape.","correct":false,"tempting":"Variable feather is a genuine refinement available in better tools, and it still cannot describe an edge spread across many pixels by movement."},{"text":"The motion blur at the fast-moving edge, which is genuinely semi-transparent across several pixels rather than being a hard boundary.","correct":true},{"text":"The colour spill from the background onto the arm, which persists after masking and gives away the composite to the viewer.","correct":false,"tempting":"Spill is a real giveaway in keying work, where a coloured screen contaminates the subject; an ordinary background does not spill in the same way."}]},"prev":{"slug":"speed-and-retiming","title":"Retiming, and the two ways of inventing frames","url":"https://addaly.com/learn/video-editing/speed-and-retiming"},"next":{"slug":"keying-what-you-were-given","title":"Keying footage that was lit badly","url":"https://addaly.com/learn/video-editing/keying-what-you-were-given"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Masks, and the honest cost of rotoscoping', in Editing Video. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/video-editing/masks-and-rotoscoping (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Masks, and the honest cost of rotoscoping","courseTitle":"Editing Video","module":{"index":7,"slug":"effects-and-compositing","title":"Effects, compositing and repair"},"answer":null,"keyIdea":"A mask is a shape with feather, expand and invert, and animating one by hand costs roughly one to four hours per five seconds of footage, so keyframe sparsely, split the subject into simple parts, and look for a solution that is not rotoscoping first.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"a-mask-is-a-shape-that-says-where","runs":[{"text":"A mask is a shape that says where"}]},{"t":"p","runs":[{"text":"Draw a shape; an effect applies inside it, or outside it. That is the whole idea, and it underlies windows in grading, blurring a face, replacing a sky, and every composite in this block."}]},{"t":"p","runs":[{"text":"Three properties matter on every mask:"}]},{"t":"ul","items":[[{"text":"Feather","b":true},{"text":": how soft the edge is. A hard edge always reads as cut out. Almost every mask wants some."}],[{"text":"Expand or contract","b":true},{"text":": moving the edge in or out by a few pixels, which is how you remove a fringe of background that came with your selection."}],[{"text":"Invert","b":true},{"text":": apply outside instead of inside."}]]},{"t":"h2","id":"static-tracked-animated","runs":[{"text":"Static, tracked, animated"}]},{"t":"p","runs":[{"text":"A "},{"text":"static","b":true},{"text":" mask sits still. Fine for a locked-off shot: a vignette, darkening a blown window, blurring a fixed sign."}]},{"t":"p","runs":[{"text":"A "},{"text":"tracked","b":true},{"text":" mask follows something the tracker can lock onto. Fine for a rigid object moving through frame."}]},{"t":"p","runs":[{"text":"An "},{"text":"animated","b":true},{"text":" mask has its shape keyframed over time, because the thing it covers changes shape as well as position. This is rotoscoping, and it is expensive."}]},{"t":"h2","id":"rotoscoping","runs":[{"text":"Rotoscoping"}]},{"t":"p","runs":[{"text":"Rotoscoping is drawing a mask around a moving subject, frame by frame, for the length of a shot."}]},{"t":"p","runs":[{"text":"A realistic rate for a person walking, done by hand with a bezier shape and keyframes every few frames: "},{"text":"somewhere between five and thirty seconds of work per frame of footage","b":true},{"text":", depending on the complexity of the edge. A five-second shot at 25 fps is 125 frames. That is one to four hours for five seconds."}]},{"t":"p","runs":[{"text":"This number is worth knowing because it changes decisions. Rotoscoping is not a thing you casually do to fix a shot; it is a budgeted task, and in professional work it is frequently outsourced to specialists."}]},{"t":"p","runs":[{"text":"What reduces the cost:"}]},{"t":"ul","items":[[{"text":"Keyframe sparsely.","b":true},{"text":" Set a shape every 5 to 10 frames and let interpolation fill between, then fix where it drifts. Do not draw every frame."}],[{"text":"Split the subject into parts.","b":true},{"text":" A separate shape for the head, the torso, each arm. Each moves more than the whole, so each needs fewer keyframes."}],[{"text":"Track what you can.","b":true},{"text":" Attach a shape to a planar track for any part of the subject that moves rigidly."}],[{"text":"Use the shot for less time.","b":true},{"text":" Two seconds needs half the work of four."}]]},{"t":"p","runs":[{"text":"And the thing that reduces it most: "},{"text":"do not rotoscope if a different solution exists.","b":true},{"text":" A cutaway, a different take, a reframe, or not doing the effect."}]},{"t":"h2","id":"hair-motion-blur-and-transparency","runs":[{"text":"Hair, motion blur and transparency"}]},{"t":"p","runs":[{"text":"The three things a drawn mask cannot represent."}]},{"t":"p","runs":[{"text":"Hair","b":true},{"text":" is thousands of fine strands; a bezier shape approximates it as a smooth outline and the result reads as a helmet. The professional answer involves a separate hair matte and considerable effort."}]},{"t":"p","runs":[{"text":"Motion blur","b":true},{"text":" means the subject’s edge is semi-transparent across several pixels. A hard shape has no way to express that, so a rotoscoped moving limb looks cut out."}]},{"t":"p","runs":[{"text":"Transparency","b":true},{"text":" (glass, smoke, water, a net curtain) is not a shape at all."}]},{"t":"p","runs":[{"text":"When the shot contains any of these, either the effect changes or the shot does."}]},{"t":"h2","id":"machine-assisted-rotoscoping","runs":[{"text":"Machine-assisted rotoscoping"}]},{"t":"p","runs":[{"text":"Resolve has a "},{"text":"Magic Mask","b":true},{"text":" that segments a person, or a part of a person, using a machine-learning model: paint a stroke on the subject and it produces a matte and tracks it. Similar tools exist elsewhere, and Segment Anything-derived models power several free implementations."}]},{"t":"p","runs":[{"text":"This is useful and it changes the economics for a certain class of shot. Two honest caveats. It is good at people and body parts and poor at arbitrary objects. And the matte it produces is soft and imprecise at exactly the edges that matter (hair and motion blur) so it gets you 80% of the way and the last 20% is still hand work."}]},{"t":"p","runs":[{"text":"On Resolve, some Magic Mask features are Studio-only depending on version; check yours before planning around it."}]},{"t":"h2","id":"the-common-jobs","runs":[{"text":"The common jobs"}]},{"t":"p","runs":[{"text":"Blurring a face or a licence plate.","b":true},{"text":" A tracked shape with a mosaic or blur. Use a solid shape rather than a light blur if the intent is genuine anonymity, and check every frame: the track will slip."}]},{"t":"p","runs":[{"text":"Sky replacement.","b":true},{"text":" A luminance key usually beats a drawn mask, because the sky is bright and uniform. Problems are at the horizon and in anything thin against the sky: branches, wires, hair."}]},{"t":"p","runs":[{"text":"Removing something at the edge of frame.","b":true},{"text":" Often better solved by a reframe than by a mask."}]},{"t":"p","runs":[{"text":"A split screen.","b":true},{"text":" Two rectangular masks and no difficulty."}]},{"t":"h2","id":"today","runs":[{"text":"Today"}]},{"t":"p","runs":[{"text":"Draw a mask around a moving object for one second of footage with keyframes every five frames. Time yourself. That number is the one to quote from."}]}],"check":{"question":[{"text":"An editor rotoscopes a person’s arm as it swings quickly across frame. The mask follows accurately, and the result still reads as cut out. What is the mask unable to represent?"}],"options":[{"text":[{"text":"The arm’s depth relative to the background, which requires a depth matte rather than a two-dimensional shape to composite convincingly."}],"correct":false,"tempting":[{"text":"Depth information helps with defocus and occlusion, but a flat matte composites convincingly all the time when the edge is right."}]},{"text":[{"text":"The feathering needed at the edge, which has to vary along the outline rather than being a single uniform value across the whole shape."}],"correct":false,"tempting":[{"text":"Variable feather is a genuine refinement available in better tools, and it still cannot describe an edge spread across many pixels by movement."}]},{"text":[{"text":"The motion blur at the fast-moving edge, which is genuinely semi-transparent across several pixels rather than being a hard boundary."}],"correct":true,"tempting":null},{"text":[{"text":"The colour spill from the background onto the arm, which persists after masking and gives away the composite to the viewer."}],"correct":false,"tempting":[{"text":"Spill is a real giveaway in keying work, where a coloured screen contaminates the subject; an ordinary background does not spill in the same way."}]}],"order":[0,2,3,1],"why":null},"prev":{"slug":"speed-and-retiming","title":"Retiming, and the two ways of inventing frames","minutes":9},"next":{"slug":"keying-what-you-were-given","title":"Keying footage that was lit badly","minutes":9}}}