技能 编程开发 macOS命令行系统音频录屏工具

macOS命令行系统音频录屏工具

v20260620
macos-screen-recorder
这是一个专为macOS设计的命令行屏幕录制工具。它能够直接捕获主显示屏和系统音频,无需安装虚拟音频设备或使用sudo权限。它填补了传统工具在CLI环境下录制带有系统音频内容上的空白,非常适合进行自动化演示、脚本化录制或需要系统音的教程制作。
获取技能
393 次下载
概览

When to Use

Use when you need to script a screen recording WITH system sound on macOS from the CLI (demos, captures, voice-demo recording) — the case QuickTime and screencapture -v can't cover without a virtual audio device.

Source: connerkward/macos-screen-recorder-system-audio (MIT).

macos-screen-recorder (sck-record)

sck-record.swift → compiled sck-record (binary gitignored; built by setup-machine, or swiftc -O sck-record.swift -o sck-record). Records the main display + system audio via ScreenCaptureKit.

./sck-record <out.mp4> <seconds>

The one true differentiator: system audio from the CLI with zero install — no BlackHole / loopback virtual device, no sudo; only the standard Screen Recording permission (granted once to whatever app shells out). It is not a general "better than OBS/Screen Studio" tool — it fills exactly the headless-CLI-with-system-audio gap.

sck-record is the raw capture primitive — it records, nothing more. To polish a recording afterward (idle speed-up, auto-zoom, keystroke chips, smoothed cursor, vertical export), pair it with screenstudio-alternative-skill: record with sck-record --no-cursor <out.mp4> <seconds>, then run its post-production pass on the resulting mp4. (Auto-zoom and keystroke overlays additionally need an input-event log captured during recording, which that skill supplies; sck-record's pixels alone cover idle speed-up, cursor smoothing, and vertical export.)

Limitations

  • macOS only; it depends on ScreenCaptureKit and the user's Screen Recording permission.
  • The recorder captures raw display and system audio but does not provide editing, auto-zoom, captions, or social-format polish by itself.
  • Input-event overlays require a separate event log captured during recording; pixels alone cannot reconstruct keystrokes or precise click metadata.
信息
Category 编程开发
Name macos-screen-recorder
版本 v20260620
大小 2.85KB
更新时间 2026-06-21
语言