Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Remove Yellow Lines in OBS

· 5 min read · Home Tech

In this article
  1. Fix Safe Area Guides
  2. Check Chroma Key Artifacts
  3. Verify Output and Encoding Settings
  4. Fixes That Failed: Common Mistakes
  5. How to Confirm the Fix Worked
  6. Troubleshooting Persistent Yellow Lines

Yellow lines in OBS Studio usually appear as safe area guides—title and action safe overlays—that help position content correctly for broadcast. These lines are meant to be invisible during recording or streaming, but if they appear in your output, it means the guides are enabled and set to show in the final stream. The fix is adjusting the Guides settings in OBS; other cases involve chroma key artifacts or encoding issues, which require different fixes.

Fix Safe Area Guides

OBS includes built-in guides to show title-safe and action-safe zones. These appear as yellow rectangles and are meant for layout only. If they show in your stream or recording, you need to disable them from appearing in the final output.

  1. Open OBS Studio and go to the View menu at the top of the window.
  2. Select Guides > Show Guides to toggle the yellow lines on or off.
  3. If the lines are still visible in your stream or recording, go to Settings in the lower-right corner.
  4. In Settings, click Advanced in the left sidebar (you may need to enable Advanced mode first).
  5. Go to the Video tab.
  6. Find the Safe Areas section and uncheck Show in Output.
  7. Click OK to save.

After this, the yellow lines will only appear in the OBS preview window and will not be visible in your recorded or streamed video.

Check Chroma Key Artifacts

If you're using a green screen or chroma key filter, yellow lines might appear due to aggressive keying or edge artifacts. This often happens when the spill suppression or edge smoothing settings create unintended halos or color shifts around the keyed subject.

  1. Select the source with the chroma key applied (usually a webcam or video capture device) in the Sources panel.
  2. Open the Filters panel for that source.
  3. Find the Chroma Key filter and click the gear icon to edit it.
  4. Reduce the Similarity setting by 10-20 points to avoid over-keying.
  5. Increase the Smoothness to 300-400 to soften harsh edges.
  6. Adjust Spill Suppression to 50-70 to reduce green color bleeding into edges.
  7. Click OK and check the preview.

If yellow lines persist around the edges of the keyed subject, try disabling the chroma key temporarily to confirm it’s the source. Use a neutral background during testing.

Verify Output and Encoding Settings

Yellow lines can sometimes appear due to encoding issues, especially if you're using NVENC, AMD, or Intel hardware encoders with aggressive bitrate limits or resolution scaling. This is rare but can manifest as colored bands or artifacts across the video frame.

SettingRecommended Value
Base (Canvas) Resolution1920x1080
Output (Scaled) Resolution1920x1080 or 1280x720
Downscale FilterLanczos (sharp) or Bicubic (balanced)
Scaling Resampling16-bit
Video Bitrate (Streaming)6000-8000 kbps (720p), 10000-15000 kbps (1080p)
Video Bitrate (Recording)20000-50000 kbps (high quality MP4 or MKV)
Keyframe Interval2 seconds
Encoderx264 (CPU), NVENC (GPU, if available)
  1. Go to Settings > Video and confirm your Base and Output resolutions match your intended stream quality.
  2. Navigate to Settings > Output.
  3. Under Output Mode, select Advanced if not already chosen.
  4. Go to the Streaming or Recording tab.
  5. Set the Encoder to x264 for testing.
  6. Set Rate Control to CBR for streaming, VBR for recording.
  7. Set Bitrate to at least 8000 kbps for 720p, 15000 for 1080p.
  8. Click OK and restart OBS.

Check for Graphics Driver Issues

If yellow lines appear as horizontal bands or flickering artifacts, it could be a GPU driver problem. Update your graphics driver to the latest stable version from NVIDIA, AMD, or Intel. After updating, restart your computer and reopen OBS.

Fixes That Failed: Common Mistakes

These errors cause yellow lines to persist or reappear after 'fixing' them:

  • Only disabling guides in preview: Turning off guides in View > Guides hides them in the window but doesn’t stop them from appearing in output if Show in Output is still enabled.
  • Over-aggressive chroma keying: Setting Similarity too high removes the background but can create yellow or white halos due to edge spill. Adjust gradually.
  • Using low bitrate with high resolution: Streaming at 1080p with less than 6000 kbps can cause compression artifacts that look like colored lines, especially in dark or gradient areas.
  • Scaling sources incorrectly: Stretching a 720p source to fill 1080p without proper filtering can create edge artifacts. Use the correct downscale filter in Settings > Video.
  • Not restarting OBS after changes: Some settings, especially encoder or video changes, require a full restart to take effect.

How to Confirm the Fix Worked

The yellow lines should be gone from your stream and recordings but still visible in the OBS preview window if you need layout help. To verify:

  • Start a test recording (File > Start Recording).
  • Play back the file outside OBS (in VLC or Windows Media Player).
  • If no yellow lines appear, the fix worked.
  • Alternatively, start a private stream to YouTube or Twitch and check the live view.
SymptomMost Likely CauseFix
Yellow rectangle around edges of previewSafe area guides enabled in outputUncheck Show in Output in Settings > Advanced > Video > Safe Areas
Yellow halo around person on green screenChroma key spill or over-smoothingReduce Similarity, increase Smoothness, adjust Spill Suppression
Horizontal yellow bands across videoEncoding artifact or driver issueIncrease bitrate, switch encoder, update GPU driver
Lines only in stream, not recordingStreaming settings too aggressiveCompare stream vs. recording bitrate and resolution
Lines flicker on and offGPU rendering issueUpdate graphics driver, restart OBS

Troubleshooting Persistent Yellow Lines

If the yellow lines remain after trying all fixes, consider these less common causes:

  • Third-party plugins: Some OBS plugins, especially overlays or alert boxes, can draw borders. Disable plugins one by one to isolate the culprit.
  • Browser source rendering: A browser source with CSS borders or debug outlines may show yellow lines. Inspect the HTML/CSS if you control the page.
  • Game capture source: If capturing a game window, the game itself may have UI elements or debug modes enabled. Check in-game settings.

When all else fails, reset OBS settings by closing the program, navigating to the OBS config folder (Documents\Obs-studio or AppData\Roaming\Obs), and renaming the basic.json and profiles folders. Restart OBS to generate fresh defaults, then reconfigure.