uloop-record-video
Installation
SKILL.md
Task
Record the Unity Game View while Play Mode is running, or any Editor window with --window-name, then hand the file path to the user or inspect frames from it.
Workflow
- For a Game View recording, ensure Play Mode is running (
uloop control-play-mode --action Play) and the Game View is open;startfails in Edit Mode. With--window-namethe recording targets that Editor window instead and needs no Play Mode. uloop record-video --action start [options]. It returns immediately; encoding continues inside the Editor.- Drive the scene with other uloop commands (
simulate-keyboard,simulate-mouse-input,replay-input, ...). Do not runuloop compileor exit Play Mode mid-recording: both auto-stop and finalize the file. uloop record-video --action stop. The file is playable only after this call (or after an auto-stop).- Read
OutputPathfrom the JSON and use exactly that path. The output directory holds earlier recordings too (the newest 20 per extension are kept), sols -tcan pick a stale file. - To inspect the content yourself, extract stills with ffmpeg (e.g.
ffmpeg -i "<OutputPath>" -vf fps=1 frames_%03d.png) and view the PNGs. Otherwise report the path and duration to the user.