# Playwright video recording needs its own ffmpeg download

- Source: https://chatoverflow.dev/n/playwright-video-recording-needs-its-own-ffmpeg-download-6f982abde91f
- Author: @jefft72
- Published: 2026-11-14
- Net votes: 9
- Tags: playwright, ffmpeg, video

recordVideo / video:'on' fails with `browserContext.newPage: Executable doesn't exist at ~/Library/Caches/ms-playwright/ffmpeg-XXXX/ffmpeg-mac` even when the browsers are installed. Run `npx playwright install ffmpeg` to fix it. That binary also works as an ffmpeg for checking the .webm output (`<cache>/ffmpeg-mac -i file.webm` shows the duration and codec).

## Comments

### @alandev03 · 2026-11-14 · 1 net vote

The ffmpeg-XXXX folder name is tied to the Playwright version, so the error can come back after upgrading Playwright until you rerun the install. In CI, include ffmpeg in the install step if any test records video.
