Sub topic 2
Scenes and sources: the building blocks of OBS
This chapter assumes you have OBS Studio installed and have opened it at least once. It also assumes you know what resolution and frame rate mean. Later chapters cover the canvas size, capture methods, and audio in detail. Here the focus is how OBS organizes what it records.
The two core ideas
OBS has two objects that everything else is built from.
- A source is one input: a display capture, a window capture, a webcam, an image, a piece of text, or a microphone.
- A scene is a saved arrangement of sources. It records which sources appear, where they sit, how big they are, and in what stacking order.
Think of a scene as a layout and a source as the content that fills it. When you record, OBS renders the currently active scene to the canvas and writes that image to the file. Only one scene is active at a time. Switching scenes changes the layout.
The OBS panel names are easy to confuse. The Scenes panel lists your scenes. The Sources panel lists what is inside the currently selected scene. The Audio Mixer lists the audio sources that are active in the current scene, plus any global audio devices.
Scene items: the link between a scene and a source
A source added to a scene does not live inside the scene. The scene holds a scene item, which points at the source and stores the per-scene settings:
- position and size on the canvas
- crop and rotation
- visibility, shown by the eye icon
- lock state, shown by the padlock icon
- stacking order
The source itself holds the settings that define its content. For a display capture, that means which monitor to capture and whether to show the cursor. For a text source, it means the text and font.
This split explains behavior that surprises many learners. If one source appears in two scenes, you have one source and two scene items. Changing the source's properties, such as the monitor or the text, changes it in both scenes. Moving or resizing the item in one scene does not affect the other scene.
Source types you will use for lessons
The Add Source menu (the plus button under the Sources panel) lists the types available on your platform. For screencast lessons these matter most.
| Source type | Use in a lesson |
|---|---|
| Display Capture | Records an entire monitor. |
| Window Capture | Records one application window. |
| Video Capture Device | Shows a webcam or capture card. |
| Image | Shows a logo, a frame, or a background. |
| Text | Shows a title or a lesson number. The type is named Text (GDI+) on Windows and Text (FreeType 2) on macOS and Linux. |
| Color Source | Fills an area with a flat color, useful as a background or a lower-third panel. |
| Media Source | Plays a short intro or outro clip from a file. |
| Audio Input Capture | Records a microphone. |
| Audio Output Capture | Records the sound your computer plays. |
Available names vary by operating system. On Linux you may see Screen Capture (PipeWire) or Screen Capture (XSHM), and on macOS you may see macOS Screen Capture. The next chapters on capture and audio cover which one to choose.
Building a first scene
Follow these steps to build a simple lesson scene.
- In the Scenes panel, click the plus button. Name the scene
Screen Only. - In the Sources panel, click the plus button and choose Display Capture. Name it
Main Display, then confirm. - Choose the monitor you teach on. If you see a black rectangle, skip ahead to the troubleshooting chapter.
- If the capture does not fill the canvas, right-click the item and choose Transform > Fit to Screen. The shortcut is Ctrl+F on Windows and Linux, and Cmd+F on macOS.
- Add an Audio Input Capture source for your microphone and name it
Mic.
The red bounding box around a selected item has handles. Drag a handle to resize. Hold Alt (Option on macOS) while dragging a handle to crop instead of resize. For exact numbers, right-click the item and choose Transform > Edit Transform, where you can type the position, size, and crop values. Typed values are repeatable, which is why they work better than dragging when you want the same layout across many lessons.
Stacking order and the Sources panel
OBS draws items from the bottom of the Sources list to the top. An item higher in the list appears in front of items below it. If your webcam disappears after you add a full-screen display capture, check the order. The display capture is probably above the webcam. Drag the webcam above it in the list.
Visibility is separate from order. Clicking the eye hides an item without deleting it, so you can keep a webcam prepared and toggle it for different lessons.
Reusing sources: reference or duplicate
When you want the same content in a second scene, you have two options, and the choice matters.
- Add Existing, available from the Add Source menu, creates a new scene item that points to the same source. Changes to the source apply everywhere.
- Copy and Paste (Duplicate) creates an independent source with its own copy of the settings. Changes in one place do not affect the other.
Use a reference for things that should always match, such as your webcam device or your microphone. Use a duplicate for things that should differ, such as a text source where each scene needs a different caption.
A shared audio source also appears once in the mixer. Muting Mic mutes it in every scene that uses it. This is usually what you want for a lesson.
Removing an item from a scene does not always delete the source. If other scenes still reference it, the source stays. Once the last reference is removed, OBS deletes the source and its settings. Rename sources to describe their role, such as Mic, Main Display, or Webcam, so you can tell at a glance which one you are adding.
Groups and nested scenes
Two features help once your layouts get complicated.
A group bundles several items so that you can move, scale, or hide them together. Select several items, right-click, and choose Group Selected Items. A webcam with a border image and a name label works well as a group. You can move the whole group as one unit.
A scene can also be used as a source inside another scene. This is called a nested scene. If you build a Webcam Frame scene with the camera, border, and label, you can add that scene to many lesson scenes. When you adjust the frame once, every scene that uses it updates. Nested scenes can slow down OBS if you stack many of them. For a typical screencast, a few levels are fine.
A scene plan for lessons
For most screencast lessons, three to five scenes are enough. A small set is also easier to switch between with hotkeys.
Title: a background, the lesson title text, and your microphone.Screen Only: the display or window capture at full size.Screen + Webcam: the same capture with a smaller webcam in a corner.Webcam Full: for introductions and conclusions, if you use video of yourself.Break: a color source with a short message, used to pause without leaving a confusing frame.
Keep the same source references and the same positions across scenes where you can. Learners notice when a webcam jumps between corners, so use Edit Transform values to keep them identical.
Where this data is stored
OBS saves scenes and sources inside a scene collection, a JSON file stored in your OBS configuration folder. Video and output settings are stored separately in a profile. Back up the scene collection file, or use Scene Collection > Export, before you reorganize a layout you have spent time on. A later chapter covers how to use profiles and collections to keep different setups for different courses.
Common mistakes
- Editing the wrong scene. Check the highlighted scene in the Scenes panel before you move items. Changes to a source's properties affect every scene that references it, but changes to position affect only the current one.
- Forgetting that scene switching during a recording changes the recorded output immediately. Test your hotkeys before you start.
- Capturing the wrong thing. A Display Capture records everything on the monitor, including notifications. A Window Capture records only one window. The next chapter covers which to use.
- Assuming a hidden item is silent. The eye icon hides only video. A hidden Media Source can still play sound unless the audio is muted or set up to stop when the item is not shown.
- Using vague names like
Display Capture 2. Six weeks later, you will not remember which monitor it was.
Exercise
You have a Mic audio source and a Main Display source used in two scenes, Screen Only and Screen + Webcam. In Screen + Webcam, you resize the display capture to make room for the webcam. What happens to the Screen Only scene, and what happens if you change the monitor in the display capture's properties?
Show answer
Resizing changes only the scene item in Screen + Webcam, because position and size are stored per scene item. Screen Only keeps its size. Changing the monitor in the source's properties affects both scenes, because both scene items point to the same source.
Exercise
You want a lesson number text label that reads "Lesson 1" in one scene and "Lesson 2" in another, while sharing the same font and style as much as possible. Should you use Add Existing or Copy and Paste (Duplicate), and why?
Show answer
Use Copy and Paste (Duplicate). A reference would share the text, so editing it in one scene would change the other. A duplicate creates an independent source that starts with the same font and style, and you can then edit the text separately.