playwright/browser_patches/ffmpeg
Andrey Lushnikov 8dc740570a
devops: refactor check_cdn.sh script (#5835)
Introduce `EXPECTED_BUILDS` list in each application folder and use
these lists when determining if all builds are ready.
2021-03-16 01:14:45 -07:00
..
ffmpeg-license devops: bundle ffmpeg license file with our archives (#5301) 2021-02-03 19:36:10 -08:00
.gitignore devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
archive.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
BUILD_NUMBER devops: bundle ffmpeg license file with our archives (#5301) 2021-02-03 19:36:10 -08:00
build-linux.sh devops(ffmpeg): compile zlib dependency that is needed for ffmpeg (#3940) 2020-09-21 14:54:22 -07:00
build-mac.sh devops(ffmpeg): compile zlib dependency that is needed for ffmpeg (#3940) 2020-09-21 14:54:22 -07:00
build.sh devops: bundle ffmpeg license file with our archives (#5301) 2021-02-03 19:36:10 -08:00
clean.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
CONFIG.sh devops(ffmpeg): compile zlib dependency that is needed for ffmpeg (#3940) 2020-09-21 14:54:22 -07:00
crosscompile-from-linux-to-win.sh devops(ffmpeg): compile zlib dependency that is needed for ffmpeg (#3940) 2020-09-21 14:54:22 -07:00
EXPECTED_BUILDS devops: refactor check_cdn.sh script (#5835) 2021-03-16 01:14:45 -07:00
README.md devops: build ffmpeg for linux (#3880) 2020-09-14 15:12:35 -07:00

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-win32
~/playwright$ ./browser_patches/ffmpeg/build.sh --cross-compile-win64