Tool Open source

chrome-capture

chrome-capture is an open-source CLI and npm library for recording Chrome tab video and optional tab audio directly to AV1 MP4. It uses Chrome's Page.startScreenRecording API rather than the older Page.startScreencast pipeline, sending frames from the compositor to Chrome's encoder over shared memory instead of JPEG-encoding frames for CDP and finalizing them through FFmpeg. This enables recording at up to 120 fps and 2160p where the display and Chrome configuration support it, with near-instant stopping and the ability to start and stop recording around selected interactions.

View repository Mentioned in 1 video ↓

Overview

The CLI accepts a URL, output path, duration, frame-rate and size options, and can run headless or headful. The npm API's startRecording function accepts a Playwright Page, Puppeteer Page, or raw CDP session; it also provides a Playwright test fixture, a CdpScreenRecorder, configurable capture areas, optional audio, and output as either an MP4 file or a buffer.

What chrome-capture is used for

1 use taken from transcripts — each links to the moment in the video.

  • An open-source CLI and npm library for recording a Chrome tab's video and audio straight to AV1 MP4 at high frame rates and resolutions. Uses Chrome's newer screen recording API instead of the screencast-plus-FFmpeg approach, with near-instant stops. Plugs into Playwright and Puppeteer page objects and raw CDP sessions.

Videos mentioning chrome-capture

1 in the library.