Projects

Head Recorder

macOS app that records your screen and webcam together as a single video, entirely on-device.

30 July 2026
VideomacOS

Head Recorder — macOS app that records your screen and webcam together as a single video, with the camera composited as a customizable bubble (circle or rectangle, resized, repositioned, and mirrored). Recording and processing happen entirely on-device.

Technical info:

  • Written in Swift, SwiftUI + AppKit (~13 source files)
  • Screen capture via ScreenCaptureKit (SCStreamAVAssetWriter); camera and mic captured independently via AVCaptureSession / AVCaptureMovieFileOutput
  • Live camera bubble rendered in a floating borderless NSWindow (CameraPreviewWindowController) with CAShapeLayer circle/rounded-rect masking, excluded from the screen capture stream itself so it never appears twice
  • Post-recording compositing via AVMutableComposition and a custom AVVideoCompositing (OverlayCompositor) — CoreImage radial-gradient-feathered circle mask or rounded-rect mask, affine-transform mirroring, and host-time-offset clock sync between the two source tracks
  • Shared OverlayGeometry math drives both the live preview window and the final render, so the preview is what you get
  • Zero third-party dependencies — built entirely with native Apple frameworks
  • Localized in English and Ukrainian via String Catalogs
  • Deployment target: macOS 13.0+
Head Recorder on Mac — screen and webcam recorded together