In OBS, add the prerecorded video as a Media Source, place it above the background in the Sources list, then apply the Chroma Key filter to the clip. OBS’s documented defaults—Green, Similarity 400, Smoothness 80 and Spill Reduction 100—are starting points, not a preset that will suit every clip.
The right settings depend on the colour behind your subject, the footage’s compression and movement, and the background you will actually use. Tune the filter while viewing that complete composition, then check detail and edges during motion before sending the scene to YouTube Live.
Add the prerecorded clip to the scene
Create or open the OBS scene that will hold the overlay. In the Sources panel, add a Media Source, choose the local video file and confirm that it appears in the preview. OBS lists formats including MP4, TS, MOV, FLV, MKV, AVI, GIF and WebM in its Media Source documentation. If the file does not play as expected, check the format and playback settings before adjusting the key: a filter cannot correct a source that is not loading or playing properly.
A short overlay may need to repeat while the rest of the scene continues. In the Media Source properties, enable Loop when repetition is intended; it is off by default. Restart playback when source becomes active defaults to on, and Show nothing when playback ends also defaults to on. Those options affect what happens when the source is activated or the file finishes, not how its green or other background is removed.
Decide what the clip’s audio should do as well. A video file can carry sound, and the Media Source may contribute it to the scene. Listen to the result rather than assuming the overlay should be silent. If it is a decorative cutout with no intended audio, mute or otherwise manage its audio in OBS, then check that decision again during the test. If it contains narration, music or an announcement, make sure it does not unexpectedly cover the rest of the programme.
For a playlist or longer broadcast, a keyed overlay is just one element in a wider scene and playback plan. The practical questions about looping recorded material also come up in this guide to running a Hindi news clips playlist as a YouTube Live loop. Keep the overlay’s behaviour clear: should it loop continuously, appear only while a source is active, or finish and disappear?
Put the clip in front of the background
Add or select the intended background in the same scene. It might be a still image, a video loop, a camera source or another scene element. In the Sources list, place the keyed clip above that background. OBS draws higher sources over lower sources, so the clip needs to be in front for the transparent areas created by the filter to reveal the background underneath. The OBS overview of sources and filters explains how sources are arranged and how filters are opened.
A useful first check is to temporarily put a plain, contrasting background below the clip. This helps show whether the keyed area is transparent at all. But do not make final decisions from that temporary view: a key that looks acceptable over a flat colour may expose halos, compression blocks or missing detail over the actual image. Return to the intended scene background before tuning.
Keep the source order deliberate. If another opaque source sits above the clip, it may cover the overlay entirely. If the background is above it, the background will cover the clip. When the result looks wrong, check the list order before changing Similarity or Smoothness. Filter controls cannot fix a layering mistake.
This arrangement is also useful when a channel alternates between a background loop and a presenter or graphic. For a continuous recorded programme, see the practical scene and encoder considerations in OBS settings for 24/7 YouTube playlist streaming in India. The subject here is narrower: the clip must sit above its background, with the Chroma Key applied to the clip itself.
Apply OBS Chroma Key
Right-click the Media Source in the Sources panel and open Filters. Under effect filters, add Chroma Key. Select the filter and confirm that its controls are visible. OBS describes Chroma Key as removing instances of a selected colour from a source; it is the effect that creates transparency in matching parts of the video.
The documented initial values in OBS’s Chroma Key Filter reference are:
| Control | OBS documented default | Practical role |
|---|---|---|
| Key Color Type | Green | Selects the colour to remove; choose the colour actually behind the subject. |
| Similarity | 400 | Sets how broadly pixels resembling the key colour are removed. |
| Smoothness | 80 | Softens the boundary of removed areas. |
| Key Color Spill Reduction | 100 | Reduces traces of key colour around edges. |
| Opacity | 1.0 | Sets source opacity; full opacity is 1.0. |
| Contrast | 0.0 | A source adjustment; leave it at the starting value while tuning the key. |
| Brightness | 0.0 | A source adjustment; leave it at the starting value while tuning the key. |
These are software defaults documented by OBS, not results from testing your footage. The filter also allows a custom key colour. If the recorded background is blue or another colour, choose the matching colour rather than retaining Green simply because it is the default. If the background varies substantially across the frame, one selected colour may not remove it evenly without affecting parts of the subject.
Leave Opacity at 1.0 unless you specifically want the whole source to be translucent. Contrast and Brightness are separate source adjustments, not substitutes for choosing the right key colour or tuning Similarity. Start with the neutral values shown above so that you can see what the key filter itself is doing.
Understand Similarity and Smoothness
Similarity is the main threshold to tune. At lower values, fewer pixels are treated as sufficiently close to the selected key colour, so more of the background may remain. Raising it removes a broader range of similar colours. That can help when the recorded screen contains uneven shades, but it can also remove wanted parts of the subject if they share the key colour or sit close to it in the image.
Smoothness works on the edge of the removed region. A hard boundary can look cut out, particularly around hair, fabric or a moving hand. Increasing Smoothness softens that boundary; too much softness can make the subject look blurred or leave a hazy transition. The controls address different problems: Similarity changes which pixels are removed, while Smoothness changes how the edge is treated.
Do not raise both controls at once and then guess which change helped. Start at the defaults, look for one visible problem, adjust the relevant control in a small step, and inspect the same frame again. If the backdrop remains in broad patches, assess Similarity. If the background is gone but the outline looks unnaturally hard, assess Smoothness. If the cutout loses a green detail, return to the previous value and consider whether the chosen key colour is too close to that detail.
The numbers are a reference point rather than a target to reach. The OBS controls use numeric values, but the appearance depends on the source. A compressed clip may contain colour variations around its background; a clean, evenly coloured recording may need less aggressive removal. A value that removes the background in one frame can still damage the subject elsewhere in the clip.
Tune against the actual footage
Make adjustments with the clip playing over the background you plan to use. Begin with the documented defaults, and pause on a frame where the subject is clearly visible. Look at five things together: whether the background is removed, whether the subject keeps its fine detail, whether the edge is plausible, whether key colour remains, and whether the result holds as the subject moves. This is a visual check, not a measured score.
If large areas of the original background remain, first confirm the selected key colour and the layer order. Then raise Similarity gradually and observe what disappears. Stop or step back if the subject starts to lose detail, a coloured part of clothing becomes transparent, or the outline shrinks. A higher threshold is not automatically better; its benefit is more removal, and its cost can be damage to nearby colours.
If the background is mostly removed but individual patches remain, inspect whether they are actually the same colour as the selected key. Shadows, reflections and compression can make parts of a supposedly solid backdrop differ. Raising Similarity may address some variation, but it cannot make footage with a highly varied background behave like evenly coloured footage without trade-offs. A simple recording with a distinct background colour is generally easier to key than one where the background and subject share similar colours.
After each change, play a representative section rather than judging only a still. Watch a head turn, a hand crossing the body, hair movement or whatever motion occurs in the clip. Check both a frame where the subject is still and one where movement is most visible. The edge can flicker or break up during motion even when a paused frame looks tidy.
Once the key is plausible, compare a few points in the clip: opening, middle and any section with a change in lighting or movement. If it is a loop, inspect the end and beginning as well. A setting that works at one moment may expose background at another, especially if the clip’s exposure or camera angle changes. Keep notes of the values you changed so that you can return to the better result rather than tuning by memory.
A prerecorded overlay does not need to be part of a permanently attended desktop session to keep appearing in an always-on channel. If the work is primarily preparing the file and choosing a YouTube stream key, StreamNeo removes the specific burden of keeping your own computer on to carry that prepared broadcast. It does not change how OBS’s key looks, and you still need to check the finished composition and the rights and suitability of the content you stream.
Check edges and colour spill
Once the background removal is acceptable, inspect the edge closely. Hair, translucent material, fine strings and motion blur are difficult areas because the pixels there may be a blend of subject and original background. A key can remove the background while leaving a narrow fringe, or it can remove the fringe by cutting away wanted detail. The goal is a reasonable composite over the intended background, not an assumption that every boundary can be made invisible.
Use Key Color Spill Reduction when the subject’s edge carries a tint from the key colour, such as green around hair or shoulders. OBS documents this control as reducing traces of the key colour around edges. It is distinct from Similarity: spill reduction addresses residual colour, while Similarity governs removal of similar pixels. Adjust spill only after you can see the keyed subject and its edge over the real background.
Look at the result over more than one background tone if the scene will change. A fringe that blends into a dark panel may be obvious against a pale image. The intended background remains the deciding view, but checking another tone can reveal an edge problem before it appears on air. Avoid compensating for every edge issue by increasing Similarity, since that may remove more of the subject without correcting a coloured rim.
Contrast and Brightness may affect the source’s overall appearance, but they are not the first controls to use for a key fringe. Keep them neutral while identifying the cause. If the source itself is too dark or its colour is visibly wrong, make a separate adjustment after the key is stable, then recheck the edge and the subject’s detail. Changing the underlying image can change how the keyed result reads.
Test the composed scene before going live
Preview the whole scene at the resolution and scale you intend to use. Confirm the background and keyed clip are in the right order, the overlay is positioned and sized correctly, and no other source is hiding an important area. Check any text or graphics that the subject must not obscure. A clean cutout can still make a poor composition if it covers a news ticker, a devotional image or the product being shown.
Play through enough representative footage to hear and see what viewers will receive. Verify that the Media Source loops if required, that it disappears or remains as intended when playback ends, and that its audio is neither unexpectedly present nor absent. If a segment includes a transition or abrupt movement, inspect that too. Do not leave the test at a static screenshot.
OBS’s key settings affect the image composed in OBS; they do not configure YouTube’s encoder or prove that the stream will reach viewers correctly. YouTube recommends testing before going live and checking stream health and messages. Its live encoder settings guidance includes general SDR recommendations such as CBR encoding, a two-second keyframe interval recommendation (not exceeding four seconds), and Rec. 709 colour space. Treat those as encoder guidance, separate from chroma key tuning, and check YouTube’s current instructions for your stream format.
If you are sending a long-running prerecorded programme, test the broader broadcast path as well as the overlay. Watch for OBS warnings, dropped frames or a reconnect, and check that the scene remains composed after a source restarts. The guide to fixing OBS dropped frames during a prerecorded YouTube Live stream covers a separate issue: network or rendering trouble is not the same as a poor key.
Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.
FAQ
What OBS Chroma Key settings should I start with?
OBS documents Green as the default key colour, with Similarity 400, Smoothness 80 and Spill Reduction 100. Start there only if Green matches the background in your clip, then tune while viewing the intended scene. Those defaults do not guarantee a clean result for every recording.
Why does raising Similarity remove part of my subject?
A higher Similarity setting removes a broader range of pixels resembling the selected key colour. If clothing, hair or another subject detail is close to that colour, it may be removed too. Reduce the setting or reassess the key colour and the footage’s background variation.
What is the difference between Smoothness and Spill Reduction?
Smoothness softens the boundary of the removed area, while Spill Reduction targets traces of key colour around the subject’s edge. They solve different visible problems. Check each adjustment over the actual background and during movement.
Does Chroma Key configure my YouTube Live stream?
No. Chroma Key changes how OBS composes the clip and background; YouTube encoder settings are separate. Test the complete broadcast and check YouTube’s current live-stream guidance and stream health before relying on the scene.