Record a window with a webcam in OBS: sources and scenes illustrated
Set up a lesson window and webcam without covering text, arrange source layers, understand Preview and Program, and review a short recording before your main tutorial.

After a successful first OBS recording, you can build a lesson that shows a work window with a webcam in a suitable corner, then switches between an introduction, demonstration, and ending. We will prepare a composition that you can actually review: a safe practice window, a camera that does not cover essential text, one audio input, and a saved test before the main recording.
This continues the beginner OBS guide and microphone improvement and noise reduction lesson. Option names were checked for the Windows interface of OBS Studio 32.2.2; other versions and operating systems may differ. The illustrations explain placement and the relationship between scenes and sources. They are not interface screenshots or actual recordings.
A scene combines sources; source order controls overlap
A Scene is a named composition. A Source is an element inside it: a window, webcam, image, or text. You do not need a separate scene for every element. Place the lesson window and camera in the same scene when they should appear together. Create another scene when its purpose or layout changes.
Within Sources, an item higher in the list appears in front of items below it. A full-canvas window placed above the webcam can hide the webcam even though the device works. Position, dimensions, and layer order are separate controls. Check all three instead of repeatedly adding a source when it disappears.
The Canvas is the composition area. Output Resolution describes the recorded result. We use a 16:9 example: 1920×1080 is a possible starting point if the computer can handle it, or 1280×720 for a lower processing load. Enlarging a small source or output does not recover details that were never present.
1. Prepare a safe window and a separate practice collection
Open a text window containing an invented practice sentence. Keep private accounts and documents out of the content. Close unnecessary sensitive windows and manage notifications. Check the webcam background: an item you overlook while speaking can be clearly visible in the recording. Do not record other people or their voices without their agreement.
Use Scene Collection to create a practice collection named something like Mira-Lesson, keeping the exercise separate from an existing arrangement. Review output and audio settings too: a scene collection is not a complete copy of every profile setting. If preserving an existing collection, export it to a known private location before editing. Review exported source information and paths before sharing that file.
We will use three clearly named scenes: Intro, Lesson, and End. You can begin with only Lesson and add the others once it works. This is local recording. Start Streaming and Start Recording are different actions; the exercise does not require a live broadcast.
2. Add only the lesson window
Select Lesson and add Window Capture using the Sources add button. Create a source with a descriptive name such as PracticeWindow, then select the actual practice window in its properties. Review its contents in the preview before closing the properties dialog.
Window Capture selects a window. Display Capture can include an entire display, other windows, and notifications. A narrower capture is useful, but still requires checking: some title-matching settings can select a replacement when the original window disappears. Understand any option that requires an exact title match and verify the source after closing and reopening the practice window.
Keep the target window available while testing. Minimizing some applications can stop visual updates or alter capture behavior. For a black frame, first check the intended window and Capture Method. Change one setting at a time. Deleting all sources or disabling computer protection is not the first troubleshooting step.
3. Add the webcam and position it deliberately
With Lesson still selected, add Video Capture Device and choose the intended webcam from Device. Do not select a capture card or unrelated device simply because it appears first. If camera access is requested, review the application and purpose, then grant only the permission you actually need.
Start with supported device resolution and frame-rate settings. Requesting an unsupported combination can give a blank image or unstable behavior. A meeting application may already be using the webcam; stop its use there and retry. Use the existing source’s properties to adjust it rather than creating another webcam connection on every attempt.
Place the webcam above the lesson window in Sources, reduce its frame, and move it away from important controls or text. A corner is not automatically safe: test against the actual content you will explain. The webcam should support the lesson rather than occupying most of the work area.
Resize with the corner handles while preserving a suitable image proportion. Transform options can reset or fit a source when necessary, after which you can refine the placement. Cropping removes visible parts of an image; it does not improve its resolution. Leave a small margin around important content instead of placing it against the output edge.
4. Review layers, then lock the positions
One possible order, from top to bottom, is an optional title or logo, webcam, lesson window, and optional background. This is a practical example rather than a mandatory layout. Understand why each item occupies its position and verify the resulting canvas.
The eye controls visibility in the scene. The lock prevents accidental movement on the preview canvas. Locking does not freeze the live contents of a window or turn its source into a static file. After placing the camera and window, lock their positions and check that an accidental drag does not disturb your composition.
For a still explanation image, prepare a clean practice capture using ShareX and add it as an Image source. Avoid screenshots containing account information. Make explanatory text readable when the video is viewed smaller, not merely on a large editing screen.
5. Reuse sources instead of opening duplicate devices
Create Intro with a simple title or image and End with a closing message. If multiple scenes need the same webcam, add the same source type and choose Add Existing rather than establishing another device connection. The choice may appear in the create/select-source dialog.
Reuse means sharing the source. Changing its device properties or filters can affect other scenes that use it. Its position and dimensions as a scene item can differ. Do not assume that every appearance owns an independent webcam and settings. Review dependent scenes after an important source change.
Use the same principle for audio. Keep the global microphone prepared in the earlier lesson, or use a scene-specific input according to your plan, without duplicating the device. Hiding the webcam does not mute a global microphone. Switching to an ending scene does not stop recording. Check audio mute and recording status separately.
6. Understand Preview and Program in Studio Mode
After preparing the scenes, you can enable Studio Mode. Preview is where you prepare the next composition; Program represents output. Transition moves the prepared composition to that output. Practice while not recording first and watch which side changes.
Do not assume that every Preview change is isolated from Program. Sources can be shared, and changing the source’s own properties may affect a scene already in output. For sensitive work such as selecting a different window or inspecting the camera background, stop recording and test instead of treating Studio Mode as an absolute privacy barrier.
Begin with a simple transition rather than distracting effects. If using scene or recording hotkeys, choose keys that do not conflict with the application being demonstrated and test them in a practice file. Do not depend on a shortcut if you cannot remember whether it toggles or stops recording.
7. Record 30 seconds and open the file before the main lesson
Review Recording Path and available space, then choose a suitable practice format such as MKV. It reduces the risk of losing the entire file if recording is interrupted, but still needs a clean stop and backups. Do not save into a publicly shared or synchronized location without reviewing its behavior.
Start recording, say the exercise name, and switch from Intro to Lesson. Move something in the practice window, point out important content, and check that the camera does not cover it. Switch to End and stop recording. A visible preview alone does not establish what the output file contains.
Open the recording outside OBS. Did it capture the intended window? Are edges and text readable? Does the camera hide a control? Did transitions occur as expected? Is the microphone audio clear and free from echo or duplication? Check pauses and word beginnings as in the audio lesson.
If you need MP4, use File → Remux Recordings as described in the OBS recording guide. Keep the original until you have opened and checked the result. Remuxing cannot repair a black frame or sound that was never captured. If recording is interrupted by excessive load, lower resolution or frame rate and review the settings with another short test.
Common window, webcam, and scene problems
The webcam works but cannot be seen
Check the eye, layer order, frame size, and position. It can be behind a larger window or outside the canvas. Then inspect Device and whether another program is using it. Those are separate possibilities; do not change all of them simultaneously.
The captured window is black or frozen
Verify the window title, capture method, and whether the application closed or stopped updating while minimized. Test a simpler practice window to distinguish an application issue from a source problem. Do not bypass capture protection on protected material; use content you may record.
A source adjustment changed another scene
Check whether you reused a shared source. Reuse avoids redundant connections but shares some properties and filters. Distinguish that from an item’s position within a scene. Stop recording before broad changes and review every scene using the source.
The saved result differs from the preview
In Studio Mode, check Program. Then review output resolution, selected audio track, and whether you opened the correct latest file. Do not infer the final result solely from Preview. Review after stopping the recording and keep a repeatable small test for future setting changes.
Turn the setup into a repeatable recording routine
Before recording, open the practice window, then review its capture, webcam, microphone, and storage destination. Run a short test when hardware or settings change. A consistent opening and closing sentence can make review easier. A simple, clear composition helps viewers follow the actual procedure.
Export the approved scene collection to private storage, but do not mistake that export for a complete copy of all external images and media. Keep those assets in an organized folder and review paths after moving to another computer. Return to the tutorial creation path to move between ShareX, OBS basics, audio, and scene composition.
Sources and illustration credits
Sources and interface names reviewed on 21/10/2026. All diagrams are original Mira4Tech illustrations, not OBS screenshots or actual camera recordings. The OBS logo identifies the product; it does not claim trademark ownership or endorsement by the OBS Project.
- The Quick Start Guide and Sources Guide for ordering and placement.
- Window Capture and Video Capture Device.
- Avoiding duplicate audio inputs and recording and remuxing.
- 32.2.2 interface names and shared-source Studio Mode tooltips.