By Lucas Salgado, motion designer and co-founder of SylphVisuals
Â
Short answer: Animated overlays go into OBS as a Media Source, using a WebM file (VP8 or VP9) with an alpha channel. If you see a black box where the transparency should be, it's almost always one of three things: hardware decoding is dropping the alpha, the file never had alpha (MP4 can't carry it), or a converter stripped it. The fix for each is below.
I've spent 6+ years making motion graphics for gaming and esports, and every SylphVisuals pack ships as WebM. This is the same checklist I run whenever an overlay shows up black.
Â
What file format do animated stream overlays need?
Use WebM with an alpha channel. It's the only common format that gives you real soft-edged transparency, small files, and compatibility with both OBS and browser-based alerts.
Â
|
Format |
Real transparency |
File size |
Works in alert boxes (browser sources) |
Verdict |
|
WebM (VP8/VP9 + alpha) |
Yes, including soft edges and glows |
Small |
Yes |
Use this |
|
MOV (ProRes 4444) |
Yes |
Very large |
No |
Keep as your master file only |
|
GIF |
On/off per pixel only, 256 colors |
Large for the quality |
Yes |
Avoid for glows, shadows, gradients |
|
MP4 (H.264) |
No |
Small |
Yes |
Can't be transparent |
Â
VP8 or VP9? Both carry alpha. VP9 gives smaller files at the same quality; VP8 is lighter to decode. For most overlays, VP9 is the better default.
Â
How do I add an animated overlay in OBS Studio?
Add it as a Media Source, not an Image Source. Image Sources don't play video.
- Select the scene you want the overlay in.
- Under Sources, click + → Media Source, name it, click OK.
- Keep Local File checked and click Browse to select your .webm.
- Uncheck Use hardware decoding when available (the troubleshooting section explains why).
- Set Loop and Restart using the table below, then click OK.
- For full-screen overlays, right-click the source → Transform → Fit to screen. Keep the overlay above your game and camera in the Sources list.
Â
|
Asset type |
Loop |
Restart playback when source becomes active |
Show nothing when playback ends |
|
Webcam frames, bars, animated backgrounds |
On |
Optional |
Off |
|
Starting Soon / BRB / Ending screens |
On |
On |
Off |
|
One-shot animations |
Off |
On |
On |
Â
Stinger transitions don't go in Sources. Add them under Scene Transitions → + → Stinger, point it at the WebM, and set the transition point (in milliseconds) to the moment the animation fully covers the screen.
Don't have an animated overlay to test with? Grab a free Sylph Visuals asset. They're encoded exactly the way this guide describes.
Â
How do I add an animated overlay in Streamlabs Desktop?
Same principle, different name: the source is called Media File.
- In Sources, click + → Media File → Add Source.
- Browse to your .webm.
- Turn on Loop for continuous elements.
- If your version shows a hardware decoding option, turn it off for the same reason as in OBS.
Â
Animated alerts are different. When you upload an alert animation to Streamlabs or StreamElements, it plays inside a browser source. Browsers play WebM with alpha correctly but not ProRes MOV, so upload the WebM.
Â
Why does my animated overlay have a black background?
In most cases, OBS is decoding the video without its alpha channel. Work down this table:
Â
|
What you see |
Likely cause |
Fix |
|
Solid black box, animation plays fine |
Hardware decoding ignores the alpha channel |
Uncheck Use hardware decoding when available |
|
Black box and the file is .mp4 |
H.264 MP4 has no alpha channel |
Use a WebM version of the file |
|
Black box on a file you exported, compressed, or converted |
The alpha was dropped: the alpha box was unchecked at export, or the converter doesn't support alpha (HandBrake and many online converters don't) |
Re-export from the original (see the next section) |
|
Holes or missing colors in the design |
A Chroma Key or Color Key filter on an already-transparent file |
Right-click → Filters → remove the key filter |
|
Dark fringe around glows and soft edges |
Alpha exported premultiplied, read as straight |
Re-render with Straight (Unmatted) color in After Effects |
|
Transparent in OBS, black in VLC or Media Player |
Normal: most players don't render alpha |
Nothing to fix |
Â
How do I export a WebM with alpha from After Effects?
After Effects doesn't export WebM natively. The reliable route is to render a transparent master, then encode it to VP9 WebM in Adobe Media Encoder. It's the route I use for every Sylph pack.
Â
Step 1: render the master file. In the Render Queue's Output Module, choose:
- Format: QuickTime
- Video codec: Apple ProRes 4444 (or another codec that supports alpha)
- Channels: RGB + Alpha
- Color: Straight (Unmatted)
Â
Step 2: encode to WebM in Media Encoder. Media Encoder has no native WebM export either, so install an FFmpeg-based WebM plugin first. Then:
- Import the .mov into Media Encoder's queue.
- Set the format to WebM.
- In the WebM export settings, set the video codec to VP9.
- Check the alpha/transparency box. This is the step that matters most. Leave it unchecked and the WebM is encoded without an alpha channel, which is exactly the black background this article is about.
- Encode.
Â
Do animated overlays hurt stream performance?
One or two WebM overlays are light for most streaming PCs. The load grows with how many play at once, their resolution, and software decoding (which you enabled by turning hardware decoding off).
- Export at your canvas size. A 4K overlay on a 1080p canvas costs decoding power for pixels nobody sees.
- Enable Close file when inactive on overlays in scenes you're not showing.
- Watch the numbers: View → Docks → Stats shows CPU usage and frames missed due to rendering lag.
- Still stuttering? Try the VP8 version of the file.
Â
Do animated overlays work on Twitch, Kick, and YouTube?
Yes. The overlay lives in OBS or Streamlabs, not on the platform, so Twitch, Kick, and YouTube all receive the same finished video. Setting up alerts and chat is platform-specific, though; see how to set up overlays on Kick.
Â
FAQ
Can I use a GIF as a stream overlay?
You can, but GIF transparency is on/off per pixel and limited to 256 colors, so glows and shadows turn jagged. WebM with alpha looks cleaner at a smaller file size.
Should I use a Browser Source or a Media Source?
Use a Media Source for video files on your computer. Use a Browser Source for URLs from Streamlabs or StreamElements, such as alerts, chat boxes, and widgets.
Why is my animated overlay stuttering?
Usually too much decoding load: oversized resolution, too many overlays playing at once, or VP9 on an older CPU. Check the OBS Stats dock and try a VP8 version.
Can I use MOV files in OBS?
ProRes 4444 MOV files play with transparency in a Media Source, but they're very large and don't work in browser-based alert boxes. Convert them to WebM.
Do animated overlays work in 4K?
They work, but 1080p overlays get upscaled and soften on a 4K canvas. Most streams output at 1080p anyway, so match your overlays to your canvas.
Â
Skip the troubleshooting
Every Sylph Visuals pack ships as WebM with alpha, ready to drop into a Media Source. Pick a theme (Anime, Shooter, VTuber, Cozy, Horror, or Holiday), or start with a free asset and see how it runs on your setup.
Â

