Green screen video: replace the background with chroma key

Chroma key makes one colour of a clip transparent, so that what lies on the track below shows in its place. SceneMill keys green, blue or a hue you set, and has settings for the edge and for green light on the person. It is free and puts no watermark on the video.

Put the background below and the green screen clip above

Bring both files in with File › Import Media or drag them into the library: the clip filmed in front of the green screen, and the photo or video that becomes the new background. If SceneMill is new to you, the first video in ten steps shows the window and the basics.

A new project has one video track. Drag the background onto it. Then choose Timeline › Add Track › Add Video Track: a second video track appears above the first. Drag the green screen clip onto this upper track, over the background.

A clip on an upper track covers the tracks below it, so for now the viewer shows only the green screen clip. Where the background ends before the upper clip does, the person will stand on black from there on.

Switch on Chroma Key

SceneMill with a green screen clip of a white car on the second video track above a clip of a racetrack. In the inspector the Chroma Key section is switched on, with the key colour Green, Tolerance 45 %, Edge softness 10.0 % and Spill removal 60 %. The viewer shows the car on the racetrack; the green is gone.
Chroma Key switched on with the values it starts with: the green of the clip above is gone, and the racetrack on the track below shows in its place.

Click the green screen clip so that it is selected. On the inspector's Video page, find the section Chroma Key and flip the switch in its heading. Green becomes transparent at once, and the background on the track below shows through.

The same effect is in the library: on the Effects tab, Chroma Key under Keying. Drag it onto the clip or double-click it, and the switch in the inspector is on as well.

Your video file stays as it is: the key is a setting of the clip. Flip the switch back or press Ctrl + Z, and the green is back. Switching it off discards its settings; the next time it starts with the values it has at first.

Set the key colour

Key colour has three choices:

  • Green: a green screen. This is chosen at first
  • Blue: a blue screen
  • Custom: any other colour. A slider Custom hue appears, from 0 to 360°. It starts at 120°, which is green; move it until the background disappears

The colour is set by these choices and the slider. There is no tool that picks it from the picture.

The key works on the whole picture. Anything in the key colour on the person, a green shirt in front of a green screen for example, becomes transparent too.

Tune the edge and remove the spill

Three sliders in the same section decide what goes and what stays.

  • Tolerance (0 to 100 %, 45 % at first) sets how far a colour may be from the key colour and still be removed. Raise it when parts of the screen stay, such as shadows and folds. Lower it when parts of the person go
  • Edge softness (0 to 50 %, 10 % at first) sets how wide the passage from removed to kept is. A low value gives a hard edge, a higher one a soft edge
  • Spill removal (0 to 100 %, 60 % at first) takes the tint of the key colour out of what stays: the green rim on hair, the green light a screen throws on skin and clothes. At 0 % the colours stay as filmed, at 100 % the whole tint is gone

Show matte shows the result in black and white: what is kept is white, what is removed is black, and grey is partly transparent. Use it to set the tolerance: the screen should be black and the person white. Switch it off again when you are done, because while it is on, the matte is what the viewer and an export show.

If the screen does not fill the frame and a lamp stand or the wall shows at the side, the key leaves it in. Draw a mask around the person on the inspector's Masks page: the clip is then visible only inside it. The manual says more under Masks.

Place and size the person

Click the person's clip in the viewer. It gets an outline with a small square at each corner.

  • Drag the picture to move it. It snaps to the middle of the frame; with Shift held it moves along one axis only
  • Drag a corner square to make it smaller or larger
  • For exact values, use Position and Scale in the section Transform at the top of the inspector's Video page

A click in the viewer takes the clip on the highest track at that spot, also where the green was. To move or size the background, click its clip on the timeline first and then drag it in the viewer.

Export

Click Export at the top right or choose File › Export (Ctrl + E).

  • A normal video: with the new background on the track below, export as you would any video. MP4 · H.264 plays everywhere
  • A video with a transparent background, to lay over other videos here or in another program: leave the track below the clip empty, choose MOV · ProRes or WebM · VP9 under Format and tick Transparent background (ProRes 4444 or WebM). ProRes is then written as ProRes 4444 with an alpha channel, about 2.3 GB per minute at 1080p and 30 fps, and is what editing programs expect. WebM is small and is what browsers and streaming tools such as OBS take
  • MP4 cannot hold transparency. With an MP4 format chosen the box is greyed out, and where nothing lies below the person the video is black
The Export video window in SceneMill with the format MOV · ProRes chosen and the box Transparent background (ProRes 4444 or WebM) ticked. The summary on the left names ProRes 4444.
MOV · ProRes with the box ticked: the summary on the left says ProRes 4444.

Questions

Is it free, and does it add a watermark? SceneMill is free for private and commercial use, and the exported video has no watermark. It needs Windows 11, 64-bit; the FAQ says what else your computer needs.

Does my video leave my computer? No. Chroma Key is worked out on your PC. It needs no download and no internet.

I have no green screen. Can I still replace the background? Yes, behind people. Remove a video background without a green screen shows how.

My screen is neither green nor blue. Set Key colour to Custom and move Custom hue to the colour of your screen. The colour should not appear on the person, or those parts become transparent as well.

Can I key a clip by its brightness, a black or white background? Not with Chroma Key: it goes by colour, and black, white and grey have none. SceneMill has no key by brightness.