playwright/browser_patches/ffmpeg
Andrey Lushnikov 13b1e52d95
devops: support --full flag for ffmpeg compilation (#11076)
- This flag installs dependencies using brew on MacOS
- This flag is a noop on other platforms
2021-12-22 14:59:10 -08:00
..
ffmpeg-license devops: bundle ffmpeg license file with our archives (#5301) 2021-02-03 19:36:10 -08:00
.gitignore
archive.sh
build-linux.sh
build-mac.sh devops: support --full flag for ffmpeg compilation (#11076) 2021-12-22 14:59:10 -08:00
build.sh devops: support --full flag for ffmpeg compilation (#11076) 2021-12-22 14:59:10 -08:00
BUILD_NUMBER
clean.sh
CONFIG.sh
crosscompile-from-linux.sh
EXPECTED_BUILDS
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