mira-studio

Generates vertical 9:16 HTML slide decks with embedded live webcam for OBS recording.

Updated Sep 2, 2026
One-click install
npx skills add https://github.com/mayconspirlandelli/slides-podcast-ia-home-office --skill mira-studio-mayconspirlandelli
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mira-studio
Source: https://github.com/mayconspirlandelli/slides-podcast-ia-home-office/tree/main/.agents/skills/mira-studio
Command: npx skills add https://github.com/mayconspirlandelli/slides-podcast-ia-home-office --skill mira-studio-mayconspirlandelli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Recording vertical videos (Reels, Shorts, TikTok, video lessons) where the presenter appears live inside the slides normally requires complex OBS scenes, chroma key setups, or post-production compositing. This Skill generates a ready-to-record 9:16 HTML deck where the webcam feed is embedded directly into each slide via getUserMedia, so OBS just captures the window. ## Core Features & Use Cases - Three per-slide layouts: camera (full webcam), split (square animation on top + camera below), and full (vertical animation only), chosen slide by slide in conversation. - Live camera without chroma key: the mira-camera.js module injects the webcam stream into .cam-area elements with a shared MediaStream, selfie mirroring (key C), and a green #00FF00 fallback when no camera is available. - Native recording without OBS: the mira-record.js module captures only the 9:16 column via Region/Element Capture, encodes H.264 MP4 in a Web Worker with CFR timing for Premiere-safe audio sync, and can write directly to disk for unlimited-length recordings. - Teleprompter excluded from video: a side panel (T) and central overlay (O) driven by an external roteiro.md script file stay out of the recording through Element Capture. - Use Case: A creator says "slide 1 camera only, slide 2 split about our sales funnel, slide 3 full animation" and receives a complete deck folder with index.html, roteiro.md, vendored libraries, and a Windows launcher, ready to record in OBS or natively with the R key. ## Quick Start Ask the assistant to create a mira-studio deck for OBS, listing your slides and the layout (camera, split, or full) for each one.

Frequently Asked Questions about mira-studio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I record vertical videos with my webcam inside the slides?▼

Generate a mira-studio deck where each slide declares a layout: camera for full webcam, split for animation on top plus camera below, or full for animation only. The webcam is embedded live via getUserMedia, so OBS just captures the browser window without chroma key.

Can I record the deck without installing OBS?▼

Yes, the mira-record.js module records natively in the browser using getDisplayMedia with Region or Element Capture, encoding H.264 MP4 in a Web Worker. Press R to start, choose the current tab, and the file downloads or saves directly to disk when you stop.

Does the teleprompter appear in the recorded video?▼

No, when using the native recorder with Element Capture (Chrome/Edge on localhost or HTTPS), the teleprompter overlay and panel stay outside the captured section subtree. In OBS the overlay cannot be excluded, so use only the side panel outside the recorded column.

What happens if no camera is available or permission is denied?▼

Each camera area falls back to a pure #00FF00 green background with a brief warning shown outside the area. You can then apply the Chroma Key filter in OBS as a plan B to composite your camera feed.

Why does my recorded video have audio drift in Premiere?▼

Variable frame rate capture causes drift when editors conform clips to a fixed grid. The recorder's CFR mode, enabled by default, aligns every frame to a 1/FPS grid before encoding, filling gaps with the previous frame so the MP4 enters Premiere without audio displacement.

What are the limitations of the native browser recorder?▼

Element Capture requires recent Chrome or Edge in a secure context. In-memory recording is capped near 512 MB (about 6 minutes at 12 Mbps), while direct-to-disk recording removes that limit but leaves an unindexed MP4 if the browser crashes mid-recording.