OBS Guides

Black edges around a camera in OBS: crop and scale fixes

Locate the border, fix the stage creating it and preserve the camera proportions and other scenes.

A widescreen picture with black bands in a tall monitor

For black space outside your OBS camera, resize or fit the camera's scene item. For bars inside the picture, check its bounds, source filters and incoming camera mode before cropping. I'd locate the border first: changing the whole canvas to repair one webcam can disturb a composition that already works.

What you seeLikely stageFirst check
Space around the camera changes with a background behind itUncovered scene area or transparent marginsCamera placement and bounds
Black remains within the source picture after overlays are hiddenSource filters or incoming videoFilters and supported input mode
The camera and its decorative frame have different shapesAspect-ratio mismatchKeep the picture, crop it or change the frame
The saved video is correct; bars appear only around a player's picturePlayer or receiving-app presentationCompare the actual output frame

Find which rectangle contains the border

Select the actual camera in Sources, rather than an overlaid image or a group containing it. OBS shows a selection outline that's red by default. Its source positioning controls let you move and resize that scene item. An outline ending before the black space points toward placement, but an outline containing the space isn't proof of black pixels from the camera. A fitted bounding box can contain unused area too.

Temporarily hide a decorative frame or image above the camera with its eye icon. Then put a contrasting Color Source below the camera in the source list. If the empty area changes to that color, you're seeing through to the scene behind it. If it stays black, check for an opaque overlay, a source filter or black pixels in the incoming picture. Restore the overlay and remove the temporary background after the check.

Before editing, note the camera's position, size, bounds and four crop values in Transform > Edit Transform. Record any relevant filter settings too. That gives you a way back without resetting the whole scene or losing an intentional crop.

OBS Edit Transform for a Color Source with all four Crop offsets at zero
Find the four Crop fields in Edit Transform. This example shows a Color Source. Open your camera’s transform and note its current values before entering new ones.

Fix placement and fitted bounds

Unlock the camera's padlock in Sources if you need to move it. For a full-screen camera scene, right-click that source and choose Transform > Fit to Screen. This fits the picture to the canvas while preserving its proportions; a 4:3 picture still can't fill a 16:9 canvas without space or cropping.

A webcam in the corner of gameplay needs a different treatment. Resize and position it within its intended frame, rather than fitting it to the entire canvas. Keep the source order in mind: items higher in Sources appear above those below, so a black image or an overlay can cover part of a perfectly good camera feed.

If the selection box fits the frame but the picture inside it doesn't, open Edit Transform and inspect Bounds Type, Bounding Box Width and Bounding Box Height. In OBS 33.0.1, the proportional options are named Fit and Cover. Older instructions may call them Scale to inner bounds and Scale to outer bounds.

Fit keeps the picture within the bounds and can leave space. Cover fills the bounds proportionally, making part of a differently shaped picture extend beyond them. Enable Crop Bounds to clip that excess to the box, then use Bounds Alignment to choose which part stays visible. The current transform dialog provides these controls; Crop Bounds is enabled only for compatible bounds modes. Don't assume Cover by itself clips everything outside the frame. If your build doesn't offer Crop Bounds, use the scene-item crop steps below to trim the picture manually.

I'd use a scene-item crop or a bounded frame for one camera layout, because that leaves the shared source available to other scenes. Check headroom and hand movement before locking the item again. Avoid the Stretch bounds mode or Stretch to Screen when the goal is to keep a face proportionate.

Check filters and the picture arriving from the camera

Open the camera's Properties and compare the picture itself with the scene. Ignore unused space around the Properties preview widget. This preview removes the scene placement from the comparison, but it isn't a guaranteed unfiltered camera view: OBS renders the source there, and source filters can still affect it.

Inspect Filters for an existing Crop/Pad, Scaling/Aspect Ratio or Image Mask/Blend filter that could explain the edge. Note its values before temporarily disabling it. Re-enable it if the border doesn't change. A filter change affects other scenes reusing that same source, so make this check between live sessions and verify those scenes afterward.

On Windows, check Resolution/FPS Type in the camera properties. If you select Custom, choose a resolution and frame rate the device supports. The Video Capture Device settings warn that an unsupported resolution or frame rate can leave the source with no picture. If a custom mode leaves the preview black, try Device Default again. On macOS and Linux, choose from the modes the camera exposes in that build.

Windows Video Capture Device properties with OBS Virtual Camera selected and Resolution/FPS Type set to Device Default
Device Default is selected in this example with OBS Virtual Camera. Select your camera under Device, then choose Custom to check its supported resolutions and frame rates.

A 640×480 mode is 4:3. If the device offers a suitable 16:9 mode, compare its framing before choosing it. A different mode may crop the sensor view rather than reveal more of the room. Typing an unsupported widescreen resolution doesn't manufacture missing picture.

For an HDMI camera or capture card, compare the camera's output and the capture device's preview. A menu, information panel or letterbox included in that outgoing video becomes part of the picture OBS receives. Check the device's documented output options first; removing baked-in bars with a crop also removes those edge pixels. No OBS transform can recover image detail that wasn't sent.

If the entire camera is black, stop treating it as a border problem. Check the selected device, supported mode and capture connection using the same capture-device settings. Cropping a blank feed won't restore a picture.

Choose what to keep when the shapes don't match

You have three useful choices: keep all the picture and accept space, crop some picture to fill the frame, or change the frame's shape. Stretching removes the gap by changing proportions. It doesn't solve the mismatch while preserving the subject.

  1. Select the camera in the affected scene. On Windows or Linux, hold Alt while dragging an edge inward; on macOS, use Option. For exact values, use the four Crop fields in Edit Transform. In OBS 33, press Enter after typing a value to apply it.
  2. Crop the edges that contain the unwanted area. The edges turn green by default. The Accessibility setting for Source Border (Crop) can change that color. Watch which parts of the subject disappear in the preview.
  3. Resize and position the remaining picture to fill the intended frame. Cropping by itself doesn't guarantee that the result fills its destination.
  4. Move through your normal camera position and range of motion. Leave enough room for the top of your head, hands and anything you need to show.

Two crop examples with exact dimensions

These examples start from an uncropped source at the stated dimensions, with no filter changing its size. Enter the values as source-pixel crops, then scale the result for the scene. Use the actual incoming dimensions, rather than a camera's advertised maximum.

Starting picture and targetCrop valuesWhat remains
640×480, 4:3 to 16:9Top 60; Bottom 60; Left and Right 0640×360. You lose picture above and below.
1920×1080, 16:9 to squareLeft 420; Right 420; Top and Bottom 01080×1080. You lose picture on both sides.

The arithmetic is width minus left and right crops, and height minus top and bottom crops. Neither example creates more detail. To undo this scene-item crop, restore the previous four values; use zero only if the source originally had no crop. Restore the earlier placement or bounds too if you changed them. A source filter's crop is a separate setting.

Keep one-scene crops separate from source filters

The Crop/Pad filter crops the source itself. Use it when that correction should follow the reused source. Scene-item cropping belongs to the camera's placement in a particular scene. If another scene must retain the full picture, start with its scene-item transform instead of changing a shared filter. If the camera is inside a reused scene, its inner crop is shared with that scene; use an outer scene-item crop when only one destination needs it.

An existing source-level crop can already have changed the picture's dimensions before you add another crop. Check it first if the numbers above don't produce the expected shape. Don't stack successive crops to compensate for a frame whose dimensions you haven't identified.

Check a browser camera's page rectangle

A remote camera arriving through a Browser Source has a page width and height as well as a scene transform. For a 16:9 video, a page such as 1280×720 matches that shape; 800×600 is 4:3. Changing the scene item's size doesn't correct a differently shaped web page inside it.

For VDO.Ninja, its black-border troubleshooting instructions recommend matching the Browser Source's aspect ratio and checking altered Custom CSS. Save any intentional styles before changing them. The default OBS body rule is:

body {
  background-color:
    rgba(0, 0, 0, 0);
  margin: 0px auto;
  overflow: hidden;
}

Use that check for unwanted page margins or background; don't erase styles required by a custom camera layout without a copy to restore. A browser-page border calls for a page or Browser Source adjustment, rather than a webcam-driver change.

Verify the saved frame and receiving app

Select Start Recording and record a short clip of the affected scene. Select Stop Recording, then choose File > Show Recordings and play the saved file. Compare the picture inside the video's actual frame with any space the player adds outside it. A landscape video can have surrounding space on a square window or an ultrawide monitor while the recorded picture itself is correct.

If the whole composition has the wrong shape, inspect Settings > Video: Base (Canvas) Resolution defines the working scene and Output (Scaled) Resolution defines the main scaled output. Check any separate recording Rescale Output setting too. Preserve the intended proportions, and recheck every affected scene after changing the canvas. Reducing resolution alone isn't a camera-border fix.

OBS Video settings showing Base Canvas Resolution and Output Scaled Resolution at 1920 by 1080
This example uses 1920×1080 for both sizes. Compare your canvas and output settings with the proportions you want in the saved file.

YouTube's aspect-ratio guidance says its player adapts to the video and advises against adding padding directly to the file. Don't bake bars into a correctly framed video just to make one fullscreen player look filled.

When the local clip is right but a video call looks cropped or padded, check the picture in the receiving app. The OBS Virtual Camera guide separates the selected OBS output from the app receiving it. Use the recording setup guide if you need to verify which scene and output you're saving.

Finish by checking the affected scene and any other scenes sharing the camera: no unwanted edge, no stretched face and enough room for normal movement. Remove the temporary background and restore the overlays, lock the finished placement, and check the saved result once more. Other source-specific fixes are in the OBS capture guides.