Workflow live production

From damionrashford/media-os · View interactive version

Workflow live production is an AI agent skill from the GitHub repository damionrashford/media-os. End-to-end live production — OBS as the mixer with obs-websocket control, MIDI/OSC cue triggers, DMX lighting sync, PTZ camera moves, system audio routing, NDI/SDI I/O, and multi-protocol egress via MediaMTX. Use when the user says "go live", "run a live show", "live stream", "wire up OBS", "scene s

How to use this skill

Skill file

Workflow — Live Production

What: Run a live show end-to-end. OBS is the mixer; MIDI controllers trigger scenes; DMX lighting and PTZ cameras follow scene changes; system audio is correctly routed; MediaMTX fans the output to HLS + RTSP + SRT + WebRTC + RTMP.

Who: Streamers, broadcasters, church/corporate AV, venue operators, esports shoutcasters.

Skills used

| Role | Skill |

|---|---|

| Scene authoring | obs-config |

| Remote control | obs-websocket (auto-discovers URL+password from local OBS) |

| In-OBS scripting | obs-scripting |

| Native plugin authoring | obs-plugins |

| Doc lookup guardrail | obs-docs |

| MIDI surface | media-midi |

| OSC surface | media-osc |

| Stage lighting | media-dmx (via OLA daemon) |

| PTZ cameras | ptz-visca, ptz-onvif |

| System audio | audio-coreaudio / audio-wasapi / audio-pipewire / audio-jack |

| Multi-protocol egress | mediamtx-server |

| WebRTC contribution | ffmpeg-whip |

| Capture | ffmpeg-capture |

| Hardware encode | ffmpeg-hwaccel |

| NDI ingest | ndi-tools |

| SDI ingest | decklink-tools |

Pipeline

Step 1 — Build the scene collection

Author the scene tree as JSON under the active OBS profile via the obs-config skill. Lock scene names early — downstream skills reference them by exact spelling (case-sensitive in the websocket protocol).

Step 2 — Route system audio BEFORE launching OBS

OBS caches audio devices at startup. Create virtual sinks first so OBS sees them as inputs.

Step 3 — Start OBS and verify obs-websocket

OBS 28+ bundles obs-websocket v5. Use the obs-websocket skill's wsctl.py check + ping — it auto-discovers the password from the local OBS config. For remote OBS, export OBS_WEBSOCKET_URL and OBS_WEBSOCKET_PASSWORD.

Step 4 — Wire MIDI / OSC triggers to scene switches

Use media-midi (midictl.py monitor --json) piped to obs-websocket (wsctl.py scene-switch). For TouchOSC / Reaper, use media-osc (oscctl.py listen --port 8000 --json) with the same fan-out pattern.

Step 5 — Lighting cue on scene change (DMX)

Subscribe to OBS's CurrentProgramSceneChanged event via wsctl.py events --subscribe scenes, then drive DMX through media-dmx (dmxctl.py send/fade --universe N --channel M).

Step 6 — PTZ preset recall on scene change

Same subscription stream. For VISCA cameras (UDP port 52381), use ptz-visca (viscactl.py preset-recall --host <ip> --preset N). For ONVIF, use ptz-onvif after discovery (onvifctl.py discover).

Step 7 — Multi-protocol egress via MediaMTX

Configure the mediamtx-server skill once: RTMP ingest from OBS, auto-republish to HLS (8888), RTSP (8554), SRT (8890), WebRTC/WHEP (8889). Optional runOnReady spawns an ffmpeg forwarder to YouTube/Twitch/Facebook.

Step 8 — WebRTC low-latency path (alternative to RTMP)

Skip OBS's RTMP output and go straight to WHIP via ffmpeg-whip — sub-second latency for contribution.

Variants

Gotchas

Example — MIDI note 36 triggers full-stack cue

On MIDI note 36: switch OBS to scene "Main", fade DMX channel 1 up to full, recall PTZ preset 3. Use media-midi monitor piped through jq to fan out three parallel actions (obs-websocket scene-switch, media-dmx fade, ptz-visca preset-recall). Core live-production value: one event → coordinated multi-device response.

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.