CreateSource
Generate and add a new media source to a specified scene in OBS, enabling automated setup for replay videos or custom streaming content without manual intervention.
Instructions
Creates a new source in a specified scene. 用途: リプレイ映像用の新しいメディアソースを生成
Input Schema
Name | Required | Description | Default |
---|---|---|---|
params | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"params": {
"additionalProperties": false,
"properties": {
"sceneName": {
"description": "Name of the scene to add the source to.",
"type": "string"
},
"setVisible": {
"description": "Whether the source should be visible after creation (default: true).",
"type": "boolean"
},
"sourceKind": {
"description": "Kind of the source (e.g., 'ffmpeg_source', 'image_source', 'text_gdiplus_v2').",
"type": "string"
},
"sourceName": {
"description": "Name for the new source.",
"type": "string"
},
"sourceSettings": {
"additionalProperties": false,
"properties": {},
"type": "object"
}
},
"required": [
"sceneName",
"sourceName",
"sourceKind",
"sourceSettings",
"setVisible"
],
"type": "object"
}
},
"required": [
"params"
],
"type": "object"
}