playwright/browser_patches/ffmpeg
Andrey Lushnikov c1c44055f8
devops: move everyone to use xcode 13.2 (#12788)
2022-03-15 10:44:53 -07:00
..
ffmpeg-license
.gitignore
BUILD_NUMBER devops: support ffmpeg MacOS arm64 builds (#11075) 2021-12-22 14:43:13 -08:00
CONFIG.sh
EXPECTED_BUILDS devops: support ffmpeg MacOS arm64 builds (#11075) 2021-12-22 14:43:13 -08:00
README.md devops: drop infra for building 32-bit windows browsers (#9834) 2021-10-27 17:20:23 -07:00
archive.sh
build-linux.sh devops: fix chromium checkout (#10288) 2021-11-12 10:23:22 -08:00
build-mac.sh devops: move everyone to use xcode 13.2 (#12788) 2022-03-15 10:44:53 -07:00
build.sh devops: support --full flag for ffmpeg compilation (#11076) 2021-12-22 14:59:10 -08:00
clean.sh
crosscompile-from-linux.sh devops: fix chromium checkout (#10288) 2021-11-12 10:23:22 -08:00

README.md

Playwright and FFMPEG

Playwright requires FFMPEG to produce screncast and bundles FFMPEG binaries for Mac , Linux and Windows.

Configuration

We compile libvpx and ffmpeg only. Their source versions and build configurations are defined in //browser_patches/ffmpeg/CONFIG.sh.

Building ffmpeg-linux

Compilation scripts are based on:

Prerequisites:

  • Mac or Linux
  • Docker

Building:

~/playwright$ ./browser_patches/ffmpeg/build.sh --linux

Building ffmpeg-mac

Compilation scripts are based on:

Prerequisites:

  • Mac
  • xcode command line tools: xcode-select --install
  • homebrew

Building:

~/playwright$ ./browser_patches/ffmpeg/build.sh --mac

Building ffmpeg-win*

Cross-compilation scripts are based on:

Prerequisites:

Building:

~/playwright$ ./browser_patches/ffmpeg/build.sh --cross-compile-win64