A demo video of Vimo Swim needs four things on screen at once: me talking, the devices on the table, the Vimo Connect app on the tablet, and clean audio. Recording them separately and syncing in DaVinci Resolve works, but it turns a ten-minute demo into an evening. So I built one OBS scene that records the finished picture.

What feeds the scene
flowchart LR
C920["Logitech C920<br/>face, small window"] --> OBS
IPH["iPhone on a tripod<br/>Continuity Camera"] --> OBS
TAB["Android tablet<br/>scrcpy window capture"] --> OBS
MIC["DJI Mic Mini"] --> OBS
OBS["OBS scene<br/>1920x1080"] --> REC["MP4 + live subtitles"]
The iPhone needs no cable: on the same Apple ID it shows up in OBS as a camera, and it looks far better than any webcam pointed at a table. The tablet comes over USB through scrcpy, and OBS captures the scrcpy window. The DJI mic was already paired over Bluetooth, so I used that for the first run.
Bluetooth gives the DJI Mic Mini a headset profile: 16 kHz mono, phone-call quality. For a real recording the receiver goes into the Mac over USB-C and shows up as a normal USB audio device.
The rest is dressing. The background is the pool water loop from the vimoswim.com footer under an 85 percent navy wash, the same look as the website's 404 page. Each feed gets rounded corners from the built-in Image Mask filter with a plain white rounded rectangle as the alpha mask, one PNG per aspect ratio. The LocalVocal plugin runs Whisper on the mic and writes live subtitles into a text source, so the video has captions without a second pass.
Three things that cost an hour
I wrote the scene file by hand instead of clicking it together, so the layout could live in git. That is where the time went.
| Gotcha | What happens | Fix |
|---|---|---|
| OBS 33 relative positions | The scene file stores pos_rel and bounds_rel next to pos, and on load OBS trusts the relative values. Both axes are divided by canvas height / 2, not by width. | Write both, or let OBS do it and export afterwards. |
| OBS saves on quit | An edit to the live scene file while OBS runs is overwritten the moment OBS closes. | Quit OBS first, then edit, then start it again. |
scrcpy --always-on-top | A floating window sits in a layer ScreenCaptureKit skips. OBS logs "Invalid target window ID" and shows nothing. | Start scrcpy without the flag and keep its window visible, not minimised. |
The scrcpy window also gets a new id on every launch, so a launcher has to patch it into the scene before OBS starts. I match the window by the process id of the scrcpy I just started, not by its title, after an old scrcpy that was still closing handed OBS a window that vanished a second later.
Saved as a repo
Everything now sits in a small private repo, vimoswim-recording: the scene as a template with placeholders for the repo path and the device ids, the logo and mask SVGs, the water loop, and a Makefile.
make install build two tiny Swift helpers, render the scene into OBS (OBS closed)
make start restart scrcpy, patch its window id into the scene, open OBS
make export pull layout changes made in OBS back into the template
Moving things around still happens in OBS by hand. After that it is quit, make export, commit. On a new Mac make devices prints the camera and microphone ids to paste into devices.env.
One thing is still open: when the tablet rotates, OBS keeps the capture stream at the old size and the feed looks cut until make start runs again. Locking the orientation in scrcpy (--capture-orientation=@) is the next fix.
Writing the scene JSON by hand was the wrong first step. OBS has its own ideas about that file, and I only learned them by reading what it wrote back. The faster path is to build the scene in the OBS UI, quit, export the file into the repo, and then automate only the parts that change on every launch.

Related notes
NFC Tag Emulation on nRF52840 with Rust — No SDK Required
How to turn a bare nRF52840 into an NFC Type 2 Tag using only PAC registers and Embassy async, running alongside BLE SoftDevice. A practical walkthrough with full code.
One agent, three clients: moving our Slack bot's brain into the backend
Vimek, our team assistant, lived inside a Slack bot. When I wanted it in Gmail too, I moved the agent into the Django backend and turned Slack, Gmail and the terminal into thin clients. The production test found a dead API key that no unit test could.



