Green Screen Tips for Live Streaming

If you’re subscribed to Adafruit’s Twitch.tv and YouTube channel you might have seen some live coding broadcasts I’ve done with the Raspberry Pi, Circuit Playground, and other boards.  In these broadcasts I’ve experimented with using a green screen or chroma key effect to overlay myself on my desktop, workbench, and more during the stream.  In this blog post I’ll collect a few tips I’ve learned while setting up the green screen effect in case it helps anyone else that wants to do live streaming too.

Be warned I’m not a video production professional–I’ve just learned all of this by doing and trying it myself.  If you have good tips too post them up in the comments!

IMG_4529

The first tip is to get a quality green screen.  I picked up this 6 foot wide by 9 foot tall screen from a seller on Amazon for about $40 and have been very happy with how well it works in my setup.  You can in theory use anything that’s a bright, solid green (or even blue in case your subject being filmed has green colors you want to pick up) but I went with a fabric screen for ease of use so I can put it up and tear it down without a lot of trouble.  Buying fabric yourself to make a screen could work too, but be careful because you might need to stitch multiple pieces together to make a wide screen.  Rather than mess with sewing and hiding stitches I opted to buy a single solid screen.

For the size of the screen I suggest starting with at least a 6×9 foot screen.  This is a great size for a typical webcam to film your upper body with the screen about 2-3 feet behind you.  It’s important to leave a decent amount of room between yourself (the subject) and the green screen.  This will prevent green light from reflecting onto your body from the screen, and give you room to evenly light the screen.

IMG_4530

The second and perhaps most important tip is to have plenty of lighting.  For my setup I have the following lights:

  • Two small LED light panels pointed at my face.  These illuminate my face from opposite sides to cancel out shadows and evenly light my face.  I have them mounted on either side of my monitor and powered by small camcorder batteries.
  • Two large LED light panels as fill lights to illuminate the green screen.  It’s very important to get as much even lighting on the screen as possible so that the green screen processing is easier and higher quality.  For my setup I value being able to tear it down and set it up quickly so LED panels work best, but any large diffuse light source like a softbox and CFL studio light would work great too.  Position the lights so they cancel out as many shadows as possible on the screen.

For the software part of the setup I’m using OBS, Open Broadcaster Software, and specifically the newer multiplatform version of OBS.  OBS is a great application that’s heavily used in the Twitch.tv and video game live streaming community.  There’s a great green screen / chroma key effect filter built right into OBS.  All you need to do is add a chroma key filter to your webcam source.  For example here’s what the raw output of my camera (a Logitech C920 webcam) looks like with the screen behind me:

Screenshot from 2016-02-08 12:47:20

Notice how the 6×9 foot screen is just about big enough to cover my body.  You can also see the lighting is relatively even across the screen (although in this example I should move the lights a little lower as they’re brighter on top than the bottom).  There are some wrinkles in the screen, but I’ve found the chroma key filter is somewhat forgiving and will take care of them.

Once the chroma key filter is applied I adjust the similarity slider until it’s grabbing all of the green screen and none of my body:

Screenshot from 2016-02-08 12:46:50

Finally I apply a crop filter to cut out the edges the green screen doesn’t cover:

Screenshot from 2016-02-08 12:49:46

Now the camera source can be applied to a scene, like overlaid on a workbench camera:

Screenshot from 2016-02-08 12:50:46

Once you have the scenes setup make sure to do some recordings and carefully watch how the audio syncs up with the video.  In particular watch your lips to see if it appears they’re moving after you hear the sounds of your voice.  I found I needed to add about a 200 millisecond delay to my microphone audio (in the advanced audio settings of OBS) to get them in sync.  The green screen processing adds a bit of latency to the video so be aware that some tweaks will be necessary.

That’s really all there is to using a green screen for live streaming!

IMG_4526

One final tip is if you’d like to make your screen more convenient to setup and tear down you might consider putting the screen on a roller that can move it up and out of the way.  I bought this inexpensive photo studio backdrop roller and a length of plastic ABS pipe from the hardware store (2″ in diameter and about 7 feet long) and attached it to my ceiling with heavy duty ceiling wall anchors, then taped the green screen to the roller.  This way I can raise and lower the screen easily.  If you don’t want to setup a roller like this I found just using a curtain rod worked well (although be aware beyond lengths of ~6 feet you’ll find the screen might pull down and bend small curtain rods).

Good luck and share any great tips you find for live streaming in the comments!


Halloween season is here!
Halloween season is here! Check out all the posts, gift guides, and more!

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 10/4/2024 Featuring Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Adafruit Grand Opening, Profile MicroPython Memory and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi — Classic editor

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Garden Lights, Bluetooth 6.0, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — When do I use X10?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.