Add an Animated Overlay to OBS – Quick Step‑by‑Step Guide
In this article
Yes—you can add an animated overlay to OBS by inserting a media source (such as a WebM, GIF, or video file) or a browser source that plays HTML‑based animation, then adjusting its size, position and loop settings.
What You'll Need
- OBS Studio (latest stable version recommended)
- An animated overlay file – WebM with alpha channel is ideal, but GIF or MP4 also works
- Optional: a simple image editor (e.g., GIMP, Photoshop) to resize or trim the animation
- Optional: an internet connection if you prefer a browser source that loads a URL
Step‑by‑Step
- Launch OBS Studio and open the scene where you want the overlay.
- In the Sources box, click the + button and choose Media Source. This option handles video, GIF and WebM files that contain animation.
- Give the new source a clear name (e.g., “Animated Overlay”) and click OK.
- In the Media Source properties window, tick Local File and click Browse to locate your animation file on disk (for example,
C:\Overlays\myOverlay.webm). - Check the following options:
- Loop – ensures the animation repeats continuously.
- Restart playback when source becomes active – useful if you switch scenes and want the animation to start from the beginning each time.
- Uncheck Use hardware decoding only if you notice stutter; otherwise leave it enabled for better performance.
- Click OK**.** The animation now appears in the preview window, usually covering the entire canvas.
- Resize and reposition the overlay: hold Alt while dragging the corners to crop, or simply drag the source to the desired location. Use the Transform > Edit Transform menu for precise pixel values.
- If the animation has a solid background that you want to make transparent, add a Chroma Key filter:
- Right‑click the source, choose Filters.
- Under Effect Filters**, click the + button and select Chroma Key.
- Set the key colour to match the background (commonly green or blue) and adjust similarity and blend until the background disappears.
- To keep the overlay on top of other sources, drag it above them in the Sources list or right‑click the source and choose Order > Move Up.
- If you prefer a web‑based animation (e.g., a Lottie file or CSS animation), repeat steps 2‑4 but select Browser instead of Media Source. Paste the URL of the hosted animation, set the width and height to match your canvas, and tick Refresh browser when scene becomes active.
- Lock the source once you are satisfied with its placement. Click the 🔒 icon next to the source name to prevent accidental movement during live streaming.
- Test the overlay by entering Studio Mode or starting a local recording. Verify that the animation loops smoothly and does not interfere with other audio/video sources.
Common Mistakes
- Using an MP4 without an alpha channel – the background will appear as a solid colour, covering the game or webcam feed.
- Forgetting to enable Loop. The animation will play once and then disappear, which looks unfinished.
- Importing a very large WebM file. High resolution or high bitrate can cause frame drops, especially on modest CPUs.
- Leaving Restart playback when source becomes active unchecked. Switching scenes may leave the overlay frozen on the last frame.
- Applying a chroma key to an already transparent WebM. This adds unnecessary processing and may introduce a faint halo.
Tips
- Export animations as WebM with an alpha channel; this format preserves transparency while keeping file size low.
- If you only have a GIF, convert it to WebM using a free online converter – the result will usually be smoother and lighter.
- Keep the overlay dimensions close to the final on‑screen size. Scaling a 4K animation down to a 1920×1080 canvas wastes CPU cycles.
- Use OBS Studio’s Performance tab (Settings > Advanced > Video) to monitor dropped frames while the overlay runs.
- Assign a hotkey to toggle the overlay’s visibility (Settings > Hotkeys > Show/Hide Source). This lets you turn it on for special moments without leaving the stream.
Troubleshooting
If the overlay does not appear or behaves oddly, follow these checks in order:
- Restart OBS. A simple relaunch clears temporary cache issues.
- Verify that the file path is correct. If you moved the file after adding it, click Browse again to re‑link.
- Check the source’s visibility – the eye icon next to the source name must be open.
- Make sure the source is not hidden behind another layer. Drag it to the top of the Sources list temporarily to confirm.
- If the animation is black or static, disable Use hardware decoding in the Media Source properties; some GPUs struggle with certain WebM codecs.
- Open the Logs folder (Help > Log Files > Show Log Files) and look for entries containing “Media source” – error messages often point to unsupported codecs.
- For browser sources, ensure the URL is reachable and that the page does not block OBS’s embedded browser (some sites require CORS headers).
- If you experience audio bleeding from the overlay (e.g., a video with sound), uncheck Use audio track in the Media Source properties.
- When performance drops, lower the animation’s bitrate or resolution, or switch to a more efficient codec (VP9 is common for WebM).
- If none of the above works, remove the source, add a fresh Media Source, and re‑import the file. This clears any hidden corruption in the source settings.
Frequently Asked Questions
Can I use a PNG sequence instead of a video file?
Yes. Add an Image Slide Show source, enable Loop, and point it to the folder containing the PNG frames. This method offers frame‑by‑frame control but can be heavier on disk I/O.
Will the overlay affect my stream bitrate?
The overlay itself does not add to the stream’s bitrate because OBS encodes the final composite frame only once. However, a very high‑resolution animation can increase CPU/GPU load, indirectly causing bitrate spikes if the encoder struggles to keep up.
Do I need a separate audio track for an animated overlay?
Only if the animation includes sound you want listeners to hear. In most cases, overlays are silent; simply uncheck Use audio track to prevent unwanted audio.
Can I control the overlay with a Stream Deck?
Yes. In OBS, assign a hotkey to the source’s Show/Hide action, then map that hotkey to a Stream Deck button using the Stream Deck software.
Is there a limit to how many animated overlays I can add?
Technically no, but each additional animated source consumes CPU/GPU resources. Test performance after each addition and consider consolidating multiple effects into a single video if you notice frame drops.
Why does my WebM overlay show a solid grey box?
This usually means OBS cannot decode the codec. Re‑export the file using VP9 with an alpha channel, or enable Use hardware decoding if it is currently disabled.