obs_create_input
Add a new source to an OBS scene by specifying its type, such as camera, media, browser, or audio. Configure input settings to capture video, audio, or custom content directly into the scene.
Instructions
Create a new source in a scene. Common kinds: 'dshow_input' (USB webcam/capture card), 'ffmpeg_source' (SRT/RTMP/RTSP network feed or video file), 'browser_source', 'wasapi_input_capture' (microphone), 'wasapi_output_capture' (desktop audio), 'text_gdiplus_v3', 'color_source_v3', 'image_source', 'ndi_source' (needs the NDI plugin).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputKind | Yes | ||
| inputName | Yes | ||
| sceneName | Yes | ||
| inputSettings | No |